OGS
GMSHFixedMeshDensity.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#include "
GMSHMeshDensityStrategy.h
"
15
16
namespace
FileIO
17
{
18
namespace
GMSH
19
{
20
21
class
GMSHFixedMeshDensity
final :
public
GMSHMeshDensityStrategy
22
{
23
public
:
24
explicit
GMSHFixedMeshDensity
(
double
mesh_density);
25
void
initialize
(std::vector<GeoLib::Point const*>
const
& vec)
override
;
26
double
getMeshDensityAtPoint
(
27
GeoLib::Point
const
*
const
/*unused*/
)
const override
;
28
double
getMeshDensityAtStation
(
29
GeoLib::Point
const
*
const
/*unused*/
)
const override
;
30
~GMSHFixedMeshDensity
()
override
=
default
;
31
32
private
:
33
double
_mesh_density
;
34
};
35
36
}
// namespace GMSH
37
}
// end namespace FileIO
GMSHMeshDensityStrategy.h
FileIO::GMSH::GMSHFixedMeshDensity
Definition
GMSHFixedMeshDensity.h:22
FileIO::GMSH::GMSHFixedMeshDensity::~GMSHFixedMeshDensity
~GMSHFixedMeshDensity() override=default
FileIO::GMSH::GMSHFixedMeshDensity::getMeshDensityAtStation
double getMeshDensityAtStation(GeoLib::Point const *const) const override
Definition
GMSHFixedMeshDensity.cpp:36
FileIO::GMSH::GMSHFixedMeshDensity::initialize
void initialize(std::vector< GeoLib::Point const * > const &vec) override
Definition
GMSHFixedMeshDensity.cpp:23
FileIO::GMSH::GMSHFixedMeshDensity::getMeshDensityAtPoint
double getMeshDensityAtPoint(GeoLib::Point const *const) const override
Definition
GMSHFixedMeshDensity.cpp:30
FileIO::GMSH::GMSHFixedMeshDensity::_mesh_density
double _mesh_density
Definition
GMSHFixedMeshDensity.h:33
FileIO::GMSH::GMSHFixedMeshDensity::GMSHFixedMeshDensity
GMSHFixedMeshDensity(double mesh_density)
Definition
GMSHFixedMeshDensity.cpp:18
FileIO::GMSH::GMSHMeshDensityStrategy
Definition
GMSHMeshDensityStrategy.h:30
GeoLib::Point
Definition
Point.h:31
FileIO
Definition
SHPImportDialog.h:19
Applications
FileIO
Gmsh
GMSHFixedMeshDensity.h
Generated by
1.12.0