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
  • TabularUnified issm/trunk-jpl/src/c/modules/ModelProcessorx/Enthalpy/CreateConstraintsEnthalpy.cpp

    r15128 r15423  
    1313        int    i,j;
    1414        int    count;
    15         int    dim;
    1615        int    M,N;
    1716        int    numberofvertices;
     
    2625
    2726        /*Fetch parameters: */
    28         iomodel->Constant(&dim,MeshDimensionEnum);
    2927        iomodel->Constant(&numberofvertices,MeshNumberofverticesEnum);
    3028        iomodel->Constant(&heatcapacity,MaterialsHeatcapacityEnum);
     
    3836
    3937        /*return if 2d mesh*/
    40         if (dim==2){
     38        if (iomodel->dim==2){
    4139                *pconstraints=constraints;
    4240                return;
Note: See TracChangeset for help on using the changeset viewer.