background image
Code_Aster
®
Version
7.4
Titrate:
Operator
DEFI_LIST_REEL
Date:
20/12/04
Author (S):
COURTEOUS Mr., J. PELLET
Key
:
U4.34.01-H
Page
:
1/4
Instruction manual
U4.3- booklet: Function
HT-66/04/004/A
Organization (S):
EDF-R & D/AMA














Instruction manual
U4.3- booklet: Function
Document: U4.34.01



Operators
DEFI_LIST_REEL








1 Goal
To create a strictly increasing list of realities.
The list can be given “in extenso” by the user, or, it can be formed from under
lists defined in “constant pitch”.
Product a structure of data of the listr8 type.
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
DEFI_LIST_REEL
Date:
20/12/04
Author (S):
COURTEOUS Mr., J. PELLET
Key
:
U4.34.01-H
Page
:
2/4
Instruction manual
U4.3- booklet: Function
HT-66/04/004/A
2 Syntax
Lr
[listr8] = DEFI_LIST_REEL

(/
VALE= lr8
,
[l_R]
/
DEBUT=
debu,
[R]

INTERVALLE= (_F (
JUSQU_A
=
r1,
[R]
/A NUMBER
= n1,
[I]
/
NOT
=
r2,
[R]
),),


INFORMATION
=
/
1
,
[DEFECT]
/2,


TITRATE
= title
,
[l_Kn]

)
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
DEFI_LIST_REEL
Date:
20/12/04
Author (S):
COURTEOUS Mr., J. PELLET
Key
:
U4.34.01-H
Page
:
3/4
Instruction manual
U4.3- booklet: Function
HT-66/04/004/A
3 Operands
3.1 Operand
VALE
VALE = lr8
List realities which will form the structure of data listr8 result.
This list can be built starting from a Python list.
3.2 Operand
BEGINNING
BEGINNING
=
It is the first reality of the list of realities which one wants to build.
3.3 Operand
INTERVAL
INTERVAL
=
JUSQU_A
=
r1
It is the end of the interval which one will cut out with a constant pitch.
/A NUMBER
= n1
It is the number of pitches which one wants in the interval which ends in
r1.
/
NOT
=
r2
It is the pitch of division interval.
3.4 Operand
INFORMATION
INFORMATION
=
I
Indicate the level of impression of the results of the operator.
1:
no impression,
2:
impression of the list of realities created
3.5 Operand
TITRATE
TITRATE
= title
Titrate that the user wants to give to his list realities.

4 Remarks
·
when the key word is used
NOT
it may be that the number of calculated pitch is not rigorously
entirety. One “will then adapt” the last interval to fall down exactly on the end value
(
JUSQU_A
). If for that, one modifies the step value of more than 1/1000 one emits an alarm,
·
caution: this control produces a structure of data listr8 which can only be used
in the controls awaiting such structures of data and not in those which wait
lists of realities (notation: l_R).
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
DEFI_LIST_REEL
Date:
20/12/04
Author (S):
COURTEOUS Mr., J. PELLET
Key
:
U4.34.01-H
Page
:
4/4
Instruction manual
U4.3- booklet: Function
HT-66/04/004/A
5 Examples
Example 1:
Let us imagine that one wants to create the list:
1. 3. 5. 10. 15. 20. 25. 26. 27. 28.

who is such as the pitch is:
2.
of
1.
with
5.
5.
of
5.
with
25.
1.
of
25.
with
28.
One can write:
Lr = DEFI_LIST_REEL (BEGINNING
= 1.,
INTERVAL
= (_F (JUSQU_A= 5. , NOMBRE= 2,),
_F
(JUSQU_A=
25.,
NOMBRE=
4,
),
_F
(JUSQU_A=
28.,
PAS=
1.,),),
)

Example 2:
To create the list:
1.
3.
12.
13.
One can write:
Lr = DEFI_LIST_REEL (VALE = (1., 3., 12., 13.),)

Example 3:
One can build a Python list in this manner.
Lr = DEFI_LIST_REEL (VALE = [sqrt (I) for I in arranges (5)],)