Code_Aster ®
Version
7.4
Titrate:
Operator DEFI_LIST_ENTI
Date:
20/12/04
Author (S):
COURTEOUS Mr., J. PELLET, L. VIVAN Key
:
U4.34.02-H Page
: 1/4
Organization (S): EDF-R & D/AMA, CS IF
Handbook of Utilization
U4.3- booklet: Function
Document: U4.34.02
Procedure DEFI_LIST_ENTI
1 Goal
To create a list of strictly increasing entireties.
The list can be given “in extenso” by the user, or, it can be formed from under
lists defined in “constant step”.
Product a structure of data of the listis type.
Handbook of Utilization
U4.3- booklet: Function
HT-66/04/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator DEFI_LIST_ENTI
Date:
20/12/04
Author (S):
COURTEOUS Mr., J. PELLET, L. VIVAN Key
:
U4.34.02-H Page
: 2/4
2 Syntax
Li [listis] = DEFI_LIST_ENTI
(/
VALE = read, [l_I]
/
DEBUT
=
deb.
,
[I]
INTERVALLE= (_F (
JUSQU_A =
yew
,
[I]
/NOMBRE
= in
, [I]
/
PAS
=
ipas,
[I]
),),
INFO
=/
1
,
[DEFAUT]
/2,
TITER
= title
,
[l_Kn]
)
Handbook of Utilization
U4.3- booklet: Function
HT-66/04/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator DEFI_LIST_ENTI
Date:
20/12/04
Author (S):
COURTEOUS Mr., J. PELLET, L. VIVAN Key
:
U4.34.02-H Page
: 3/4
3 Operands
3.1 Operand
VALE
VALE = read
List entireties which will form the structure of data listis result, one can provide does not import
which Python list.
3.2 Operand
DEBUT
DEBUT
=
deb.: first entirety of the list to be built.
3.3 Word
key
INTERVALLE
INTERVALLE
Key word factor whose each occurrence makes it possible to define an interval at constant step.
3.3.1 Operand
JUSQU_A
JUSQU_A = yew
yew is the whole end of the interval to be cut out with a constant step.
3.3.2 Operand
PAS
/PAS
= ipas
No interval division.
3.3.3 Operand
NOMBRE
/
NOMBRE = in
Numbers of steps which one wants in the interval.
3.4 Operand
INFO
INFO = I
Indicate the level of impression of the results of the operator:
1: no impression,
2: impression of the list of entireties created.
3.5 Operand
TITER
TITER = title
Titrate attached to the concept produced by this operator [U4.03.01].
Handbook of Utilization
U4.3- booklet: Function
HT-66/04/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator DEFI_LIST_ENTI
Date:
20/12/04
Author (S):
COURTEOUS Mr., J. PELLET, L. VIVAN Key
:
U4.34.02-H Page
: 4/4
4 Remarks
·
it is checked that the list is increasing,
·
caution: the structure of data of the listis type cannot be used behind a key word
awaiting a l_I (continuation of entireties written between brackets).
5 Examples
To build the list of entireties to constant step:
1
4
7
10
13
16
listi = DEFI_LIST_ENTI
(DEBUT = 1,
INTERVALLE
=
(_F
(JUSQU_A
=
16,
PAS
=
3
),),
)
To build the list of entireties with two values different from the step:
1
2
3
4
5
10
15
listi = DEFI_LIST_ENTI
(DEBUT =
1,
INTERVALLE
=
(_F
(JUSQU_A
=
5,
PAS
=
1,
),
_F (JUSQU_A
=
15,
PAS
=
5,
),)
)
or
listi = DEFI_LIST_ENTI
(DEBUT =
1,
INTERVALLE
=
(_F
(JUSQU_A
=
5,
NOMBRE
=
4,
),
_F (JUSQU_A
=
15,
NOMBRE
=
2,
),),
)
or, from object does not import lists Python:
listi = DEFI_LIST_ENTI (VALE = arranges (10),)
Handbook of Utilization
U4.3- booklet: Function
HT-66/04/004/A
Outline document