1. SD cham_no_s#

cham_no_s (K19): := record


♦ '. CNSK ': OJB S V K8 long = 2

♦ '. CNSD ': OJB S V I long = 2

♦ '. CNSC ': OJB S V K8 long = nb_ CMP

♦ '. CNSV ': OJB S V R/C/I/... long = nb_ NOEUD *nb_ CMP

♦ '. CNSL ': OJB S V L long = nb_ NOEUD *nb_ CMP

1.1. Content of OJB#

This SD is used to describe a field of quantities carried by the nodes of a mesh.

1.2. Object “. CNSK “#

“. CNSK “(1)

mailla: name of the mesh underlying the fiel_no_s.

“. CNSK “(2)

nomgd: name of the quantity associated with the fiel_no_s (” DEPL_R “,” SIEF_R “,…)

1.3. Object “. CNSD “#

“. CNSD “(1)

nb_ NOEUD: number of nodes in the underlying mesh.

“. CNSD “(2)

nb_ CMP: maximum number of CMPS carried by nodes.

1.4. Object “. CNSC “#

“. CNSC “(icmp)

cmp_i: name of the th CMP of the fiel_no_s

Note:

The order of CMPS in. CNSC could be anything. You do not have to respect the order of the size catalog. On the other hand, the CMPS must be part of the CMPS of the nomgd size.

1.5. Object “. CNSV “#

This object contains the values for the _no_s field. The type of this vector JEVEUX (R/C/I/K8,…) is that of the quantity nomgd. Its dimension is nb_ NOEUD *nb_ CMP; that is, all mesh nodes can carry all the CMPS described in. CNSC.

You can access the ICMP -th CMP of the INO -th NOEUD by the formula:

VALEUR (INO, ICMP) =. CNSV ((INO -1) *nb_ CMP + ICMP)

Note:

The presence (or absence) of a CMP on a NOEUD is indicated via the object. CNSL (see below). When creating a cham_no_s, its unassigned values are set to « undef » to better detect their illicit use.

1.6. Object “. CNSL “#

This object contains booleans indicating the presence (or absence) of the values in the NO_field. Its dimension is nb_ NOEUD *nb_ CMP; it is moved in the same way as in the object. CNSV

We examine the presence of the ICMP -th CMP of the INO -th NOEUD by the formula:

EXISTE (INO, ICMP) =. CNSL ((INO -1) *nb_ CMP + ICMP)