36 template<
class>
class ReadIOContainer,
37 template<
class>
class IOContainer
39 void Foam::lagrangianFieldDecomposer::decomposeFields
44 const word& fieldClassName = ReadIOContainer<Type>::typeName;
50 Info<<
nl <<
" Decomposing " << fieldClassName <<
"s" <<
nl <<
endl;
54 Info<<
" " << fieldIter()->name() <<
endl;
56 const PtrList<IOContainer<Type>> procFields =
57 decomposeField<Type, ReadIOContainer, IOContainer>
64 procFields[proci].write();
76 template<
class>
class ReadIOContainer,
77 template<
class>
class IOContainer
86 const ReadIOContainer<Type> field(fieldIoObject);
100 procMeshes_[proci].time().name(),
117 void Foam::lagrangianFieldDecomposer::decomposeFields
122 decomposeFields<Type, IOField, IOField>(
objects);
#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.
A Field of objects of type <Type> with automated input and output using a compact storage....
Pre-declare SubField and related Field type.
A primitive field of type <Type> with automated input and output.
List of IOobjects with searching and retrieving facilities.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool set(const label) const
Is element set.
PtrList< IOContainer< Type > > decomposeField(const IOobject &) const
Read and Decompose a field.
static const word prefix
The prefix to local: lagrangian.
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.