3. Item Content JEVEUX#
3.1. DESCRIPTEUR_GRANDEUR#
It is a vector of integers. It describes the CMPS that are actually present in a size.
All possible CMPS of a size are described in the GRANDEURS catalog. They are ordered there. To describe the CMPS actually present in a quantity we decide to keep a vector of Booleans that answers the following question: is the th CMP (in the order of the catalog of quantities) present in the quantity we want to describe? To save memory space (and disk space), we decide to « code » this vector of Booleans on a vector of integers: on each integer (called integer_coded), we code 30 Booleans.
Example:
If the size “DEPL_R” was described in the catalog by:
DX |
DY |
DZ |
DRX |
|
|
|
On a beam-type element, the dimension_descriptor is equal to 126. In fact:
DX |
DY |
DZ |
DRX |
|
|
|
||
1 |
1 |
1 |
1 |
1 |
1 |
1 |
0 |
|
126 = |
21 |
|
|
|
|
|
|
On a solid element, the descriptor_quantity is equal to 14. In fact:
DX |
DY |
DZ |
DRX |
|
|
|
||
1 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
|
14 = |
21 |
|
|
|
On an additional node created for the introduction of kinematic conditions by dualization, the descriptor_quantity is equal to 128. In fact:
DX |
DY |
DZ |
DERX |
|
|
|
||
0 |
0 |
0 |
0 |
0 |
0 |
1 |
||
128 = |
27 |
A descriptor_quantity is a vector of coded_integers: V of dimension n_ec where n_ec is the number of coded_integers necessary to describe the quantity described in the catalog.
n_ec |
number of CMPS in the catalog |
1 |
1 to 30 |
2 |
31 to 60 |
3 |
… |
The th integer_coded indicates the presence (or not) of CMPS numbered from 30*(i-1) +1 → 30*i.