- Timestamp:
- 07/24/12 10:36:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/ConstraintsStatex/RiftConstraintsState.cpp
r12330 r12706 12 12 13 13 /*current module: */ 14 /*RiftIsPresent(Loads* loads,int configuration_type){{{ 1*/14 /*RiftIsPresent(Loads* loads,int configuration_type){{{*/ 15 15 int RiftIsPresent(Loads* loads,int configuration_type){ 16 16 … … 41 41 } 42 42 /*}}}*/ 43 /*RiftConstraintsState(int* pconverged, int* pnum_unstable_constraints,Loads* loads,int min_mechanical_constraints,int configuration_type){{{ 1*/43 /*RiftConstraintsState(int* pconverged, int* pnum_unstable_constraints,Loads* loads,int min_mechanical_constraints,int configuration_type){{{*/ 44 44 void RiftConstraintsState(int* pconverged, int* pnum_unstable_constraints,Loads* loads,int min_mechanical_constraints,int configuration_type){ 45 45 … … 56 56 } 57 57 else if(num_unstable_constraints<=min_mechanical_constraints){ 58 _printf_(VerboseModule()," freezing constraints\n");58 if(VerboseModule()) _pprintLine_(" freezing constraints"); 59 59 RiftFreezeConstraints(loads,configuration_type); 60 60 } … … 65 65 } 66 66 /*}}}*/ 67 /*RiftConstrain(int* pnum_unstable_constraints,Loads* loads,int configuration_type){{{ 1*/67 /*RiftConstrain(int* pnum_unstable_constraints,Loads* loads,int configuration_type){{{*/ 68 68 void RiftConstrain(int* pnum_unstable_constraints,Loads* loads,int configuration_type){ 69 69 … … 106 106 } 107 107 /*}}}*/ 108 /*RiftIsFrozen(Loads* loads,int configuration_type){{{ 1*/108 /*RiftIsFrozen(Loads* loads,int configuration_type){{{*/ 109 109 int RiftIsFrozen(Loads* loads,int configuration_type){ 110 110 … … 144 144 } 145 145 /*}}}*/ 146 /*RiftFreezeConstraints(Loads* loads,int configuration_type){{{ 1*/146 /*RiftFreezeConstraints(Loads* loads,int configuration_type){{{*/ 147 147 void RiftFreezeConstraints(Loads* loads,int configuration_type){ 148 148 … … 172 172 173 173 /*diverse trials and errors: */ 174 /*RiftIsMaterialStable(Loads* loads){{{ 1*/174 /*RiftIsMaterialStable(Loads* loads){{{*/ 175 175 int RiftIsMaterialStable(Loads* loads){ 176 176 … … 204 204 } 205 205 /*}}}*/ 206 /*RiftIsPreStable(Loads* loads){{{ 1*/206 /*RiftIsPreStable(Loads* loads){{{*/ 207 207 int RiftIsPreStable(Loads* loads){ 208 208 … … 243 243 } 244 244 /*}}}*/ 245 /*RiftSetPreStable(Loads* loads){{{ 1*/245 /*RiftSetPreStable(Loads* loads){{{*/ 246 246 void RiftSetPreStable(Loads* loads){ 247 247 … … 264 264 } 265 265 /*}}}*/ 266 /*RiftPreConstrain(int* pnum_unstable_constraints,Loads* loads){{{ 1*/266 /*RiftPreConstrain(int* pnum_unstable_constraints,Loads* loads){{{*/ 267 267 void RiftPreConstrain(int* pnum_unstable_constraints,Loads* loads){ 268 268 … … 300 300 } 301 301 /*}}}*/ 302 /*RiftMaxPenetrationInInputs(Loads* loads){{{ 1*/302 /*RiftMaxPenetrationInInputs(Loads* loads){{{*/ 303 303 void RiftMaxPenetrationInInputs(Loads* loads){ 304 304 … … 309 309 310 310 /*rift penetration: */ 311 double max_penetration=0;312 double mpi_max_penetration;313 double penetration;311 IssmDouble max_penetration=0; 312 IssmDouble mpi_max_penetration; 313 IssmDouble penetration; 314 314 315 315 /*Ok, we are going to find the node pairs which are not penetrating, even though they … … 342 342 } 343 343 /*}}}*/ 344 /*RiftPotentialUnstableConstraints(Loads* loads){{{ 1*/344 /*RiftPotentialUnstableConstraints(Loads* loads){{{*/ 345 345 int RiftPotentialUnstableConstraints(Loads* loads){ 346 346
Note:
See TracChangeset
for help on using the changeset viewer.