Go to the documentation of this file.
33 #ifndef MapLagrangianFields_H
34 #define MapLagrangianFields_H
65 Info<<
" mapping lagrangian field "
66 << fieldIter()->name() <<
endl;
89 fieldTarget[i] = fieldSource[addParticles[i]];
103 Info<<
" mapping lagrangian fieldField "
104 << fieldIter()->name() <<
endl;
128 fieldTarget[i] = fieldSource[addParticles[i]];
142 Info<<
" mapping lagrangian fieldField "
143 << fieldIter()->name() <<
endl;
166 fieldTarget[i] = fieldSource[addParticles[i]];
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
A primitive field of type <T> with automated input and output.
#define forAll(list, i)
Loop across all elements in list.
Info<< "Creating field dpdt\n"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar("dpdt", p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\n"<< endl;volScalarField K("K", 0.5 *magSqr(U));volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p - rho *gh;mesh.setFluxRequired(p_rgh.name());multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
virtual bool write() const
Write using setting from DB.
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....
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.
Mesh data needed to do the Finite Volume discretisation.
IOobjectList lookupClass(const word &className) const
Return the list for all IOobjects of a given class.
List of IOobjects with searching and retrieving facilities.
static const word prefix
The prefix to local: lagrangian.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const word cloudName(propsDict.lookup("cloudName"))
const Time & time() const
Return the top-level database.
void size(const label)
Override size to be inconsistent with allocated storage.
mesh to mesh interpolation class.
word name(const complex &)
Return a string representation of a complex.
const fvMesh & toMesh() const