All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AMIInterpolationI.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
27 {
28  return singlePatchProc_;
29 }
30 
31 
33 {
34  return lowWeightCorrection_;
35 }
36 
37 
39 {
40  return lowWeightCorrection_ > 0;
41 }
42 
43 
45 {
46  return srcMagSf_;
47 }
48 
49 
51 {
52  return srcAddress_;
53 }
54 
55 
57 {
58  return srcWeights_;
59 }
60 
61 
63 {
64  return srcWeights_;
65 }
66 
67 
69 {
70  return srcWeightsSum_;
71 }
72 
73 
75 {
76  return srcWeightsSum_;
77 }
78 
79 
81 {
82  return srcMapPtr_();
83 }
84 
85 
87 {
88  return tgtMagSf_;
89 }
90 
91 
93 {
94  return tgtAddress_;
95 }
96 
97 
99 {
100  return tgtWeights_;
101 }
102 
103 
105 {
106  return tgtWeights_;
107 }
108 
109 
111 {
112  return tgtWeightsSum_;
113 }
114 
115 
117 {
118  return tgtWeightsSum_;
119 }
120 
121 
123 {
124  return tgtMapPtr_();
125 }
126 
127 
128 // ************************************************************************* //
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
label singlePatchProc() const
Set to -1, or the processor holding all faces (both sides) of.
const scalarListList & tgtWeights() const
Return const access to target patch weights.
const mapDistribute & srcMap() const
Source map pointer - valid only if singlePatchProc = -1.
const labelListList & tgtAddress() const
Return const access to target patch addressing.
const scalarField & srcMagSf() const
Return const access to source patch face areas.
const scalarField & tgtWeightsSum() const
Return const access to normalisation factor of target.
const scalarListList & srcWeights() const
Return const access to source patch weights.
const scalarField & srcWeightsSum() const
Return const access to normalisation factor of source.
Class containing processor-to-processor mapping information.
const mapDistribute & tgtMap() const
Target map pointer - valid only if singlePatchProc=-1.
scalar lowWeightCorrection() const
Threshold weight below which interpolation is deactivated.
const labelListList & srcAddress() const
Return const access to source patch addressing.
const scalarField & tgtMagSf() const
Return const access to target patch face areas.
bool applyLowWeightCorrection() const
Return true if employing a &#39;lowWeightCorrection&#39;.