cellQuality.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) 2011 OpenFOAM Foundation
9-------------------------------------------------------------------------------
10License
11 This file is part of OpenFOAM.
12
13 OpenFOAM is free software: you can redistribute it and/or modify it
14 under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26Class
27 Foam::cellQuality
28
29Description
30 Class calculates cell quality measures.
31
32SourceFiles
33 cellQuality.C
34
35\*---------------------------------------------------------------------------*/
36
37#ifndef cellQuality_H
38#define cellQuality_H
39
40#include "polyMesh.H"
41
42// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43
44namespace Foam
45{
46
47
48/*---------------------------------------------------------------------------*\
49 Class cellQuality Declaration
50\*---------------------------------------------------------------------------*/
52class cellQuality
53{
54 // Private data
55
56 //- Reference to mesh
57 const polyMesh& mesh_;
58
59
60 // Private Member Functions
61
62 //- No copy construct
63 cellQuality(const cellQuality&) = delete;
64
65 //- No copy assignment
66 void operator=(const cellQuality&) = delete;
67
68
69public:
70
71 // Constructors
72
73 //- Construct from mesh
75
76
77 // Destructor - default
78
79
80 // Member Functions
81
82 //- Return cell non-orthogonality
84
85 //- Return cell skewness
87
88 //- Return face non-orthogonality
90
91 //- Return face skewness
93};
94
95
96// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
97
98} // End namespace Foam
99
100// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
101
102#endif
103
104// ************************************************************************* //
Class calculates cell quality measures.
Definition: cellQuality.H:52
tmp< scalarField > nonOrthogonality() const
Return cell non-orthogonality.
Definition: cellQuality.C:42
tmp< scalarField > skewness() const
Return cell skewness.
Definition: cellQuality.C:104
tmp< scalarField > faceSkewness() const
Return face skewness.
Definition: cellQuality.C:243
tmp< scalarField > faceNonOrthogonality() const
Return face non-orthogonality.
Definition: cellQuality.C:183
Mesh consisting of general polyhedral cells.
Definition: polyMesh.H:81
A class for managing temporary objects.
Definition: tmp.H:65
dynamicFvMesh & mesh
Namespace for OpenFOAM.