Loading...
Searching...
No Matches
raySearchEngineI.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) 2023-2024 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/>.
25
26\*---------------------------------------------------------------------------*/
29{
30 return mesh_;
31}
32
33
35{
36 if (!mapPtr_)
37 {
39 << "mapDistribute has not been set"
40 << abort(FatalError);
41 }
42
43 return mapPtr_;
44}
45
46
47const Foam::labelList&
52
53
58}
59
64}
65
71
72
75 if (nCoarseFace_ == -1) return nFace_;
76 return nCoarseFace_;
77}
78
79
85
86
92
93
96{
97 return allAgg_;
98}
99
100
101// ************************************************************************* //
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Definition List.H:72
const mapDistribute & map() const
Parallel map.
label nParticipatingFaces() const
Number of participating faces.
globalIndex globalNumbering_
Global numbering.
const fvMesh & mesh_
Reference to the mesh.
const List< labelField > & allAgg() const noexcept
List of all face agglomeration index per processor.
label nFace_
Number of original faces.
const globalIndex & globalNumbering() const noexcept
Global numbering.
List< pointField > allCf_
List of all face centres per processor.
const labelList & compactToGlobal() const noexcept
Compact to global addressing.
List< vectorField > allSf_
List of all face areas per processor.
autoPtr< mapDistribute > mapPtr_
Parallel map.
labelList compactToGlobal_
Compact to global addressing.
scalarList patchAreas_
Patch areas.
const fvMesh & mesh() const noexcept
Reference to the mesh.
const List< pointField > & allCf() const noexcept
List of all face centres per processor.
label nCoarseFace_
Number of coarse faces.
const List< vectorField > & allSf() const noexcept
List of all face areas per processor.
const labelList & patchIDs() const noexcept
List of participating patch IDs.
List< labelField > allAgg_
List of all face agglomeration index per processor.
const scalarList & patchAreas() const noexcept
Patch areas.
labelList patchIDs_
List of participating patch IDs.
Mesh data needed to do the Finite Volume discretisation.
Definition fvMesh.H:85
Calculates a non-overlapping list of offsets based on an input size (eg, number of cells) from differ...
Definition globalIndex.H:77
Class containing processor-to-processor mapping information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Definition error.H:600
List< label > labelList
A List of labels.
Definition List.H:62
errorManip< error > abort(error &err)
Definition errorManip.H:139
const direction noexcept
Definition scalarImpl.H:265
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
List< scalar > scalarList
List of scalar.
Definition scalarList.H:32