background image
Code_Aster
®
Version
7.4
Titrate:
Operator
TO DESTROY
Date:
19/01/05
Author (S):
J.P. LEFEBVRE
Key
:
U4.14.01-F
Page
:
1/4
Instruction manual
U4.1- booklet: Management
HT-66/05/004/A
Organization (S):
EDF-R & D/AMA














Instruction manual
U4.1- booklet: Management
Document: U4.14.01



Operator
TO DESTROY








1 Goal
To destroy concepts users or directly objects JEVEUX.
After destruction, the concept cannot thus be called upon naturally more behind a single-ended spanner word
following controls.
The use of this procedure allows a later re-use of the names of the destroyed concepts.
destruction of concepts (which results in the destruction of objects JEVEUX constituting the structures
data) makes it possible to prepare a reduction of the overall dimension of the files associated with the base
“TOTAL”
. The mechanism of retassage is dealt with by the manager of memory to the course
work. However, another mechanism of retassage can be started by the user with aid
key word
RETASSAGE = “YES”
within the procedure
END
[U4.11.02].
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
TO DESTROY
Date:
19/01/05
Author (S):
J.P. LEFEBVRE
Key
:
U4.14.01-F
Page
:
2/4
Instruction manual
U4.1- booklet: Management
HT-66/05/004/A
2 Syntax

TO DESTROY
(
/
CONCEPT = _F (
NAME
=
lco
,
[l_co]
),
/
OBJECT
=
_
F (
CHANNELS = lco,
[l_TXM]
POSITION = ipos,
[I]
CLASSIFY =/“G”
[DEFECT]
/
“V”
/
“It
),
INFORMATION =
/1,
/2,

ALARM
=/
“YES” [DEFECT]
/
“NOT”
)
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
TO DESTROY
Date:
19/01/05
Author (S):
J.P. LEFEBVRE
Key
:
U4.14.01-F
Page
:
3/4
Instruction manual
U4.1- booklet: Management
HT-66/05/004/A
3 Operands
3.1 Word
key
CONCEPT
CONCEPT
=
Mean that one destroys concepts users.
3.1.1 Operand
NAME
NAME = lco
List names of concept to be destroyed.
3.2 Word
key
CLASSIFY
CLASSIFY =
Allows to select the base on which the objects will be destroyed. By defect the value is “G”,
it corresponds to the TOTAL base, “V” corresponds to the VOLATILE base, “at the LOCAL base.
3.3 Word
key
OBJECT
OBJECT
=
Mean that one destroys objects JEVEUX while reaching directly by a channel of
characters located at the position ipos contained in the names of the objects. This makes it possible to destroy
objects stored in base JEVEUX and associated inaccessible names of concept.
3.3.1 Operand
CHANNELS
CHANNELS = lco
Character string presents in the names of objects JEVEUX to destroy.
3.3.2 Operand
POSITION
POSITION = ipos
Position of the character string in the names of objects JEVEUX to be destroyed.
3.4 Operand
INFORMATION
INFORMATION = information
If INFO=2, the list of the destroyed objects are printed in the file MESSAGE.
Important remark:
It is not possible to simply destroy the concept associated with a formula, the operator stops
in fatal error when one tries to destroy such a concept.
3.5 Operand
ALARM
ALARM =
“NOT”
Allows to decontaminate the emission of the messages of alarm, this functionality can be activated at the time
use of the macro-controls when temporary objects are removed.
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
TO DESTROY
Date:
19/01/05
Author (S):
J.P. LEFEBVRE
Key
:
U4.14.01-F
Page
:
4/4
Instruction manual
U4.1- booklet: Management
HT-66/05/004/A
4 Example
% One creates a list of realities of name
F
F = DEFI_LIST_REEL (…)
% One destroys the concept of name
F
TO DESTROY (CONCEPT = _F (NAME = F,),)
% One can re-use the name
F
for another concept
F = DEFI_FONCTION
(…)


5 Remarks
This procedure must be used with prudence, indeed certain structures of data (field with
node-classification, field by element-model, etc…) the ones are based on the others, it is
thus dangerous to destroy the associated concept.
When a concept is removed, its name is destroyed space of names python and the jeveux objects
related (prefixed by the name of the concept) are destroyed in the total base.
During calculations with the loops with great iteration count (parametric study…), it can be very
advantageous to destroy the concepts not employed again from one iteration to another in order to preserve the size of
the total base.