7 #include <unordered_map> 42 explicit MeshGmsh(
const std::string& fileName);
77 std::unordered_map<int, NodeSimple*> CreateNodes(
const GmshFileContent& fileContent);
82 void CreateElements(
const GmshFileContent& fileContent,
const std::unordered_map<int, NodeSimple*>& nodePtrs);
90 void ReadGmshFile(
const std::string& fileName);
96 std::map<int, Group<ElementCollectionFem>> mPhysicalGroups;
99 std::map<std::string, Group<ElementCollectionFem>*> mNamedPhysicalGroups;
Definition: MeshGmsh.cpp:58
MeshGmsh & operator=(const MeshGmsh &)=delete
copy assignment operator
const NuTo::Group< ElementCollectionFem > & GetPhysicalGroup(std::string physicalName) const
Gets an element collection group associated to the physical name defined in gmsh. ...
Definition: MeshGmsh.cpp:446
MeshFem & GetMeshFEM()
Gets the MeshFem.
Definition: MeshGmsh.h:56
contains the nodes, elements and interpolations for a classic finite element mesh ...
Definition: MeshFem.h:16
Definition: Exception.h:6
Reads a gmsh msh-file and converts it to a MeshFEM.
Definition: MeshGmsh.h:16
Ordered container class for elements, nodes and the like.
Definition: Group.h:15
implementation of the interface ElementCollection for arbitrary element types that are derived from E...
Definition: ElementCollection.h:31