OGS
FileIO::GMSH::GMSHFixedMeshDensity Class Referencefinal

Detailed Description

Definition at line 13 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 10 of file GMSHFixedMeshDensity.cpp.

11 : _mesh_density(mesh_density)
12{
13}

References _mesh_density.

◆ ~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 22 of file GMSHFixedMeshDensity.cpp.

24{
25 return _mesh_density;
26}

References _mesh_density.

◆ getMeshDensityAtStation()

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

Implements FileIO::GMSH::GMSHMeshDensityStrategy.

Definition at line 28 of file GMSHFixedMeshDensity.cpp.

30{
31 return _mesh_density;
32}

References _mesh_density.

◆ initialize()

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

Implements FileIO::GMSH::GMSHMeshDensityStrategy.

Definition at line 15 of file GMSHFixedMeshDensity.cpp.

17{
18 // to avoid a warning here:
19 (void)(vec);
20}

Member Data Documentation

◆ _mesh_density

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

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