Skip to content
Snippets Groups Projects
Commit 534bacb8 authored by Boris Sedji's avatar Boris Sedji
Browse files

*overload storeChain() function...

parent a2ac13fa
No related branches found
No related tags found
No related merge requests found
...@@ -415,6 +415,15 @@ class GModel ...@@ -415,6 +415,15 @@ class GModel
_associateEntityWithMeshVertices(); _associateEntityWithMeshVertices();
} }
void storeChain(std::vector<MVertex*> &vertices,int dim, std::map<int, std::vector<MElement*> > &entityMap,
std::map<int, std::map<int, std::string> > &physicalMap)
{
_storeVerticesInEntities(vertices);
_storeElementsInEntities(entityMap);
_storePhysicalTagsInEntities(dim, physicalMap);
_associateEntityWithMeshVertices();
}
// Gmsh native CAD format (readGEO is static, since it can create // Gmsh native CAD format (readGEO is static, since it can create
// multiple models) // multiple models)
static int readGEO(const std::string &name); static int readGEO(const std::string &name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment