45 flatFld[cellI] = fld[cellI];
54 -fld.
mesh().nInternalFaces()
59 flatFld[nCompact++] = pfld[i];
67 stencilFld.setSize(stencil.
size());
71 const labelList& compactCells = stencil[faceI];
77 stencilFld[faceI][i] = flatFld[compactCells[i]];
97 collectData(map, stencil, fld, stencilFld);
126 const List<Type>& stField = stencilFld[faceI];
131 sf[faceI] += stField[i]*stWeight[i];
138 GeometricBoundaryField& bSfCorr = sf.boundaryField();
150 const List<Type>& stField = stencilFld[faceI];
155 pSfCorr[i] += stField[j]*stWeight[j];
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > weightedSum(const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< scalar > > &stencilWeights)
Sum vol field contributions to create face values.
virtual bool coupled() const
Return true if this patch field is coupled.
Mesh data needed to do the Finite Volume discretisation.
static void distribute(const Pstream::commsTypes commsType, const List< labelPair > &schedule, const label constructSize, const labelListList &subMap, const labelListList &constructMap, List< T > &, const int tag=UPstream::msgType())
Distribute data. Note:schedule only used for Pstream::scheduled.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
const fvPatch & patch() const
Return patch.
Class containing processor-to-processor mapping information.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
void size(const label)
Override size to be inconsistent with allocated storage.
const Mesh & mesh() const
Return mesh.
volScalarField sf(fieldObject, mesh)
const Time & time() const
Return the top-level database.
Generic dimensioned Type class.
void setSize(const label)
Reset size of List.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet & dimensions() const
Return dimensions.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const word & name() const
Return name.
label nInternalFaces() const
Generic GeometricField class.
Traits class for primitives.
static void collectData(const mapDistribute &map, const labelListList &stencil, const GeometricField< T, fvPatchField, volMesh > &fld, List< List< T > > &stencilFld)
Use map to get the data into stencil order.
const fvPatch & patch() const
Return patch.
A class for managing temporary objects.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
label constructSize() const
Constructed data size.