code_aster package

This is the main entry point for the users.

code_aster.Commands is the high level user interface. It provides the Commands.

code_aster.CA is a lower level interface that gives access the DataStructure objects (and also Commands for convenience).

Standard users should use the high level interface:

>>> import code_aster
>>> from code_aster.Commands import *
>>> DEBUT()
>>> mesh = LIRE_MAILLAGE(...)
Note::

The first two lines that import code_aster and all commands from code_aster.Commands are automatically inserted in the user commands file by run_aster.

The lower level user interface is used as:

>>> import code_aster
>>> from code_aster import CA
>>> mesh = CA.Mesh()
>>> mesh.readMedFile(...)

See code_aster.rc object to adjust the initialization parameters.

Here is the diagram of the packages organization:

../../_images/diagr_code_aster.svg