OGS
FileIO::GMSH::GMSHFixedMeshDensity Class Referencefinal

Detailed Description

Definition at line 21 of file GMSHFixedMeshDensity.h.

#include <GMSHFixedMeshDensity.h>

Inheritance diagram for FileIO::GMSH::GMSHFixedMeshDensity:
[legend]
Collaboration diagram for FileIO::GMSH::GMSHFixedMeshDensity:
[legend]

Public Member Functions

 GMSHFixedMeshDensity (double mesh_density)
 
void initialize (std::vector< GeoLib::Point const * > const &vec) override
 
double getMeshDensityAtPoint (GeoLib::Point const *const) const override
 
double getMeshDensityAtStation (GeoLib::Point const *const) const override
 
 ~GMSHFixedMeshDensity () override=default
 
- Public Member Functions inherited from FileIO::GMSH::GMSHMeshDensityStrategy
virtual ~GMSHMeshDensityStrategy ()=default
 

Private Attributes

double _mesh_density
 

Constructor & Destructor Documentation

◆ GMSHFixedMeshDensity()

FileIO::GMSH::GMSHFixedMeshDensity::GMSHFixedMeshDensity ( double mesh_density)
explicit

Definition at line 18 of file GMSHFixedMeshDensity.cpp.

19 : _mesh_density(mesh_density)
20{
21}

◆ ~GMSHFixedMeshDensity()

FileIO::GMSH::GMSHFixedMeshDensity::~GMSHFixedMeshDensity ( )
overridedefault

Member Function Documentation

◆ getMeshDensityAtPoint()

double FileIO::GMSH::GMSHFixedMeshDensity::getMeshDensityAtPoint ( GeoLib::Point const * const ) const
overridevirtual

Implements FileIO::GMSH::GMSHMeshDensityStrategy.

Definition at line 30 of file GMSHFixedMeshDensity.cpp.

32{
33 return _mesh_density;
34}

References _mesh_density.

◆ getMeshDensityAtStation()

double FileIO::GMSH::GMSHFixedMeshDensity::getMeshDensityAtStation ( GeoLib::Point const * const ) const
overridevirtual

Implements FileIO::GMSH::GMSHMeshDensityStrategy.

Definition at line 36 of file GMSHFixedMeshDensity.cpp.

38{
39 return _mesh_density;
40}

References _mesh_density.

◆ initialize()

void FileIO::GMSH::GMSHFixedMeshDensity::initialize ( std::vector< GeoLib::Point const * > const & vec)
overridevirtual

Implements FileIO::GMSH::GMSHMeshDensityStrategy.

Definition at line 23 of file GMSHFixedMeshDensity.cpp.

25{
26 // to avoid a warning here:
27 (void)(vec);
28}

Member Data Documentation

◆ _mesh_density

double FileIO::GMSH::GMSHFixedMeshDensity::_mesh_density
private

Definition at line 33 of file GMSHFixedMeshDensity.h.

Referenced by getMeshDensityAtPoint(), and getMeshDensityAtStation().


The documentation for this class was generated from the following files: