background image
Code_Aster
®
Version
8.2
Titrate:
Procedure
TEST_TABLE
Date:
22/02/06
Author (S):
COURTEOUS Mr., J. PELLET
Key
:
U4.92.03-E1
Page:
1/4
Instruction manual
U4.9- booklet: Impression/Test HT-62/06/004/A
Organization (S):
EDF-R & D/AMA














Instruction manual
U4.9- booklet: Impression/Test
Document: U4.92.03



Procedure
TEST_TABLE








1 Goal
To test a “airframe” (or a whole column) of a concept of the type
count
.
Print
OK
if the value found in the airframe is identical to the value bench-mark datum,
NOOK
if not.
This control is used primarily by the cases tests to validate the not-regression of
results.
background image
Code_Aster
®
Version
8.2
Titrate:
Procedure
TEST_TABLE
Date:
22/02/06
Author (S):
COURTEOUS Mr., J. PELLET
Key
:
U4.92.03-E1
Page:
2/4
Instruction manual
U4.9- booklet: Impression/Test HT-62/06/004/A
2 Syntax
TEST_TABLE
(
COUNT
=
matable,
[tabl_ *]
UNIT
=
/
links,
[I]
/
8,
SENSIBILITE= (
… to see [U4.50.02]),
% 1. Selection of the column to be tested:
NOM_PARA
=
para,
[KN]
/% 1.1 Selection of the line containing the airframe 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.0D-3
,
[DEFECT]
|
CRITERION =
/“RELATIVE”, [DEFECT]
/
“ABSOLUTE”
,
/
CRIT_COMP
=/“MAXIMUM”,
/“ABS_MAXI”
,
/“MINI”
,
/“ABS_MINI”
,
/“VACUUM”
,
/“NON_VIDE”
,
),),
/% 1.2 to test the whole of a column:
TYPE_TEST =/“SOMM_ABS”,
/
“SOMM”
,
/
“MAX”
,
/
“MIN”
,
% 2. Value of reference:
/
VALE_I
=
ival
,
[I]
/
/
VALE =
rval
,
[R]
/
VALE_C
=
cval
,
[C]
VALE_ABS =/“YES”,
/
“NOT”,
[DEFECT]
|
PRECISION
=
/
prec
,
[R]
/
1.0D-3,
[DEFECT]
|
CRITERION
=
/
“RELATIVE”
,
[DEFECT]
/
“ABSOLUTE”
,
REFERENCE =/“ANALYTICAL”,
/
“NON_REGRESSION”
,
VERSION
=
towards,
[KN]
/
“SOURCE_EXTERNE”
,
/
“AUTRE_ASTER”
,
INFORMATION
=
/
1
,
[DEFECT]
/
2
,
)
background image
Code_Aster
®
Version
8.2
Titrate:
Procedure
TEST_TABLE
Date:
22/02/06
Author (S):
COURTEOUS Mr., J. PELLET
Key
:
U4.92.03-E1
Page:
3/4
Instruction manual
U4.9- booklet: Impression/Test HT-62/06/004/A
3 Operands
3.1 Operand
COUNT
One gives the name of the table which one wants to test.
3.2 Operand
UNIT
UNIT =
/links,
/
8,
Number of the logical unit on which the result of test (OK or NOOK) will be written, except case
private individuals links = 8.
3.3 Operand
SENSITIVITY
SENSITIVITY = par_sensi
Name of the significant parameter associated the value which one wants to test (see [U4.50.02]).
3.4 Operand
NOM_PARA
One gives the name of the parameter identifying the column to be tested.
3.5
To test an airframe; key word FILTERS
This key word factor (répétable at will) is used to select the line containing the airframe to be tested.
The use of this key word is described in the control
IMPR_TABLE
[U4.91.03]. The only difference by
report/ratio with IMPR_TABLE is that the comparison criterions (CRIT_COMP) of inequality are not
available.
Note:
It is often necessary to repeat this key word to select a single line, this is why
the control
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 control.
3.6
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.7
Definition of the value of reference
3.7.1 Operands
VALE
/
VALE_I
/
VALE_C
According to the type of the airframe to be tested (real, whole or complex) one will indicate behind the key words
VALE
,
VALE_I
or
VALE_C
the value of reference which must be found in the selected airframe.
If VALE_ABS=' OUI', one tests the absolute value.
background image
Code_Aster
®
Version
8.2
Titrate:
Procedure
TEST_TABLE
Date:
22/02/06
Author (S):
COURTEOUS Mr., J. PELLET
Key
:
U4.92.03-E1
Page:
4/4
Instruction manual
U4.9- booklet: Impression/Test HT-62/06/004/A
3.7.2 Operands
CRITERION/PRECISION
These 2 key words make it possible to indicate the tolerance which one accepts for the value tested when it is
of type real or complex.
Examples:
VALE= 3.3, “RELATIVE” CRITERE=, PRECISION = 1.D-5,
It will be checked that the value found in the airframe tested is worth
3.3
with
1.D-5
near in relative error.
VALE= 3.3, “ABSOLUTE” CRITERE=, PRECISION = 2.D-3,
It will be checked that the value found in the airframe tested is worth
3.3
with
2.D-3
near in absolute error.
3.7.3 Operand
REFERENCE
REFERENCE =
/“ANALYTICAL”
:
the provided value of reference is “analytical”
/“NON_REGRESSION”
:
VERSION = towards
the provided value of reference was obtained at the time of a precedent
calculation by Code_Aster
worms is the number of the version of Aster which made it possible to obtain
value of reference
/
'
SOURCE_EXTERNE
':
the provided value of reference comes from a different program
that Aster (or of a bibliographical reference)
/
'
AUTRE_ASTER
'
:
the provided value of reference is that obtained by another
“path” Aster (another control, option of calculation,…)

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

4 Examples

1) 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
=
­ 6,2983E2
,)
2) To test the value of derived from the table G compared to the significant parameter YOUNG:
TEST_TABLE
(TABLE =
G
, SENSIBILITE= YOUNG,
NOM_PARA = “G”, VALE = 1.76E+1),)