source:
issm/oecreview/Archive/16133-16554/ISSM-16377-16378.diff
Last change on this file was 16556, checked in by , 11 years ago | |
---|---|
File size: 1.3 KB |
-
../trunk-jpl/src/c/Makefile.am
24 24 ./datastructures/Object.h\ 25 25 ./datastructures/datastructures.h\ 26 26 ./classes/classes.h\ 27 ./classes/gauss/GaussSeg.h\ 28 ./classes/gauss/GaussSeg.cpp\ 27 29 ./classes/gauss/GaussTria.h\ 28 30 ./classes/gauss/GaussTria.cpp\ 29 31 ./classes/Update.h\ -
../trunk-jpl/src/c/classes/Elements/SegRef.cpp
75 75 IssmDouble y2=xyz_list[3*1+1]; 76 76 IssmDouble z2=xyz_list[3*1+2]; 77 77 78 *Jdet=.5*sqrt(pow(x2-x1,2) + pow(y2-y1,2) + pow(z2-z1,2)); 79 if(*Jdet<0) _error_("negative jacobian determinant!"); 78 *J=.5*sqrt(pow(x2-x1,2) + pow(y2-y1,2) + pow(z2-z1,2)); 80 79 } 81 80 /*}}}*/ 82 81 /*FUNCTION SegRef::GetJacobianDeterminant{{{*/ … … 85 84 * J is assumed to have been allocated of size NDOF2xNDOF2.*/ 86 85 87 86 /*Call Jacobian routine to get the jacobian:*/ 88 GetJacobian(&Jdet, xyz_list, gauss); 87 GetJacobian(Jdet, xyz_list, gauss); 88 if(*Jdet<0) _error_("negative jacobian determinant!"); 89 89 90 90 } 91 91 /*}}}*/
Note:
See TracBrowser
for help on using the repository browser.