Ignore:
Timestamp:
09/07/11 08:52:50 (13 years ago)
Author:
seroussi
Message:

class prognostic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/ModelProcessorx/Prognostic/UpdateElementsPrognostic.cpp

    r9641 r9642  
    1818        int    dim;
    1919        int    numberofelements;
    20         int    prognostic_DG;
     20        int    stabilization;
    2121
    2222        /*Fetch data needed: */
    2323        iomodel->Constant(&dim,DimEnum);
    2424        iomodel->Constant(&numberofelements,NumberOfElementsEnum);
    25         iomodel->Constant(&prognostic_DG,PrognosticDGEnum);
     25        iomodel->Constant(&stabilization,PrognosticStabilizationEnum);
    2626        iomodel->FetchData(1,ElementsEnum);
    2727
     
    4949        iomodel->FetchDataToInput(elements,VyEnum);
    5050
    51         if(prognostic_DG){
    52                 iomodel->FetchDataToInput(elements,SpcthicknessEnum); //for DG, we need the spc in the element
     51        if(stabilization==3){
     52                iomodel->FetchDataToInput(elements,PrognosticSpcthicknessEnum); //for DG, we need the spc in the element
    5353        }
    5454       
Note: See TracChangeset for help on using the changeset viewer.