OGS
GMSHFixedMeshDensity.cpp
Go to the documentation of this file.
1
12
#include "
GMSHFixedMeshDensity.h
"
13
14
namespace
FileIO
15
{
16
namespace
GMSH
17
{
18
GMSHFixedMeshDensity::GMSHFixedMeshDensity
(
double
mesh_density)
19
: _mesh_density(mesh_density)
20
{
21
}
22
23
void
GMSHFixedMeshDensity::initialize
(
24
std::vector<GeoLib::Point const*>
const
& vec)
25
{
26
// to avoid a warning here:
27
(void)(vec);
28
}
29
30
double
GMSHFixedMeshDensity::getMeshDensityAtPoint
(
31
GeoLib::Point
const
*
const
/*unused*/
)
const
32
{
33
return
_mesh_density
;
34
}
35
36
double
GMSHFixedMeshDensity::getMeshDensityAtStation
(
37
GeoLib::Point
const
*
const
/*unused*/
)
const
38
{
39
return
_mesh_density
;
40
}
41
42
}
// namespace GMSH
43
}
// end namespace FileIO
GMSHFixedMeshDensity.h
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
GeoLib::Point
Definition
Point.h:31
FileIO
Definition
SHPImportDialog.h:19
Applications
FileIO
Gmsh
GMSHFixedMeshDensity.cpp
Generated by
1.11.0