OGS
|
Definition at line 34 of file GMSHAdaptiveMeshDensity.h.
#include <GMSHAdaptiveMeshDensity.h>
Public Member Functions | |
GMSHAdaptiveMeshDensity (double pnt_density, double station_density, std::size_t max_pnts_per_leaf) | |
~GMSHAdaptiveMeshDensity () override | |
void | initialize (std::vector< GeoLib::Point const * > const &pnts) override |
double | getMeshDensityAtPoint (GeoLib::Point const *const pnt) const override |
void | addPoints (std::vector< GeoLib::Point const * > const &pnts) |
double | getMeshDensityAtStation (GeoLib::Point const *const) const override |
void | getSteinerPoints (std::vector< GeoLib::Point * > &pnts, std::size_t additional_levels=0) const |
std::string | getQuadTreeGeometry (GeoLib::GEOObjects &geo_objs) const |
Public Member Functions inherited from FileIO::GMSH::GMSHMeshDensityStrategy | |
virtual | ~GMSHMeshDensityStrategy ()=default |
Private Attributes | |
double | _pnt_density |
double | _station_density |
std::size_t | _max_pnts_per_leaf |
GeoLib::QuadTree< GeoLib::Point > * | _quad_tree |
FileIO::GMSH::GMSHAdaptiveMeshDensity::GMSHAdaptiveMeshDensity | ( | double | pnt_density, |
double | station_density, | ||
std::size_t | max_pnts_per_leaf ) |
Definition at line 32 of file GMSHAdaptiveMeshDensity.cpp.
|
override |
Definition at line 42 of file GMSHAdaptiveMeshDensity.cpp.
References _quad_tree.
void FileIO::GMSH::GMSHAdaptiveMeshDensity::addPoints | ( | std::vector< GeoLib::Point const * > const & | pnts | ) |
Definition at line 89 of file GMSHAdaptiveMeshDensity.cpp.
References _quad_tree, GeoLib::QuadTree< POINT >::addPoint(), GeoLib::QuadTree< POINT >::balance(), and DBUG().
Referenced by initialize().
|
overridevirtual |
Implements FileIO::GMSH::GMSHMeshDensityStrategy.
Definition at line 106 of file GMSHAdaptiveMeshDensity.cpp.
References _pnt_density, _quad_tree, and GeoLib::QuadTree< POINT >::getLeaf().
|
overridevirtual |
Implements FileIO::GMSH::GMSHMeshDensityStrategy.
Definition at line 115 of file GMSHAdaptiveMeshDensity.cpp.
References _quad_tree, _station_density, and GeoLib::QuadTree< POINT >::getLeaf().
std::string FileIO::GMSH::GMSHAdaptiveMeshDensity::getQuadTreeGeometry | ( | GeoLib::GEOObjects & | geo_objs | ) | const |
Definition at line 166 of file GMSHAdaptiveMeshDensity.cpp.
References _quad_tree, GeoLib::GEOObjects::addPointVec(), GeoLib::GEOObjects::addPolylineVec(), GeoLib::QuadTree< POINT >::getLeafs(), GeoLib::GEOObjects::getPointVecObj(), and GeoLib::TemplateVec< T >::getVector().
void FileIO::GMSH::GMSHAdaptiveMeshDensity::getSteinerPoints | ( | std::vector< GeoLib::Point * > & | pnts, |
std::size_t | additional_levels = 0 ) const |
Definition at line 124 of file GMSHAdaptiveMeshDensity.cpp.
References _quad_tree, GeoLib::QuadTree< POINT >::getLeafs(), and GeoLib::QuadTree< POINT >::getMaxDepth().
|
overridevirtual |
Implements FileIO::GMSH::GMSHMeshDensityStrategy.
Definition at line 47 of file GMSHAdaptiveMeshDensity.cpp.
References _max_pnts_per_leaf, _quad_tree, addPoints(), and DBUG().
|
private |
Definition at line 55 of file GMSHAdaptiveMeshDensity.h.
Referenced by initialize().
|
private |
Definition at line 53 of file GMSHAdaptiveMeshDensity.h.
Referenced by getMeshDensityAtPoint().
|
private |
Definition at line 56 of file GMSHAdaptiveMeshDensity.h.
Referenced by ~GMSHAdaptiveMeshDensity(), addPoints(), getMeshDensityAtPoint(), getMeshDensityAtStation(), getQuadTreeGeometry(), getSteinerPoints(), and initialize().
|
private |
Definition at line 54 of file GMSHAdaptiveMeshDensity.h.
Referenced by getMeshDensityAtStation().