Changeset 15626
- Timestamp:
- 07/25/13 16:24:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateConstraintsDiagnosticHoriz.cpp
r15624 r15626 17 17 IssmDouble rho_ice; 18 18 IssmDouble FSreconditioning; 19 bool isS SA,isL1L2,isHO,isFS,iscoupling;19 bool isSIA,isSSA,isL1L2,isHO,isFS,iscoupling; 20 20 bool spcpresent = false; 21 21 int Mx,Nx; … … 46 46 iomodel->Constant(&rho_ice,MaterialsRhoIceEnum); 47 47 iomodel->Constant(&FSreconditioning,DiagnosticFSreconditioningEnum); 48 iomodel->Constant(&isSIA,FlowequationIsSIAEnum); 48 49 iomodel->Constant(&isSSA,FlowequationIsSSAEnum); 49 50 iomodel->Constant(&isL1L2,FlowequationIsL1L2Enum); … … 61 62 62 63 /*Do we have coupling*/ 63 if( (isSSA?1.:0.) + (isL1L2?1.:0.) + (isHO?1.:0.) + (isFS?1.:0.) >1.)64 if((isSIA?1.:0.) + (isSSA?1.:0.) + (isL1L2?1.:0.) + (isHO?1.:0.) + (isFS?1.:0.) >1.) 64 65 iscoupling = true; 65 66 else
Note:
See TracChangeset
for help on using the changeset viewer.