%--------------------------------------------------------------------------
% ELEMENT
%--------------------------------------------------------------------------
% Creation of an ELEMENT object.
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
EL = ELEMENT(type,node,loc_dof)
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% The ELEMENT method is used to create an ELEMENT object. This object
% is used to describe a finite element. It has the following
% properties:
% - type : STRING describing the type of the finite element. It can
% be equal to:
% - POI1 : 1 node point FE (2D)
% - SEG2 : 2 node line FE (2D)
% - TRI3 : 3 node triangle FE (2D and 3D)
% - TRI6 : 6 node triangle FE (2D)
% - QUA4 : 4 node quadrilateral FE (2D)
% - TET4 : 4 node tetrahedron FE (3D)
% - PRI6 : 6 node prism FE (3D)
% - CUB8 : 8 node cube FE (3D)
% - CU20 : 20 node cube FE (3D)
% - node : set of NODE objects describing the nodes of the ELEMENT
% object
% - loc_dof : array - description of the local type of the degrees of
% freedom of the ELEMENT object
%
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% type : STRING describing the type of the ELEMENT object
% node : NODE describing the nodes of the ELEMENT object
% loc_dof : description of the local type of the degrees of
% freedom of the ELEMENT object
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% EL : ELEMENT object
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
% Example of an ELEMENT object
EL
EL =
ELEMENT with properties:
type: 'TRI3'
node: [1x3 NODE]
loc_dof: [1 2]