41 fieldName_(
dict.lookup(
"field")),
42 interpolationScheme_(
dict.lookup(
"interpolationScheme"))
68 values.
append(allTimes[i].value());
74 Info<< mesh_.type() <<
" : found " << fieldName_ <<
" for times "
75 << timeNames_ <<
endl;
77 if (timeNames_.
size() < 1)
80 <<
"Did not find any times with " << fieldName_
97 if (!interpolatorPtr_.valid())
101 interpolationScheme_,
113 interpolatorPtr_->valueWeights
139 ReadFields<pointVectorField>
148 if (!oldTimes.
found(fieldsCacheIter.key()))
158 >(*fieldsCacheIter());
170 uniformInterpolate<pointVectorField>
174 word(
"uniformInterpolate(") + fieldName_ +
')',
191 writeEntry(os,
"interpolationScheme", interpolationScheme_);
Field reading functions for post-processing utilities.
#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)
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
A HashTable with keys but without contents.
List< Key > toc() const
Return the table of contents.
bool found(const Key &) const
Return true if hashedEntry is found in table.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const Time & time() const
Return time.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static instantList findTimes(const fileName &, const word &constantName="constant")
Search a given directory for valid time directories.
scalar userTimeValue() const
Return current user time value.
A List with indirect addressing.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return const reference to name.
void write(Ostream &) const
Write.
~dynamicMeshPointInterpolator()
Destructor.
tmp< pointVectorField > curPointField() const
Return interpolated pointField for the currentTime.
dynamicMeshPointInterpolator(const polyMesh &mesh, const dictionary &dict)
Construct from mesh and dictionary.
static autoPtr< interpolationWeights > New(const word &type, const scalarField &samples)
Return a reference to the selected interpolationWeights.
Registry of regIOobjects.
Type & lookupObjectRef(const word &name) const
Lookup and return the object reference of the given Type.
const objectRegistry & subRegistry(const word &name, const bool forceCreate=false) const
Lookup and return a const sub-objectRegistry. Optionally create.
Mesh representing a set of points created from polyMesh.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
Templated form of IOobject providing type information for file reading and header type checking.
bool headerOk()
Read header (uses typeGlobalFile to find file) and check.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
U correctBoundaryConditions()
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
word name(const complex &)
Return a string representation of a complex.