12#include <spdlog/spdlog.h>
14#include <boost/dynamic_bitset.hpp>
49 std::unique_ptr<MeshLib::Mesh>
getMesh()
const;
51 std::size_t
const face_set_number)
const;
56 using Bitset = boost::dynamic_bitset<>;
60 std::string& result_string)
const;
70 std::vector<MeshLib::Node*>
const& nodes)
const;
75 std::vector<MeshLib::Node*>& nodes,
76 std::vector<MeshLib::Element*>
const& elements)
const;
82 GocadNode* face_set_node, std::size_t face_set_number,
83 std::vector<MeshLib::Node*>& face_set_nodes,
84 std::vector<MeshLib::Element*>& face_set_elements)
const;
Definition of the Element class.
Gocad::Property const * getProperty(std::string const &name) const
std::vector< Gocad::Property > _property_meta_data_vecs
GocadSGridReader & operator=(GocadSGridReader const &rhs)=delete
std::string const & _fname
std::vector< MeshLib::Element * > createElements(std::vector< MeshLib::Node * > const &nodes) const
std::unique_ptr< MeshLib::Mesh > getFaceSetMesh(std::size_t const face_set_number) const
GocadSGridReader & operator=(GocadSGridReader &&rhs)=delete
std::vector< GocadNode * > _nodes
std::vector< Gocad::Region > regions
std::string _region_flags_fname
GocadSGridReader(GocadSGridReader &&src)=delete
std::unique_ptr< MeshLib::Mesh > getMesh() const
GocadSGridReader()=delete
void readElementPropertiesBinary()
GocadSGridReader(GocadSGridReader const &src)=delete
std::vector< Bitset > readRegionFlagsBinary() const
void addGocadPropertiesToMesh(MeshLib::Mesh &mesh) const
void applySplitInformation(std::vector< MeshLib::Node * > &nodes, std::vector< MeshLib::Element * > const &elements) const
void mapRegionFlagsToCellProperties(std::vector< Bitset > const &rf)
Gocad::CoordinateSystem _coordinate_system
static void modifyElement(MeshLib::Element const *hex, MeshLib::Node const *node2sub, MeshLib::Node *substitute_node)
void readSplitInformation()
void parseFaceSet(std::string &line, std::istream &in)
void parseFileName(std::string const &line, std::string &result_string) const
bool _bin_pnts_in_double_precision
Gocad::IndexCalculator _index_calculator
boost::dynamic_bitset<> Bitset
std::vector< GocadSplitNode * > _split_nodes
void parseDims(std::string const &line)
std::vector< std::string > getPropertyNames() const
bool _double_precision_binary
void addFaceSetQuad(GocadNode *face_set_node, std::size_t face_set_number, std::vector< MeshLib::Node * > &face_set_nodes, std::vector< MeshLib::Element * > &face_set_elements) const
void parseHeader(std::istream &in)
std::vector< Gocad::Layer > layers