Loading [MathJax]/extensions/MathMenu.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-301-gee1fb4d5 source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Applications
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
▼
MeshToolsLib
►
MeshEditing
►
MeshGenerators
▼
MeshQuality
►
AngleSkewMetric.cpp
►
AngleSkewMetric.h
EdgeRatioMetric.cpp
►
EdgeRatioMetric.h
►
ElementQualityInterface.h
ElementQualityMetric.cpp
►
ElementQualityMetric.h
ElementSizeMetric.cpp
►
ElementSizeMetric.h
►
MeshValidation.cpp
►
MeshValidation.h
RadiusEdgeRatioMetric.cpp
►
RadiusEdgeRatioMetric.h
SizeDifferenceMetric.cpp
►
SizeDifferenceMetric.h
►
ComputeElementVolumeNumerically.cpp
►
ComputeElementVolumeNumerically.h
►
convertMeshToGeo.cpp
►
convertMeshToGeo.h
►
IntegrationPointDataTools.cpp
►
IntegrationPointDataTools.h
►
MeshInformation.cpp
►
MeshInformation.h
►
MeshSurfaceExtraction.cpp
►
MeshSurfaceExtraction.h
►
ZeroMeshFieldDataByMaterialIDs.cpp
►
ZeroMeshFieldDataByMaterialIDs.h
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
MeshValidation.h
Go to the documentation of this file.
1
15
#pragma once
16
17
#include <array>
18
#include <limits>
19
#include <vector>
20
21
#include "
MeshLib/Elements/ElementErrorCode.h
"
22
23
namespace
MeshLib
24
{
25
class
Mesh;
26
class
Element;
27
}
// namespace MeshLib
28
29
namespace
MeshToolsLib
30
{
31
35
struct
MeshValidation
final
36
{
42
static
bool
allNodesUsed
(
MeshLib::Mesh
const
& mesh);
43
49
static
bool
existCollapsibleNodes
(
MeshLib::Mesh
& mesh);
50
55
static
void
evaluateElementGeometry
(
MeshLib::Mesh
const
& mesh);
56
64
static
std::vector<ElementErrorCode>
testElementGeometry
(
65
const
MeshLib::Mesh
& mesh,
66
double
min_volume = std::numeric_limits<double>::epsilon());
67
72
static
std::array<std::string,
73
static_cast<
std::size_t
>
(
ElementErrorFlag::MaxValue
)>
74
ElementErrorCodeOutput
(
const
std::vector<ElementErrorCode>& error_codes);
75
88
static
unsigned
detectHoles
(
MeshLib::Mesh
const
& mesh);
89
};
35
struct
MeshValidation
final {
…
};
90
91
}
// namespace MeshToolsLib
ElementErrorCode.h
Definition of ElementErrorCodes.
ElementErrorFlag::MaxValue
@ MaxValue
MeshLib::Mesh
Definition
Mesh.h:45
MeshLib
Definition
ProjectData.h:41
MeshToolsLib
Definition
Node.h:29
MeshToolsLib::MeshValidation
A collection of methods for testing mesh quality and correctness.
Definition
MeshValidation.h:36
MeshToolsLib::MeshValidation::existCollapsibleNodes
static bool existCollapsibleNodes(MeshLib::Mesh &mesh)
Definition
MeshValidation.cpp:77
MeshToolsLib::MeshValidation::detectHoles
static unsigned detectHoles(MeshLib::Mesh const &mesh)
Definition
MeshValidation.cpp:207
MeshToolsLib::MeshValidation::ElementErrorCodeOutput
static std::array< std::string, static_cast< std::size_t >(ElementErrorFlag::MaxValue)> ElementErrorCodeOutput(const std::vector< ElementErrorCode > &error_codes)
Definition
MeshValidation.cpp:169
MeshToolsLib::MeshValidation::allNodesUsed
static bool allNodesUsed(MeshLib::Mesh const &mesh)
Definition
MeshValidation.cpp:64
MeshToolsLib::MeshValidation::testElementGeometry
static std::vector< ElementErrorCode > testElementGeometry(const MeshLib::Mesh &mesh, double min_volume=std::numeric_limits< double >::epsilon())
Definition
MeshValidation.cpp:98
MeshToolsLib::MeshValidation::evaluateElementGeometry
static void evaluateElementGeometry(MeshLib::Mesh const &mesh)
Definition
MeshValidation.cpp:85
MeshToolsLib
MeshQuality
MeshValidation.h
Generated by
1.12.0