Code_Aster
®
Version
7.4
Titrate:
Procedure
IMPR_CO
Date:
03/01/05
Author (S):
J.P. LEFEBVRE, J. PELLET
Key
:
U4.91.11-H
Page
:
1/4
Instruction manual
U4.9- booklet: Impression of the results and tests
HT-66/05/004/A
Organization (S):
EDF-R & D/AMA
Instruction manual
U4.9- booklet: Impression of the results and tests
Document: U4.91.11
Procedure
IMPR_CO
1 Goal
To print all the objects JEVEUX which constitute an existing concept.
This control is intended above all for the “debugage”. Contents of objects JEVEUX that one
print comprehensible in theory only by developers is not fitted with their documentation D.
In particular, the format of these objects can change without co-operation with the users. It is thus
very be likely to use these writings in “postprocessings” or “chainings” towards other codes.
Code_Aster
®
Version
7.4
Titrate:
Procedure
IMPR_CO
Date:
03/01/05
Author (S):
J.P. LEFEBVRE, J. PELLET
Key
:
U4.91.11-H
Page
:
2/4
Instruction manual
U4.9- booklet: Impression of the results and tests
HT-66/05/004/A
2 Syntax
IMPR_CO
(
/
CO
= concept,
[l_nom_concept]
/
CHANNELS =
chain,
[K24]
POSITION
=
/
ipos, [I]
/
1, [DEFECT]
ATTRIBUTE
=
/
“NOT”
,
[DEFECT]
/
“YES”
,
CONTENTS
=
/
“YES”
,
[DEFECT]
/
“NOT”
,
BASE
=
/
“G”
,
[DEFECT]
/
base,
[K1]
LEVEL
=
/
2
,
[DEFECT]
/
1,
/
0,
FILE
=
/
“RESULT”, [DEFECT]
/
nomfi
,
[K8]
UNIT
=
/
8
,
[DEFECT]
/
numfi,
)
Code_Aster
®
Version
7.4
Titrate:
Procedure
IMPR_CO
Date:
03/01/05
Author (S):
J.P. LEFEBVRE, J. PELLET
Key
:
U4.91.11-H
Page
:
3/4
Instruction manual
U4.9- booklet: Impression of the results and tests
HT-66/05/004/A
3 Operands
3.1 Operand
CO
/
CO
=
List names of concepts “user” to print.
3.2 Operands
CHANNELS
/
POSITION
/
CHANNELS
The user can give a text (between “quotes”) length lower than 24 characters:
control will then print all the objects having in their name the character string:
chain
in position
ipos
(see key word
POSITION
).
Examples:
1) CHANNELS = “TOTO1234”, POSITION = 1
is equivalent to
CO = TOTO1234
2) CHANNELS = “.DESC”
, POSITION = 20,
allows to print all the objects whose name ends in “.DESC”.
POSITION = ipos,
This entirety defines the position of the beginning of the channel to be sought in the name of the objects
existing.
3.3 Operand
ATTRIBUTE
ATTRIBUTE
=
One can choose to print (or not) the attributes of selected objects JEVEUX.
3.4 Operand
CONTENTS
CONTENTS
=
One can choose to print (or not) the contents of the selected objects.
3.5 Operand
BASE
BASE = bases
One will not print that objects JEVEUX found on the basis
base
. If one wants to obtain the objects
finding on the whole of the bases (
“G”
,
“V”
,
“It)
, one will use
BASE
= '
'(“white” character).
Code_Aster
®
Version
7.4
Titrate:
Procedure
IMPR_CO
Date:
03/01/05
Author (S):
J.P. LEFEBVRE, J. PELLET
Key
:
U4.91.11-H
Page
:
4/4
Instruction manual
U4.9- booklet: Impression of the results and tests
HT-66/05/004/A
3.6 Operand
LEVEL
LEVEL
=
0
: only the names of the objects are printed,
1
: one prints only the first 5 objects of each collection of objects
JEVEUX
,
2
: all is printed.
3.7 Operand
UNIT
UNIT
=
Logical number of unit associated the file on which must be printed the selected objects
(this name must be a name already defined by the controls BEGINNING, CONTINUATION or
DEFI_FICHIER).
By defect, the impression is carried out on the logical unit 8 which is associated the file
“RESULT”.
4 Examples
Example 1
IMPR_CO
(CO = (my, Mo, ch1))
Impression of the concepts:
my, Mo, ch1
. The attributes of the objects will not be written.
Example 2
IMPR_CO
(CHANNELS = “&”, POSITION = 1, LEVEL = 0
, = “V BASES”,
FILE
=
“MESSAGE”
,)
Impression of the names of the objects of the volatile base starting with '
&
'.