20.03.2013 Views

U1.03.01 - Code_Aster

U1.03.01 - Code_Aster

U1.03.01 - Code_Aster

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Code</strong>_<strong>Aster</strong><br />

Titre : Superviseur et langage de commande<br />

Version<br />

default<br />

Date : 08/05/2012 Page : 10/16<br />

Responsable : Christophe DURAND Clé : <strong>U1.03.01</strong> Révision : 8998<br />

the representation of the complex type are a “tuple” python containing a character string indicating the<br />

mode of representation of the complex number (left real and imaginary or modulus-phase) then the<br />

digital assets.<br />

Catalogue : VALE_C= SIMP (statut='F' , typ = ` It),<br />

Fichier of commands : VALE_C= (` IH' , 0,732, -0,732),<br />

Command file : VALE_C= (` MP' , 1. , -45. ) ,<br />

the two notations are strictly equivalent. In notation ` MP', the phase is in degrees.<br />

The standard text is declared between simple dimensions. Breakage is respected. However, when a<br />

key word must take a value in a preset list in the catalogue, the use wants that this value is today<br />

always in capitals.<br />

Catalogue : TOUT=SIMP (typ= ` TXM', into= (` OUI','NON'))<br />

,<br />

Command file : TOUT= ` OUI' ,<br />

Breakage is important and, in the context above, the following command line will fail:<br />

Command file : TOUT= ` yes' ,<br />

The logical type is not used today in the catalogue of commands.<br />

The concept is declared simply by its name, without dimensions nor quote marks.<br />

3.5.3.2 Concept of Attention<br />

list :<br />

The word “list” is an abuse language here. It is not the type “lists” python but rather of tuples, within the<br />

meaning of python: different the items is declared between an opening bracket and a closing bracket;<br />

they are separated by commas.<br />

The lists are homogeneous lists, i.e. whose elements are of the same basic type. Any basic type can<br />

be used in list.<br />

Examples of list:<br />

list integers (1, 2,3,4),<br />

list of text (“this”, “is”, “one”, “list”, “of”, “text”),<br />

list of concepts (resu1, resu2, resu3),<br />

User friendliness:<br />

It is allowed that a list reduced to an element can be described without bracket.<br />

Example of erroneous list:<br />

Heterogeneous list of integer and reality<br />

(1, 3.4.)<br />

3.5.4 Key word factor<br />

Certaines information cannot be given overall (in once in the command), it is thus important to<br />

envisage the repetition of certain key words, to be able to affect different arguments to them. The key<br />

word factor offers this possibility; under a key word factor, one will thus find a set of key words<br />

(simple), which could be used with each occurrence of the key word factor. That makes it possible<br />

moreover to improve the legibility of the command file by gathering key words which share a common<br />

meaning: for example various parameters of the same material.<br />

Warning : The translation process used on this website is a "Machine Translation". It may be imprecise and inaccurate in whole or in part and is<br />

provided as a convenience.<br />

Licensed under the terms of the GNU FDL (http://www.gnu.org/copyleft/fdl.html)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!