33 #ifndef MapLagrangianFields_H 34 #define MapLagrangianFields_H 63 const word& fieldName = fieldIter()->name();
65 Info<<
" mapping lagrangian field " << fieldName <<
endl;
88 fieldTarget[i] = fieldSource[addParticles[i]];
102 const word& fieldName = fieldIter()->name();
104 Info<<
" mapping lagrangian fieldField " << fieldName <<
endl;
128 fieldTarget[i] = fieldSource[addParticles[i]];
142 Info<<
" mapping lagrangian fieldField " 143 << fieldIter()->name() <<
endl;
166 fieldTarget[i] = fieldSource[addParticles[i]];
#define forAll(list, i)
Loop across all elements in list.
List of IOobjects with searching and retrieving facilities.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Info<< "Calculating turbulent flame speed field St\"<< endl;volScalarField St(IOobject("St", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
void MapLagrangianFields(const string &cloudName, const IOobjectList &objects, const meshToMesh0 &meshToMesh0Interp, const labelList &addParticles)
Gets the indices of (source)particles that have been appended to the.
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
const Time & time() const
Return time.
static const word prefix
The prefix to local: lagrangian.
word name(const complex &)
Return a string representation of a complex.
IOobjectList lookupClass(const word &className) const
Return the list for all IOobjects of a given class.
A Field of objects of type <T> with automated input and output using a compact storage. Behaves like IOField except when binary output in case it writes a CompactListList.
Mesh consisting of general polyhedral cells.
const word cloudName(propsDict.lookup("cloudName"))
virtual bool write(const bool write=true) const
Write using setting from DB.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A primitive field of type <T> with automated input and output.