OpenFOAM: API Guide
v2006
The open source CFD toolbox
indexedCellChecks.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | www.openfoam.com
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
Copyright (C) 2012-2016 OpenFOAM Foundation
9
Copyright (C) 2019 OpenCFD Ltd.
10
-------------------------------------------------------------------------------
11
License
12
This file is part of OpenFOAM.
13
14
OpenFOAM is free software: you can redistribute it and/or modify it
15
under the terms of the GNU General Public License as published by
16
the Free Software Foundation, either version 3 of the License, or
17
(at your option) any later version.
18
19
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22
for more details.
23
24
You should have received a copy of the GNU General Public License
25
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27
Namespace
28
Foam::foamyHexMeshChecks
29
30
Description
31
Collection of checks for foamyHexMesh
32
33
\*---------------------------------------------------------------------------*/
34
35
#ifndef indexedCellChecks_H
36
#define indexedCellChecks_H
37
38
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39
40
namespace
Foam
41
{
42
43
namespace
foamyHexMeshChecks
44
{
45
46
template
<
class
Cell>
47
scalar
coplanarTet
48
(
49
Cell&
c
,
50
const
scalar tol = 1
e
-12
51
);
52
53
template
<
class
Cell>
54
bool
closePoints
55
(
56
Cell&
c
,
57
const
scalar tol = 1
e
-12
58
);
59
60
template
<
class
Cell>
61
bool
smallVolume
62
(
63
Cell&
c
,
64
const
scalar tol = 0.0
65
);
66
67
68
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
69
70
}
// End namespace foamyHexMeshChecks
71
72
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
73
74
}
// End namespace Foam
75
76
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
77
78
#ifdef NoRepository
79
#include "
indexedCellChecks.C
"
80
#endif
81
82
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
83
84
#endif
85
86
// ************************************************************************* //
Foam::foamyHexMeshChecks::closePoints
bool closePoints(Cell &c, const scalar tol=1e-12)
indexedCellChecks.C
Foam::foamyHexMeshChecks::coplanarTet
scalar coplanarTet(Cell &c, const scalar tol=1e-12)
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::foamyHexMeshChecks::smallVolume
bool smallVolume(Cell &c, const scalar tol=0.0)
Foam::constant::electromagnetic::e
const dimensionedScalar e
Elementary charge.
Definition:
createFields.H:11
Foam::constant::universal::c
const dimensionedScalar c
Speed of light in a vacuum.
applications
utilities
mesh
generation
foamyMesh
conformalVoronoiMesh
conformalVoronoiMesh
indexedCell
indexedCellChecks.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.