Changeset 23635


Ignore:
Timestamp:
01/16/19 08:49:18 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added error message

Location:
issm/trunk-jpl/src/c/modules/ModelProcessorx
Files:
2 edited

Legend:

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

    r23585 r23635  
    2828
    2929        /*This rank has not been marked for this node just yet so go ahead and add it*/
     30        if(vertices_proc_count[vid]==MAXCONNECTIVITY) _error_("This vertex is connected to more than "<<MAXCONNECTIVITY<<" partition. Either reduce the number of processors, or increase MAXCONNECTIVITY");
    3031        vertices_ranks[MAXCONNECTIVITY*vid+vertices_proc_count[vid]] = rank;
    3132        vertices_proc_count[vid]++;
  • issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateNodes.cpp

    r23593 r23635  
    2929
    3030        /*This rank has not been marked for this node just yet so go ahead and add it*/
     31        if(nodes_proc_count[nid]==MAXCONNECTIVITY) _error_("This node is connected to more than "<<MAXCONNECTIVITY<<" partition. Either reduce the number of processors, or increase MAXCONNECTIVITY");
    3132        nodes_ranks[MAXCONNECTIVITY*nid+nodes_proc_count[nid]] = rank;
    3233        nodes_proc_count[nid]++;
Note: See TracChangeset for help on using the changeset viewer.