source: issm/oecreview/Archive/25834-26739/ISSM-26387-26388.diff@ 27230

Last change on this file since 27230 was 26740, checked in by Mathieu Morlighem, 3 years ago

CHG: added 25834-26739

File size: 673 bytes
RevLine 
[26740]1Index: ../trunk-jpl/src/c/modules/ModelProcessorx/ModelProcessorx.cpp
2===================================================================
3--- ../trunk-jpl/src/c/modules/ModelProcessorx/ModelProcessorx.cpp (revision 26387)
4+++ ../trunk-jpl/src/c/modules/ModelProcessorx/ModelProcessorx.cpp (revision 26388)
5@@ -35,7 +35,7 @@
6 for(int i = 0;i<nummodels;i++) nodes[i] = new Nodes();
7
8 /*Partition Elements and Nodes*/
9- ElementsAndVerticesPartitioning(iomodel);
10+ if (iomodel->numberofelements > 0) ElementsAndVerticesPartitioning(iomodel);
11
12 /*Create elements, vertices and materials, independent of analysis_enum: */
13 CreateElements(elements,iomodel,nummodels);
Note: See TracBrowser for help on using the repository browser.