GetJacobianDeterminant

PURPOSE ^

GETJACOBIANDETERMINANT - computes the determinant of the jacobian for a beamelem

SYNOPSIS ^

function Jdet=GetJacobianDeterminant(beamelem,z_list,gauss_l1l2l3),

DESCRIPTION ^

GETJACOBIANDETERMINANT - computes the determinant of the jacobian for a beamelem

   Usage:
      Jdet=GetJacobianDeterminant(beamelem,z_list,gauss_l1l2l3)

   See also GETJACOBIAN, GETJACOBIANINVERT

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function Jdet=GetJacobianDeterminant(beamelem,z_list,gauss_l1l2l3),
0002 %GETJACOBIANDETERMINANT - computes the determinant of the jacobian for a beamelem
0003 %
0004 %   Usage:
0005 %      Jdet=GetJacobianDeterminant(beamelem,z_list,gauss_l1l2l3)
0006 %
0007 %   See also GETJACOBIAN, GETJACOBIANINVERT
0008 
0009 z1=z_list(1);
0010 z2=z_list(2);
0011 
0012 Jdet=1/2*(z2-z1);
0013 
0014 if(Jdet<0),
0015     error('negative jacobian determinant!');
0016 end

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003