Ignore:
Timestamp:
07/20/11 07:30:25 (14 years ago)
Author:
Mathieu Morlighem
Message:

Extended new spcthickness format to balancethickness

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/ModelProcessorx/Thermal/CreateConstraintsThermal.cpp

    r9002 r9081  
    2727        if(!constraints) constraints = new Constraints(ConstraintsEnum);
    2828
    29         /*return if 2d mesh*/
    30         if (iomodel->dim==2) goto cleanup_and_return;
    31 
    32         /*Create constraints: */
    33         IoModelToConstraintsx(constraints,iomodel,iomodel_handle,SpctemperatureEnum,ThermalAnalysisEnum);
    34 
    35         cleanup_and_return:
     29        /*Only 3d mesh supported*/
     30        if (iomodel->dim==3){
     31                IoModelToConstraintsx(constraints,iomodel,iomodel_handle,SpctemperatureEnum,ThermalAnalysisEnum);
     32        }
    3633
    3734        /*Assign output pointer: */
Note: See TracChangeset for help on using the changeset viewer.