%--------------------------------------------------------------------------
% ELEMENT.Ja_Det
%--------------------------------------------------------------------------
% Computation of the Jacobian determinent.
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
detJ = Ja_Det(EL1,elem_type,gp)
detJ = ELEMENT.Ja_Det(EL1,elem_type,gp)
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% The Ja_Det method of the ELEMENT class is used to compute the Jacobian
% determinent at each integration point.
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% EL1 : ELEMENT object
% elem_type : STRING describing the type of finite element when a specific
% kinematics is used. It can be equal to:
% - TRUSS : truss element
% - BEAM : standard Euler Bernouilli beam element
% - TIMO, FLI : standard Timoshenko beam element (multifiber
% formulation)
% - FLIG : standard Timoshenko beam element (generalized
% formulation)
% - FCQ : quadratic beam element
% - T3G : T3 - gamma formulation shell FE (3D)
% gp : scalar, vector, matrix - description of the local coordinates
% of the integration points. gp is structured as follows:
% - gp(:,1) : first coordinate of the integration points
% - gp(:,2) : second coordinate of the integration points
% - gp(:,3) : third coordinate of the integration points
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% detJ : array - det(i) is the Jacobian deterniment evaluated at the
% integration point i.
%
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
% Case of a QUA4 ELEMENT.
detJ = Ja_Det(obj,elem_type,gp)
detJ =
0.0025 0.0025 0.0025 0.0025