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