OGS
|
Definition in file GmshReader.cpp.
#include "GmshReader.h"
#include <algorithm>
#include <array>
#include <fstream>
#include <map>
#include <type_traits>
#include <vector>
#include "BaseLib/FileTools.h"
#include "MeshLib/Elements/Element.h"
#include "MeshLib/Elements/Hex.h"
#include "MeshLib/Elements/Line.h"
#include "MeshLib/Elements/Prism.h"
#include "MeshLib/Elements/Pyramid.h"
#include "MeshLib/Elements/Quad.h"
#include "MeshLib/Elements/Tet.h"
#include "MeshLib/Elements/Tri.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/Node.h"
#include "MeshToolsLib/MeshEditing/ElementValueModification.h"
Go to the source code of this file.
Namespaces | |
namespace | FileIO |
namespace | FileIO::GMSH |
Functions | |
bool | FileIO::GMSH::isGMSHMeshFile (const std::string &fname) |
void | FileIO::GMSH::readNodeIDs (std::ifstream &in, unsigned n_nodes, std::vector< unsigned > &node_ids, std::map< unsigned, unsigned > const &id_map) |
template<typename ElementType > | |
std::pair< MeshLib::Element *, int > | FileIO::GMSH::createElement (std::ifstream &in, std::vector< MeshLib::Node * > const &nodes, int const mat_id, std::map< unsigned, unsigned > const &id_map) |
template<> | |
std::pair< MeshLib::Element *, int > | FileIO::GMSH::createElement< MeshLib::Tri > (std::ifstream &in, std::vector< MeshLib::Node * > const &nodes, int const mat_id, std::map< unsigned, unsigned > const &id_map) |
template<> | |
std::pair< MeshLib::Element *, int > | FileIO::GMSH::createElement< MeshLib::Tet10 > (std::ifstream &in, std::vector< MeshLib::Node * > const &nodes, int const mat_id, std::map< unsigned, unsigned > const &id_map) |
template<> | |
std::pair< MeshLib::Element *, int > | FileIO::GMSH::createElement< MeshLib::Hex20 > (std::ifstream &in, std::vector< MeshLib::Node * > const &nodes, int const mat_id, std::map< unsigned, unsigned > const &id_map) |
template<> | |
std::pair< MeshLib::Element *, int > | FileIO::GMSH::createElement< MeshLib::Prism15 > (std::ifstream &in, std::vector< MeshLib::Node * > const &nodes, int const mat_id, std::map< unsigned, unsigned > const &id_map) |
template<> | |
std::pair< MeshLib::Element *, int > | FileIO::GMSH::createElement< MeshLib::Pyramid13 > (std::ifstream &in, std::vector< MeshLib::Node * > const &nodes, int const mat_id, std::map< unsigned, unsigned > const &id_map) |
std::pair< MeshLib::Element *, int > | FileIO::GMSH::readElement (std::ifstream &in, std::vector< MeshLib::Node * > const &nodes, std::map< unsigned, unsigned > const &id_map, bool const is_created_with_gmsh2) |
MeshLib::Mesh * | FileIO::GMSH::readGMSHMesh (std::string const &fname, bool const is_created_with_gmsh2) |