40 const bool allowUnknownPatchFields
54 procMesh_.boundary()[
patchi],
68 procMesh_.time().timeName(),
86 Boundary& bf = resF.boundaryFieldRef();
90 if (patchFieldDecomposerPtrs_[
patchi])
98 procMesh_.boundary()[
patchi],
100 *patchFieldDecomposerPtrs_[
patchi]
104 else if (isA<processorCyclicFvPatch>(procMesh_.boundary()[
patchi]))
111 procMesh_.boundary()[
patchi],
116 *processorVolPatchFieldDecomposerPtrs_[
patchi]
121 else if (isA<processorFvPatch>(procMesh_.boundary()[
patchi]))
128 procMesh_.boundary()[
patchi],
133 *processorVolPatchFieldDecomposerPtrs_[
patchi]
138 else if (allowUnknownPatchFields)
145 procMesh_.boundary()[
patchi],
174 procMesh_.nInternalFaces()
209 allFaceField[patchStart + i] = p[i];
225 procMesh_.boundary()[
patchi],
238 procMesh_.time().timeName(),
256 Boundary& bf = resF.boundaryFieldRef();
260 if (patchFieldDecomposerPtrs_[
patchi])
268 procMesh_.boundary()[
patchi],
270 *patchFieldDecomposerPtrs_[
patchi]
274 else if (isA<processorCyclicFvPatch>(procMesh_.boundary()[
patchi]))
281 procMesh_.boundary()[
patchi],
286 *processorSurfacePatchFieldDecomposerPtrs_[
patchi]
291 else if (isA<processorFvPatch>(procMesh_.boundary()[
patchi]))
298 procMesh_.boundary()[
patchi],
303 *processorSurfacePatchFieldDecomposerPtrs_[
patchi]
320 template<
class GeoField>
328 decomposeField(fields[fieldi])().
write();
Foam::processorCyclicFvsPatchField.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
Generic GeometricField class.
A List obtained as a section of another List.
Foam::processorFvsPatchField.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Pre-declare SubField and related Field type.
bool set(const label) const
Is element set.
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
errorManip< error > abort(error &err)
const dimensionSet & dimensions() const
Return dimensions.
void decomposeFields(const PtrList< GeoField > &fields) const
This boundary condition enables processor communication across cyclic patches.
Internal & ref()
Return a reference to the dimensioned internal field.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const Mesh & mesh() const
Return mesh.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This boundary condition enables processor communication across patches.
This boundary condition provides an 'empty' condition for reduced dimensions cases, i.e. 1- and 2-D geometries. Apply this condition to patches whose normal is aligned to geometric directions that do not constitue solution directions.
Foam::calculatedFvsPatchField.
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const word & name() const
Return name.
tmp< GeometricField< Type, fvPatchField, volMesh > > decomposeField(const GeometricField< Type, fvPatchField, volMesh > &field, const bool allowUnknownPatchFields=false) const
Decompose volume field.