34 Foam::pointFieldDecomposer::decomposeField
36 const IOobject& fieldIoObject
40 const PointField<Type> field
55 PtrList<PointField<Type>> procFields(procMeshes_.size());
61 Field<Type> internalField
63 field.primitiveField(),
64 pointProcAddressing_[proci]
68 PtrList<pointPatchField<Type>> patchFields
70 procMesh.boundary().size()
83 field.boundaryField()[
patchi],
84 procMesh.boundary()[
patchi],
86 patchFieldDecomposers_[proci][
patchi]
95 new processorPointPatchField<Type>
97 procMesh.boundary()[
patchi],
113 procMesh().time().
name(),
145 Info<<
nl <<
" Decomposing " << fieldClassName <<
"s" <<
nl <<
endl;
149 Info<<
" " << fieldIter()->name() <<
endl;
151 PtrList<PointField<Type>> procFields =
152 decomposeField<Type>(*fieldIter());
156 procFields[proci].write();
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
static pointMesh & New(const word &name, const polyMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
static const DimensionedField< Type, GeoMesh > & null()
Return a null DimensionedField.
static const char *const typeName
const objectRegistry & db() const
Return the local objectRegistry.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
label size() const
Return the number of elements in the UPtrList.
const word & name() const
Return const reference to name.
const Time & time() const
Return time.
void decomposeFields(const IOobjectList &objects)
Read, decompose and write all fields.
const pointBoundaryMesh & boundary() const
Return reference to boundary mesh.
static autoPtr< pointPatchField< Type > > New(const word &, const pointPatch &, const DimensionedField< Type, pointMesh > &)
Return a pointer to a new patchField created on freestore given.
Info<< "Calculating turbulent flame speed field St\n"<< endl;volScalarField St(IOobject("St", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.