Download exis.notice

Back to the list

Display this manual page in
$$$$ EXIS     NOTICE  KICH      12/08/02    21:15:22     7467           
                                             DATE     12/08/02

    Operateur EXISTE                         Voir aussi : TABL DANS
    ----------------   
    LOG1(,LOG2,...) =  EXISTE  |  NOM1                            |  ;
                               |  TAB1     OBJ1                   |
                               |  OBJ1     OBJ2                   |
                               |  %        OBJ2                   |
                               |  CH1      MOT1                   |
                               |  CH1      OBJ1                   |
                               |  LMOTS1 | MOT1                |  |
                               |         | LMOTS2  ('ET'/'OU') |  |
                               |  LENTI1   ENTI1                  |
                               |  LREEL1   FLOT1   (FLOT2)        |
                               |  SOL1     'CONT'                 |
                               |  NUAG1    MOT1                   |
                               |  CHAR1  | MOT1          |        |
                               |         | 'LIBR'/'LIE ' |        |
                               |  MODL1    MOT1     MOT2          |



    Description :
    _____________

    The EXISTE operator checks the existence of various objects.


    Contents :
    __________

    In any of the cases below, LOG1(,LOG2,...) are logical values (type
    LOGIQUE) which equal to VRAI (true) when the existence is verified,
    FAUX (false) otherwise.


    1)  Whenever a single parameter NOM1 is provided, the operator
        checks whether an object with such a name exists.

        CAUTION : an object is considered not to exist only if its type
                  is 'ANNULE'. Indeed, any name NOM1 which has not been
                  allocated yet is seen as an existing MOT-typed object.


    2)  For a TAB1 table (TABLE type), it allows to know whether the
        table index OBJ1 exists (type ENTIER, FLOTTANT, MOT, LOGIQUE,
        PROCEDUR...).


    3)  For an object OBJ1 (OBJET type), it allows to know whether the
        object index OBJ2 exists. Inside a method acting on the object,
        % replaces the name of the OBJET.


    4)  For a CH1 field (CHPOINT or MCHAML type), it makes possible to
        know whether a component named MOT1 (type MOT) exists.
        For a CH1 field (MCHAML type), it makes possible to
        know whether a area is included in the OBJ1 (MAILLAGE or
        MMODEL type). The constituent and phase are also checked in the
        MMODEL type.


    5)  For a list of words LMOTS1 (LISTMOTS type), it allows to know
        whether the word MOT1 (type MOT) exists. Several searches can
        be performed at one time by providing a second list of words
        LMOTS2. In this case, LOG1 is true if ALL the words of LMOTS2
        are also in LMOTS1 (keyword 'ET') or if AT LEAST ONE of the
        words of LMOTS2 is found in LMOTS1 (keyword 'OU'). If no
        keyword is specified, there will be as many returned objects
        LOG1, LOG2, ... as there are words in LMOTS2.


    6)  For a list of integers LENTI1 (LISTENTI type), it enables the
        user to know whether the integer ENTI1 (type ENTIER) exists.


    7)  For a list of reals LREEL1 (LISTREEL type), it enables the user
        to know whether the real number FLOT1 (type FLOTTANT) exists. It
        is possible to set the tolerance FLOT2 (type FLOTTANT) used for
        the test.


    8)  For a SOLUTION SOL1 object, it allows to know whether the
        stresses (keyword 'CONT') are included in the object.


    9)  For a NUAGE object, it enables the user to know whether the word
        MOT1 (type MOT) is a component name of the NUAGE object.


    10) For a CHARGEMENT object, it allows to know whether the word MOT1
        (type MOT) is an elementary loading (sub-object) of CHAR1, or
        whether any of the them is of the free (keyword 'LIBRE') or
        linked (keyword 'LIE') type.


    11) For a MMODEL MODL1 object, the two MOT-typed parameters MOT1
        and MOT2 make it possible to check :

        a) If some regions of the MMODEL correspond to a given
           formulation. In that case, MOT1 is 'FORM' and MOT2 is one or
           several words defining the formulation.

        b) If some regions of the MMODEL correspond to one or several
           given constituents. In that case, MOT1 is 'CONS' and MOT2
           is one or several words defining the constituents.

        c) If some regions of the MMODEL correspond to one or several
           given finite elements. In that case, MOT1 is 'ELEM' and MOT2
           is one or several words defining the finite elements.

        d) If among the list of words that defines the material
           behaviour of each region of the MMODEL, one contains the
           word(s) MOT2. To this purpose MOT1 will be 'MATE'.





 
 

© Cast3M 2003 - All rights reserved.
Disclaimer