OGS
GMSHFixedMeshDensity.cpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#include "
GMSHFixedMeshDensity.h
"
5
6
namespace
FileIO
7
{
8
namespace
GMSH
9
{
10
GMSHFixedMeshDensity::GMSHFixedMeshDensity
(
double
mesh_density)
11
:
_mesh_density
(mesh_density)
12
{
13
}
14
15
void
GMSHFixedMeshDensity::initialize
(
16
std::vector<GeoLib::Point const*>
const
& vec)
17
{
18
// to avoid a warning here:
19
(void)(vec);
20
}
21
22
double
GMSHFixedMeshDensity::getMeshDensityAtPoint
(
23
GeoLib::Point
const
*
const
/*unused*/
)
const
24
{
25
return
_mesh_density
;
26
}
27
28
double
GMSHFixedMeshDensity::getMeshDensityAtStation
(
29
GeoLib::Point
const
*
const
/*unused*/
)
const
30
{
31
return
_mesh_density
;
32
}
33
34
}
// namespace GMSH
35
}
// end namespace FileIO
GMSHFixedMeshDensity.h
FileIO::GMSH::GMSHFixedMeshDensity::getMeshDensityAtStation
double getMeshDensityAtStation(GeoLib::Point const *const) const override
Definition
GMSHFixedMeshDensity.cpp:28
FileIO::GMSH::GMSHFixedMeshDensity::initialize
void initialize(std::vector< GeoLib::Point const * > const &vec) override
Definition
GMSHFixedMeshDensity.cpp:15
FileIO::GMSH::GMSHFixedMeshDensity::getMeshDensityAtPoint
double getMeshDensityAtPoint(GeoLib::Point const *const) const override
Definition
GMSHFixedMeshDensity.cpp:22
FileIO::GMSH::GMSHFixedMeshDensity::_mesh_density
double _mesh_density
Definition
GMSHFixedMeshDensity.h:25
FileIO::GMSH::GMSHFixedMeshDensity::GMSHFixedMeshDensity
GMSHFixedMeshDensity(double mesh_density)
Definition
GMSHFixedMeshDensity.cpp:10
GeoLib::Point
Definition
GeoLib/Point.h:20
FileIO::GMSH
Definition
GMSHAdaptiveMeshDensity.cpp:21
FileIO
Definition
SHPImportDialog.h:8
Applications
FileIO
Gmsh
GMSHFixedMeshDensity.cpp
Generated by
1.14.0