foamVtuSizingI.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) 2017-2025 OpenCFD Ltd.
9 -------------------------------------------------------------------------------
10 License
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 
26 \*---------------------------------------------------------------------------*/
27 
28 #include "foamVtuSizing.H"
29 
30 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
31 
32 inline bool Foam::vtk::vtuSizing::decompose() const noexcept
33 {
34  return decompose_;
35 }
36 
37 
39 {
40  return manifold_;
41 }
42 
43 
46 {
47  return selectionMode_;
48 }
49 
50 
51 inline Foam::label Foam::vtk::vtuSizing::nCells() const noexcept
52 {
53  return nCells_;
54 }
55 
56 
57 inline Foam::label Foam::vtk::vtuSizing::nPoints() const noexcept
58 {
59  return nPoints_;
60 }
61 
62 
63 inline Foam::label Foam::vtk::vtuSizing::nVertLabels() const noexcept
64 {
65  return nVertLabels_;
66 }
67 
68 
69 inline Foam::label Foam::vtk::vtuSizing::nFaceLabels() const noexcept
70 {
71  return nFaceLabels_;
72 }
73 
74 
75 inline Foam::label Foam::vtk::vtuSizing::nCellsPoly() const noexcept
76 {
77  return nCellsPoly_;
78 }
79 
80 
81 inline Foam::label Foam::vtk::vtuSizing::nFacesPoly() const noexcept
82 {
83  return nFacesPoly_;
84 }
85 
86 
87 inline Foam::label Foam::vtk::vtuSizing::nVertPoly() const noexcept
88 {
89  return nVertPoly_;
90 }
91 
92 
93 inline Foam::label Foam::vtk::vtuSizing::nAddCells() const noexcept
94 {
95  return nAddCells_;
96 }
97 
98 
99 inline Foam::label Foam::vtk::vtuSizing::nAddPoints() const noexcept
100 {
101  return nAddPoints_;
102 }
103 
105 inline Foam::label Foam::vtk::vtuSizing::nAddVerts() const noexcept
106 {
107  return nAddVerts_;
108 }
109 
111 inline Foam::label Foam::vtk::vtuSizing::nFieldCells() const noexcept
112 {
113  return (nCells_ + nAddCells_);
114 }
115 
116 
117 inline Foam::label Foam::vtk::vtuSizing::nFieldPoints() const noexcept
118 {
119  return (nPoints_ + nAddPoints_);
120 }
121 
122 
123 // ************************************************************************* //
label nFacesPoly() const noexcept
Number of (non-unique) faces used by polyhedral cells.
label nVertLabels() const noexcept
Number of vertex labels for the mesh.
label nAddVerts() const noexcept
Number of additional (decomposed) vertices for the mesh.
bool decompose() const noexcept
Query the decompose flag (normally off)
label nVertPoly() const noexcept
Number of vertex labels for polyhedral cells of the mesh.
label nFaceLabels() const noexcept
Number of polyhedral face labels for the mesh, without any prefixing information. ...
label nFieldPoints() const noexcept
Number of field points = nPoints + nAddPoints.
label nAddPoints() const noexcept
Number of additional (decomposed) points for the mesh.
selectionModeType
How the mesh cells have been selected or defined.
label nCells() const noexcept
Number of cells for the mesh.
bool manifold() const noexcept
Manifold mesh cells detected? Globally consistent quantity.
const direction noexcept
Definition: scalarImpl.H:265
label nFieldCells() const noexcept
Number of field cells = nCells + nAddCells.
label nPoints() const noexcept
Number of points for the mesh.
label nAddCells() const noexcept
Number of additional (decomposed) cells for the mesh.
label nCellsPoly() const noexcept
Number of output polyhedral cells for the mesh.
selectionModeType selectionMode() const noexcept
Query how the mesh cells have been selected or defined.