37 PtrList<PointField<Type>> procFields
52 procMeshes_[proci].time().name(),
64 Field<Type> internalField(completeMesh_.
size());
67 PtrList<pointPatchField<Type>> patchFields(completeMesh_.
boundary().
size());
72 const PointField<Type>&
73 procField = procFields[proci];
76 const labelList& procToGlobalAddr = pointProcAddressing_[proci];
81 procField.primitiveField(),
89 const label curBPatch =
95 if (!patchFields(curBPatch))
102 procField.boundaryField()[
patchi],
103 completeMesh_.
boundary()[curBPatch],
105 setSizePointPatchFieldMapper
113 patchFields[curBPatch].map
115 procField.boundaryField()[
patchi],
116 reversePointPatchFieldMapper
118 patchPointAddressing_[proci][
patchi]
127 return tmp<PointField<Type>>
133 fieldIoObject.name(),
134 completeMesh_().time().
name(),
140 procFields[0].dimensions(),
153 const HashSet<word>& selectedFields
165 Info<<
" Reconstructing " << fieldClassName <<
"s\n" <<
endl;
171 !selectedFields.size()
172 || selectedFields.found(fieldIter()->
name())
175 Info<<
" " << fieldIter()->name() <<
endl;
177 reconstructField<Type>(*fieldIter())().
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 polyMesh &mesh)
static const DimensionedField< Type, GeoMesh > & null()
Return a null DimensionedField.
static const char *const typeName
label size() const
Return the number of elements in the UPtrList.
tmp< PointField< Type > > reconstructField(const IOobject &fieldIoObject)
Reconstruct field.
void reconstructFields(const IOobjectList &objects, const HashSet< word > &selectedFields)
Reconstruct and write all fields.
label size() const
Return number of points.
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.
A class for managing temporary objects.
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
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
List< label > labelList
A List of labels.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const complex &)
Return a string representation of a complex.