Changeset 18149
- Timestamp:
- 06/12/14 15:33:54 (11 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp
r18075 r18149 7 7 #include "../cores/cores.h" 8 8 9 //#define FSANALYTICAL 21 9 #define FSANALYTICAL 4 10 10 11 11 /*Model processing*/ … … 3064 3064 3065 3065 if(element->IsFloating() || !element->IsOnBase()) return NULL; 3066 return NULL; 3066 3067 3067 3068 /*If on water or not FS, skip stiffness: */ … … 3074 3075 IssmDouble alpha2,Jdet; 3075 3076 IssmDouble x_coord,y_coord,z_coord; 3077 IssmDouble *xyz_list = NULL; 3076 3078 IssmDouble *xyz_list_base = NULL; 3077 3079 Gauss* gauss = NULL; … … 3091 3093 3092 3094 /*Retrieve all inputs and parameters*/ 3095 element->GetVerticesCoordinates(&xyz_list); 3093 3096 element->GetVerticesCoordinatesBase(&xyz_list_base); 3094 3097 Input* vx_input = element->GetInput(VxEnum); _assert_(vx_input); … … 3123 3126 /*Clean up and return*/ 3124 3127 delete gauss; 3128 xDelete<IssmDouble>(xyz_list); 3125 3129 xDelete<IssmDouble>(xyz_list_base); 3126 3130 xDelete<IssmDouble>(B); -
issm/trunk-jpl/src/c/shared/Matrix/MatrixUtils.cpp
r18148 r18149 3 3 */ 4 4 5 #include "../Elements/elements.h"6 5 /*Headers*/ 7 6 /*{{{*/ … … 461 460 /*Compute determinant*/ 462 461 Matrix4x4Determinant(&det,A); 463 if(fabs(det) < DBL_EPSILON){ 464 printarray(A,4,4); 465 _error_("Determinant smaller than machine epsilon"); 466 } 462 if(fabs(det) < DBL_EPSILON) _error_("Determinant smaller than machine epsilon"); 467 463 468 464 /*Compute adjoint matrix*/
Note:
See TracChangeset
for help on using the changeset viewer.