OGS
GMSHFixedMeshDensity.h
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
#pragma once
5
6
#include "
GMSHMeshDensityStrategy.h
"
7
8
namespace
FileIO
9
{
10
namespace
GMSH
11
{
12
13
class
GMSHFixedMeshDensity
final :
public
GMSHMeshDensityStrategy
14
{
15
public
:
16
explicit
GMSHFixedMeshDensity
(
double
mesh_density);
17
void
initialize
(std::vector<GeoLib::Point const*>
const
& vec)
override
;
18
double
getMeshDensityAtPoint
(
19
GeoLib::Point
const
*
const
/*unused*/
)
const override
;
20
double
getMeshDensityAtStation
(
21
GeoLib::Point
const
*
const
/*unused*/
)
const override
;
22
~GMSHFixedMeshDensity
()
override
=
default
;
23
24
private
:
25
double
_mesh_density
;
26
};
27
28
}
// namespace GMSH
29
}
// end namespace FileIO
GMSHMeshDensityStrategy.h
FileIO::GMSH::GMSHFixedMeshDensity::~GMSHFixedMeshDensity
~GMSHFixedMeshDensity() override=default
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
FileIO::GMSH::GMSHMeshDensityStrategy
Definition
GMSHMeshDensityStrategy.h:22
GeoLib::Point
Definition
GeoLib/Point.h:20
FileIO::GMSH
Definition
GMSHAdaptiveMeshDensity.cpp:21
FileIO
Definition
SHPImportDialog.h:8
Applications
FileIO
Gmsh
GMSHFixedMeshDensity.h
Generated by
1.14.0