Ignore:
Timestamp:
10/03/13 14:53:55 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: removed mesh dimension and replaced by meshtype (I know... type is not good but I could not come up with anything better), prepare changes for flowband model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/classes/Node.cpp

    r16233 r16291  
    5555                _assert_(sqrt( coord_system[0][0]*coord_system[0][0] + coord_system[1][0]*coord_system[1][0]) >1.e-4);
    5656
    57                 if(iomodel->dim==3){
     57                if(iomodel->meshtype==Mesh3DEnum){
    5858                        /*We have a  3d mesh, we may have collapsed elements, hence dead nodes. Freeze them out: */
    5959                        _assert_(iomodel->Data(MeshVertexonbedEnum));
     
    9595                                analysis_type==HydrologyDCEfficientAnalysisEnum
    9696                                ){
    97                 if(iomodel->dim==3){
     97                if(iomodel->meshtype==Mesh3DEnum){
    9898                        /*On a 3d mesh, we may have collapsed elements, hence dead nodes. Freeze them out: */
    9999                        _assert_(iomodel->Data(MeshVertexonbedEnum));
     
    104104        }
    105105        if(analysis_type==FreeSurfaceTopAnalysisEnum){
    106                 if(iomodel->dim==3){
     106                if(iomodel->meshtype==Mesh3DEnum){
    107107                        /*On a 3d mesh, we may have collapsed elements, hence dead nodes. Freeze them out: */
    108108                        _assert_(iomodel->Data(MeshVertexonsurfaceEnum));
Note: See TracChangeset for help on using the changeset viewer.