Go to the documentation of this file.
47 <<
"Addressing already calculated"
69 if (addr[faceI] > oldNInternal)
95 if (
max(addr[faceI]) >= oldNInternal)
118 if (insFaces[faceI] <
size())
120 ins[nIns] = insFaces[faceI];
156 directAddrPtr_(NULL),
157 interpolationAddrPtr_(NULL),
159 insertedObjectLabelsPtr_(NULL)
178 <<
"Requested direct addressing for an interpolative mapper."
187 return *directAddrPtr_;
196 <<
"Requested interpolative addressing for a direct mapper."
200 if (!interpolationAddrPtr_)
205 return *interpolationAddrPtr_;
214 <<
"Requested interpolative weights for a direct mapper."
229 if (!insertedObjectLabelsPtr_)
234 return *insertedObjectLabelsPtr_;
const faceMapper & faceMap_
Reference to face mapper.
List< scalar > scalarList
A List of scalars.
virtual const labelUList & directAddressing() const
Return direct addressing.
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
scalarListList * weightsPtr_
Interpolation weights.
List< label > labelList
A List of labels.
#define forAll(list, i)
Loop across all elements in list.
A List obtained as a section of another List.
virtual const labelListList & addressing() const
Return interpolated addressing.
fvSurfaceMapper(const fvSurfaceMapper &)
Disallow default bitwise copy construct.
labelList * directAddrPtr_
Direct addressing (only one for of addressing is used)
void clearOut()
Clear out local storage.
virtual const labelUList & directAddressing() const
Return direct addressing.
void deleteDemandDrivenData(DataPtr &dataPtr)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual label size() const
Return size.
virtual bool direct() const
Is the mapping direct.
virtual ~fvSurfaceMapper()
Destructor.
virtual const scalarListList & weights() const
Return interpolaion weights.
This object provides mapping and fill-in information for face data between the two meshes after the t...
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
void setSize(const label)
Reset size of List.
List< labelList > labelListList
A List of labelList.
labelListList * interpolationAddrPtr_
Interpolated addressing (only one for of addressing is used)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void calcAddressing() const
Calculate addressing.
virtual const labelList & insertedObjectLabels() const
Return list of inserted faces.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual const labelList & insertedObjectLabels() const
Return list of inserted faces.
virtual bool insertedObjects() const
Are there any inserted faces.
void size(const label)
Override size to be inconsistent with allocated storage.
List< scalarList > scalarListList
virtual label nOldInternalFaces() const
Return number of old internalFaces.
virtual const labelListList & addressing() const
Return interpolated addressing.
virtual const scalarListList & weights() const
Return interpolaion weights.
labelList * insertedObjectLabelsPtr_
Inserted faces.