OGS
HeuristicSearchLength.h
Go to the documentation of this file.
1
13
#pragma once
14
15
#include "
MeshGeoToolsLib/SearchLength.h
"
16
17
namespace
MeshLib
18
{
19
class
Mesh;
20
}
21
22
namespace
MeshGeoToolsLib
23
{
24
30
class
HeuristicSearchLength
:
public
SearchLength
31
{
32
public
:
34
enum class
LengthType
35
{
36
Edge
,
37
Node
38
};
39
45
explicit
HeuristicSearchLength
(
MeshLib::Mesh
const
& mesh,
46
LengthType
length_type =
LengthType::Edge
);
47
48
private
:
49
MeshLib::Mesh
const
&
_mesh
;
50
};
51
52
}
// end namespace MeshGeoToolsLib
SearchLength.h
Base class for different search length strategies.
MeshGeoToolsLib::HeuristicSearchLength
Definition
HeuristicSearchLength.h:31
MeshGeoToolsLib::HeuristicSearchLength::_mesh
MeshLib::Mesh const & _mesh
Definition
HeuristicSearchLength.h:49
MeshGeoToolsLib::HeuristicSearchLength::HeuristicSearchLength
HeuristicSearchLength(MeshLib::Mesh const &mesh, LengthType length_type=LengthType::Edge)
Definition
HeuristicSearchLength.cpp:20
MeshGeoToolsLib::HeuristicSearchLength::LengthType
LengthType
Type of length to be sampled.
Definition
HeuristicSearchLength.h:35
MeshGeoToolsLib::HeuristicSearchLength::LengthType::Node
@ Node
edge length of elements, which is recommended for meshes without nonlinear nodes
MeshGeoToolsLib::HeuristicSearchLength::LengthType::Edge
@ Edge
MeshGeoToolsLib::SearchLength
Definition
SearchLength.h:23
MeshLib::Mesh
Definition
Mesh.h:43
MeshGeoToolsLib
Definition
AppendLinesAlongPolyline.cpp:24
MeshLib
Definition
ProjectData.h:41
MeshGeoToolsLib
HeuristicSearchLength.h
Generated by
1.12.0