Go to the documentation of this file.
49 mesh_.time().timeName(),
57 auto&
field = tfield.ref();
59 for (
const fvMesh& localMesh : procMeshes_)
65 localMesh.time().timeName(),
76 const label offset =
field.size();
77 field.setSize(offset + localField.size());
81 field[offset + j] = localField[j];
104 mesh_.time().timeName(),
112 auto&
field = tfield.ref();
114 for (
const fvMesh& localMesh : procMeshes_)
120 localMesh.time().timeName(),
138 const label offset =
field.size();
139 field.setSize(offset + localField.size());
143 field[offset + j] = localField[j];
170 Info<<
" Reconstructing lagrangian "
171 << fieldType::typeName <<
"s\n" <<
nl;
196 selectedFields.empty()
217 selectedFields.empty()
218 ? objects.
names<fieldType>()
219 : objects.
names<fieldType>(selectedFields)
237 Info<<
" Reconstructing lagrangian "
238 << fieldType::typeName <<
"s\n" <<
nl;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
tmp< CompactIOField< Field< Type >, Type > > reconstructFieldField(const word &cloudName, const word &fieldName)
Reconstruct a single field-field for given cloud.
const word cloudName(propsDict.get< word >("cloud"))
A class for handling words, derived from Foam::string.
A primitive field of type <T> with automated input and output.
A class for managing temporary objects.
label reconstructFieldFields(const word &cloudName, const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Reconstruct multiple field-field for given cloud.
wordList sortedNames() const
The sorted names of the IOobjects.
label reconstructFields(const word &cloudName, const IOobjectList &objects, const UList< word > &fieldNames)
Reconstruct multiple fields for given cloud.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A Field of objects of type <T> with automated input and output using a compact storage....
wordList names() const
The names of the IOobjects.
tmp< IOField< Type > > reconstructField(const word &cloudName, const word &fieldName)
Reconstruct a single field for given cloud.
#define forAll(list, i)
Loop across all elements in list.
Generic templated field type.
messageStream Info
Information stream (stdout output on master, null elsewhere)
const IOobject * cfindObject(const word &objName) const
Return const pointer to the object found by name.
const wordRes fieldNames(propsDict.getOrDefault< wordRes >("fields", wordRes()))
Mesh data needed to do the Finite Volume discretisation.
List of IOobjects with searching and retrieving facilities.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A List of wordRe with additional matching capabilities.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)