- Timestamp:
- 09/07/11 08:52:50 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/ModelProcessorx/Prognostic/UpdateElementsPrognostic.cpp
r9641 r9642 18 18 int dim; 19 19 int numberofelements; 20 int prognostic_DG;20 int stabilization; 21 21 22 22 /*Fetch data needed: */ 23 23 iomodel->Constant(&dim,DimEnum); 24 24 iomodel->Constant(&numberofelements,NumberOfElementsEnum); 25 iomodel->Constant(& prognostic_DG,PrognosticDGEnum);25 iomodel->Constant(&stabilization,PrognosticStabilizationEnum); 26 26 iomodel->FetchData(1,ElementsEnum); 27 27 … … 49 49 iomodel->FetchDataToInput(elements,VyEnum); 50 50 51 if( prognostic_DG){52 iomodel->FetchDataToInput(elements, SpcthicknessEnum); //for DG, we need the spc in the element51 if(stabilization==3){ 52 iomodel->FetchDataToInput(elements,PrognosticSpcthicknessEnum); //for DG, we need the spc in the element 53 53 } 54 54
Note:
See TracChangeset
for help on using the changeset viewer.