%--------------------------------------------------------------------------
% MATRICE
%--------------------------------------------------------------------------
% Creation of a MATRICE object.
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
MAT1 = MATRICE('STIFF',MO1,CHAM1)
MAT1 = MATRICE('STIFF',MO1,CHAM1,CHAM2)
MAT1 = MATRICE('MASS',MO1,CHAM1)
MAT1 = MATRICE('DIRI',label1,loc1)
MAT1 = MATRICE('DIRI',label1,loc1,loc2)
MAT1 = MATRICE('DIRI',label1,loc1,loc2,loc3)
MAT1 = MATRICE('MADD',label1,locv,val1)
MAT1 = MATRICE('CONF_RELA',label1,label2)
MAT1 = MATRICE('POINT_RELA',coef1,loc1,label1,...
coefn,locn,labeln)
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% MATRICE creates a MATRICE object. This type of object is used to describe
% a matrix. A matrix is stored as a set of elementary matrices, the
% assembly process is performed just before solving the problem. A MATRICE
% object has the following properties:
% - mat_elem: MAT_ELEM object - set of MAT_ELEM objects
% - type : STRING - type of the matrix. It can be equal to:
% - STIFF : stiffness matrix
% - MASS : mass matrix
% - DIRI : Dirichlet boundary conditions matrix
% - MADD : lumped mass matrix
% - CONF_RELA : conformity relationship matrix
% - POINT_RELA : point to point kinematic relationship matrix
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% MO1 : MODEL object
% CHAM1 : CHAMELEM object describing the material properties
% CHAM2 : CHAMELEM object describing the local modulus (depending of
% internal variables for instance)
% label1...labeln : STRING - label of the physical group of finite elements
% to be considered
% loc1...locn : scalar - local type of the degrees of freedom to be
% affected
% locv : scalar, vector - local type of the degrees of freedom to be
% affected
% val1 : scalar - value of the lumped mass
% coef1...coefn : scalar - coeficients of the kinematic relationship
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% MA1 : MATRICE object
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
CL1 = MATRICE('DIRI','P3',1,2)
CL1 =
MATRICE with properties:
mat_elem: [1x2 MAT_ELEM]
type: 'DIRI'