• Aucun résultat trouvé

Procedure TEST_TABLE Code_Aster

N/A
N/A
Protected

Academic year: 2022

Partager "Procedure TEST_TABLE Code_Aster"

Copied!
4
0
0

Texte intégral

(1)

Code_Aster Version default

Titre : Procédure TEST_TABLE Date : 12/11/2012 Page : 1/4

Responsable : COURTOIS Mathieu Clé : U4.92.03 Révision :

f370bf309268

Procedure TEST_TABLE

1 Goal

To test a “cell” (or a whole column) of a concept of the type table.

Print OK if the value found in the cell is identical to the value bench-mark datum, NOOK if not.

This order is used primarily by the cases tests to validate the not-regression of the results.

Warning : The translation process used on this website is a "Machine Translation". It may be imprecise and inaccurate in whole or in part and is provided as a convenience.

Copyright 2021 EDF R&D - Licensed under the terms of the GNU FDL (http://www.gnu.org/copyleft/fdl.html)

(2)

Code_Aster Version default

Titre : Procédure TEST_TABLE Date : 12/11/2012 Page : 2/4

Responsable : COURTOIS Mathieu Clé : U4.92.03 Révision :

f370bf309268

2 Syntax

TEST_TABLE (

♦ TABLE = matable, [table]

# 1. Selection of the column to be tested:

♦ NOM_PARA = para, [KN]

/ # 1.1 Selection of the line containing the cell to be tested:

♦ FILTER = (_F ( ♦ NOM_PARA = para , [KN]

/ ◊ CRIT_COMP = /‘EQ’ , [defect]

/‘’ , /‘LT’ , /‘WP’ , /‘IT’ , /‘GE’ ,

♦ / VALE_I = ival , [I]

/ VALE_K = kval , [KN]

/ / VALE = rval , [R]

/ VALE_C = cval , [C]

◊ | PRECISION = / prec, [R8]

/ 1.0E-3 , [DEFECT]

| CRITERION = / ‘RELATIVE’ , [DEFECT]

/ ‘ABSOLUTE’ , / ♦ CRIT_COMP = /‘MAXIMUM’,

/‘MAXI_ABS’, /‘MINI’, /‘MINI_ABS’, /‘VACUUM’, /‘NON_VIDE’, ),),

/ # 1.2 to test the whole of a column:

♦ TYPE_TEST = / ‘SOMM_ABS’, / ‘SOMM’, / ‘MAX’, / ‘MIN’,

# 2. Definition of the value of reference:

# to see TEST_RESU [u4.92.01]

◊ INFORMATION = / 1, [DEFECT]

/ 2, )

Warning : The translation process used on this website is a "Machine Translation". It may be imprecise and inaccurate in whole or in part and is provided as a convenience.

Copyright 2021 EDF R&D - Licensed under the terms of the GNU FDL (http://www.gnu.org/copyleft/fdl.html)

(3)

Code_Aster Version default

Titre : Procédure TEST_TABLE Date : 12/11/2012 Page : 3/4

Responsable : COURTOIS Mathieu Clé : U4.92.03 Révision :

f370bf309268

3 Operands

3.1 Operand TABLE

One gives the name of the table which one wants to test.

3.2 Operand NOM_PARA

One gives the name of the parameter identifying the column to be tested.

3.3 To test a cell; keyword FILTER

This keyword factor (répétable at will) is used to select the line containing the cell to be tested. The use of this keyword is described in the order IMPR_TABLE [U4.91.03]. The only difference compared to IMPR_TABLE is that comparison criterions (CRIT_COMP) of inequality are not available.

Note:

It is often necessary to repeat this keyword to select a single line, this is why the order TEST_TABLE allows to test only one value at the same time. If one wants to test 3 values in a table, 3 times should be called the order.

3.4 To test a whole column

/ TYPE_TEST = ‘SOMM_ABS’

The sum of the absolute values of all the column of the table.

/ TYPE_TEST = ‘SOMM’

The sum of the values of all the column of the table.

/ TYPE_TEST = ‘MAX’

The maximum of the values of all the column of the table.

/ TYPE_TEST = ‘MIN’

Minimum of the values of all the column of the table.

3.5 Keywords common to the orders TEST_XXX

The definition of the values of nonregression and reference, as well as acceptable tolerances, the comparison criterion is detailed in the documentation [u4.92.01] of the order TEST_RESU.

3.6 Operand INFORMATION

◊ INFORMATION = inf

Print additional information in the file “message” if inf=2. Do not print anything if inf=1.

4 Example

To test the table maxFchoc :

TEST_TABLE ( TABLE = maxFchoc , NOM_PARA = ‘MAXIMUM’,

FILTER = ( _F (NOM_PARA = ‘FUNCTION’, VALE_K = ‘effochoc’), _F (NOM_PARA = ‘INST’ , VALE = 3.76E-1),) REFERENCE = ‘ANALYTICAL’,

VALE_CALC = – 6,298299978E2

Warning : The translation process used on this website is a "Machine Translation". It may be imprecise and inaccurate in whole or in part and is provided as a convenience.

Copyright 2021 EDF R&D - Licensed under the terms of the GNU FDL (http://www.gnu.org/copyleft/fdl.html)

(4)

Code_Aster Version default

Titre : Procédure TEST_TABLE Date : 12/11/2012 Page : 4/4

Responsable : COURTOIS Mathieu Clé : U4.92.03 Révision :

f370bf309268 VALE_REFE = -6.2983E2,)

Warning : The translation process used on this website is a "Machine Translation". It may be imprecise and inaccurate in whole or in part and is provided as a convenience.

Copyright 2021 EDF R&D - Licensed under the terms of the GNU FDL (http://www.gnu.org/copyleft/fdl.html)

Références

Documents relatifs

Comme le suggère Laurent Siproudhis d ’ emblée dans le titre de son dernier éditorial pour la revue Colon & Rectum (vous noterez en passant la grande souplesse d ’ esprit de

When forming their value proposition, which is needed for acquiring new customers, the company may focus one of the three main assets that are needed to run process instances:

It differs from the Control Experiment in that each game is followed by a second stage that allows targeted interactions (in this treatment, peer punishment opportunities) at

28 En aquest sentit, quant a Eduard Vallory, a través de l’anàlisi del cas, es pot considerar que ha dut a terme les funcions de boundary spanner, que segons Ball (2016:7) són:

La transición a la democracia que se intentó llevar en Egipto quedó frustrada en el momento que el brazo militar no quiso despojarse de sus privilegios para entregarlos al

L’objectiu principal és introduir l’art i el procés de creació artística de forma permanent dins l’escola, mitjançant la construcció d’un estudi artístic

también disfruto cuando una parte de la clase opina algo mientras la otra opina lo contrario y debatimos mientras llegamos a una conclusión acerca del poema.”; “he

Zelda se dedicó realmente a realizar todas estas actividades, por tanto, mientras que en la novela que ella misma escribió vemos el deseo de Alabama de dedicarse y triunfar, por