#include <import_gmsh.hpp>
Public Member Functions | |
void | exportDisplacements (const sfem::mesh::Structure &src, const std::string &viewident) |
saves nodal displacements in the parsed structure | |
void | exportElementNodalMisesStress (const sfem::mesh::Structure &src, const std::string &viewident) |
saves Mises stresses in the parsed structure at element nodes | |
ExportGmsh (const std::string &ident) | |
constructor | |
void | exportMesh (const sfem::mesh::Structure &src) |
recreates the parsed data structure in such a way that it reads from the given SFEM object and | |
void | exportNodalMisesStress (const sfem::mesh::Structure &src, const std::string &viewident) |
saves nodal Mises stresses in the parsed structure | |
unsigned int | gmshElementType (const std::string &ident) const |
returns the ident of the gmsh_type as integer, given by a string. Returns zero if not existent | |
unsigned int | gmshElementTypeFromSFEM (const std::string &sfem) const |
returns the current setting of the GMSH type in SFEM; Returns zero if not existent | |
const GmshParsedData & | parsed_data () const |
returns a reference to the parsed data | |
void | store (const std::string &filename) const |
stores the parsed data structure into the given GMSH file (overwrites it on existence) | |
void | translateElementBy (const std::string &sfem, const unsigned int &gmsh) |
sets the element type of SFEM which will be used for the given GMSH type id | |
virtual | ~ExportGmsh () |
destructor | |
Protected Member Functions | |
GmshParsedData & | parsed_data () |
const std::map< std::string, unsigned int > & | sfem_to_gmsh_elementtypes () const |
std::map< std::string, unsigned int > & | sfem_to_gmsh_elementtypes () |
Protected Attributes | |
std::map< std::string, unsigned int > | m_sfem_to_gmsh_elementtypes |
contains user-defined mappings between element types |