%--------------------------------------------------------------------------
% INDEX
%--------------------------------------------------------------------------
% Creation of a INDEX object.
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
IN = INDEX(MO1)
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% INDEX creates a INDEX object. This type of object can be used to
% describe the indexation of the degrees of freedom. An INDEX object has
% the following properties:
% - tab_index : Value of the indexation table. The indexation table is
% structured as follows:
% - tab_index = [col1 col2 col3] where col1 is the nomber of the
% node, col2 is the local type of the degree of freedom and col3
% is the global number of the degrees of freedom.
%
% - dof_number : number of physical degree of freedom (displacement)
% - lag_number1: number of First Lagrange multipliers
% - lag_number2: number of Second Lagrange multipliers
% - idx_phys : global number of the physical degrees of freedom
% - idx_Lag1 : global number of first Lagrange multipliers
% - idx_Lag2 : global number of second Lagrange multipliers
% - dof_Rela : global number of the first Lagrange multipliers
% associated with a point to point kinematic relation
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% MO1 : MODEL object - set of MODEL objects
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% IN : INDEX object
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
MO1
MO1 =
MODEL with properties:
group: [1x1 GROUP]
formulation: 'MECHANICS'
elasticity: 'ELASTICITY'
elasticity_type: 'ISOTROPIC'
law_type: []
law_name: []
elem_type: []
int_var_number: 1
int_rule_stif: [1x2 INT_RULE]
int_rule_mass: [1x2 INT_RULE]
section_topo: []
crack_path: []
IN
IN =
INDEX with properties:
tab_index: [476x3 double]
dof_number: 476
lag_number1: 0
lag_number2: 0
idx_phys: []
idx_Lag1: []
idx_Lag2: []
dof_Rela: []
IN.tab_index
ans =
31 1 1
31 2 2
42 1 3
42 2 4
44 1 5
44 2 6
105 1 7
105 2 8
112 1 9
112 2 10
118 1 11
118 2 12
. . .
. . .
. . .