Code_Aster ®
Version
7.4
Titrate:
Operator TO DESTROY
Date:
19/01/05
Author (S):
Key J.P. LEFEBVRE
:
U4.14.01-F Page
: 1/4
Organization (S): EDF-R & D/AMA
Handbook of Utilization
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 commands.
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 obstruction of the files associated with the base
“GLOBALE”. 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 the assistance
key word RETASSAGE = “OUI” within procedure FIN [U4.11.02].
Handbook of Utilization
U4.1- booklet: Management
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator TO DESTROY
Date:
19/01/05
Author (S):
Key J.P. LEFEBVRE
:
U4.14.01-F Page
: 2/4
2 Syntax
DETRUIRE (
/
CONCEPT = _F (
NOM
=
lco
,
[l_co]
),
/OBJET
=
_
F (CHAINE = lco,
[l_TXM]
POSITION = ipos,
[I]
CLASSIFY =/“G”
[DEFAUT]
/
“V”
/
“It
),
INFO =
/1,
/2,
ALARME
=/
“YES” [DEFECT]
/“NON”
)
Handbook of Utilization
U4.1- booklet: Management
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator TO DESTROY
Date:
19/01/05
Author (S):
Key J.P. LEFEBVRE
:
U4.14.01-F Page
: 3/4
3 Operands
3.1 Word
key
CONCEPT
CONCEPT
=
Mean that one destroys concepts users.
3.1.1 Operand
NOM
NOM = lco
List names of concept to be destroyed.
3.2 Word
key
CLASSE
CLASSE =
Allows to select the base on which the objects will be destroyed. By defect the value is “G”,
it corresponds to the base GLOBALE, “V” corresponds to base VOLATILE, “at base LOCALE.
3.3 Word
key
OBJET
OBJET
=
Mean that one destroys objects JEVEUX while reaching directly by a chain 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
CHAINE
CHAINE = 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
INFO
INFO = information
If INFO=2, the list of the destroyed objects are printed in 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
ALARME
ALARM = “NOT”
Allows to decontaminate the emission of the messages of alarm, this functionality can be activated at the time
use of the macro-commands when temporary objects are removed.
Handbook of Utilization
U4.1- booklet: Management
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Operator TO DESTROY
Date:
19/01/05
Author (S):
Key J.P. LEFEBVRE
:
U4.14.01-F Page
: 4/4
4 Example
% One creates a list of realities of name F
F = DEFI_LIST_REEL (…)
% One destroys the concept of name F
DETRUIRE (CONCEPT = _F (NOM = 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.
Handbook of Utilization
U4.1- booklet: Management
HT-66/05/004/A
Outline document