Ignore:
Timestamp:
07/03/13 16:46:48 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: dim can now be retrieved directly in iomodel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/ModelProcessorx/DiagnosticVert/UpdateElementsDiagnosticVert.cpp

    r15000 r15423  
    1111void    UpdateElementsDiagnosticVert(Elements* elements, IoModel* iomodel,int analysis_counter,int analysis_type){
    1212
    13         int    dim;
     13        /*Now, is the model 3d? otherwise, do nothing: */
     14        if (iomodel->dim==2)return;
     15
    1416        int    numberofelements;
    1517
    1618        /*Fetch parameters: */
    17         iomodel->Constant(&dim,MeshDimensionEnum);
    1819        iomodel->Constant(&numberofelements,MeshNumberofelementsEnum);
    19 
    20         /*Now, is the model 3d? otherwise, do nothing: */
    21         if (dim==2)return;
    2220
    2321        /*Fetch data needed: */
Note: See TracChangeset for help on using the changeset viewer.