36class GMSHMeshDensityStrategy;
70 bool include_stations_as_constraints,
72 double pnt_density,
double station_density,
73 std::size_t max_pnts_per_leaf,
74 std::vector<std::string>
const& selected_geometries,
75 bool rotate,
bool keep_preprocessed_geometry);
87 bool write()
override;
Definition of the Writer class.
Base class which enables writing an object to string, stringstream or file.
std::ostringstream out
The stream to write to.
Reads and writes GMSH-files to and from OGS data structures.
~GMSHInterface() override
GMSHInterface & operator=(GMSHInterface &&)=delete
bool _write_physical_groups
GMSHInterface(GeoLib::GEOObjects &geo_objs, bool include_stations_as_constraints, GMSH::MeshDensityAlgorithm mesh_density_algorithm, double pnt_density, double station_density, std::size_t max_pnts_per_leaf, std::vector< std::string > const &selected_geometries, bool rotate, bool keep_preprocessed_geometry)
std::string _gmsh_geo_name
GMSHInterface(GMSHInterface &&)=delete
bool _keep_preprocessed_geometry
std::unique_ptr< GMSH::GMSHMeshDensityStrategy > _mesh_density_strategy
Eigen::Matrix3d _inverse_rot_mat
GMSHInterface & operator=(GMSHInterface const &)=delete
GMSHInterface(GMSHInterface const &)=delete
std::vector< GMSH::GMSHPoint * > _gmsh_pnts
void writePhysicalGroups(bool flag)
int writeGMSHInputFile(std::ostream &out)
std::vector< std::string > const & _selected_geometries
GeoLib::GEOObjects & _geo_objs
bool write() override
Writes the object to the internal stream. This method must be implemented by a subclass....
std::list< GMSH::GMSHPolygonTree * > _polygon_tree_list
Container class for geometric objects.
@ AdaptiveMeshDensity
computing the mesh density employing a QuadTree
@ FixedMeshDensity
set the parameter with a fixed value