/[escript]/trunk/dudley/src/CPPAdapter/MeshAdapterFactory.cpp
ViewVC logotype

Diff of /trunk/dudley/src/CPPAdapter/MeshAdapterFactory.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6007 by caltinay, Tue Mar 1 05:01:49 2016 UTC revision 6008 by caltinay, Wed Mar 2 04:09:58 2016 UTC
# Line 225  Domain_ptr loadMesh(const std::string& f Line 225  Domain_ptr loadMesh(const std::string& f
225             }             }
226         }         }
227         delete[] Elements_Nodes;         delete[] Elements_Nodes;
        Dudley_ElementFile_setTagsInUse(mesh_p->Elements);  
228      } /* num_Elements>0 */      } /* num_Elements>0 */
229        Dudley_ElementFile_setTagsInUse(mesh_p->Elements);
230    
231      /* get the face elements */      /* get the face elements */
232      mesh_p->FaceElements=Dudley_ElementFile_alloc((Dudley_ElementTypeId)FaceElements_TypeId, mpi_info);      mesh_p->FaceElements=Dudley_ElementFile_alloc((Dudley_ElementTypeId)FaceElements_TypeId, mpi_info);
# Line 271  Domain_ptr loadMesh(const std::string& f Line 271  Domain_ptr loadMesh(const std::string& f
271             }             }
272         }         }
273         delete[] FaceElements_Nodes;         delete[] FaceElements_Nodes;
        Dudley_ElementFile_setTagsInUse(mesh_p->FaceElements);  
274      } /* num_FaceElements>0 */      } /* num_FaceElements>0 */
275        Dudley_ElementFile_setTagsInUse(mesh_p->FaceElements);
276    
277      /* get the Points (nodal elements) */      /* get the Points (nodal elements) */
278      mesh_p->Points=Dudley_ElementFile_alloc((Dudley_ElementTypeId)Points_TypeId, mpi_info);      mesh_p->Points=Dudley_ElementFile_alloc((Dudley_ElementTypeId)Points_TypeId, mpi_info);
# Line 315  Domain_ptr loadMesh(const std::string& f Line 315  Domain_ptr loadMesh(const std::string& f
315             mesh_p->Points->Id[mesh_p->Points->Nodes[INDEX2(0,i,1)]] = Points_Nodes[i];             mesh_p->Points->Id[mesh_p->Points->Nodes[INDEX2(0,i,1)]] = Points_Nodes[i];
316         }         }
317         delete[] Points_Nodes;         delete[] Points_Nodes;
        Dudley_ElementFile_setTagsInUse(mesh_p->Points);  
318      } /* num_Points>0 */      } /* num_Points>0 */
319        Dudley_ElementFile_setTagsInUse(mesh_p->Points);
320    
321      /* get the tags */      /* get the tags */
322      if (num_Tags>0) {      if (num_Tags>0) {

Legend:
Removed from v.6007  
changed lines
  Added in v.6008

  ViewVC Help
Powered by ViewVC 1.1.26