41 fieldName_(dict.
lookup(
"field")),
42 interpolationScheme_(dict.
lookup(
"interpolationScheme"))
66 names.append(allTimes[i].
name());
67 values.append(allTimes[i].value());
70 timeNames_.transfer(names);
71 timeVals_.transfer(values);
73 Info<< mesh_.type() <<
" : found " << fieldName_ <<
" for times " 74 << timeNames_ <<
endl;
76 if (timeNames_.size() < 1)
79 <<
"Did not find any times with " << fieldName_
96 if (!interpolatorPtr_.valid())
100 interpolationScheme_,
112 interpolatorPtr_->valueWeights
138 ReadFields<pointVectorField>
147 if (!oldTimes.found(fieldsCacheIter.key()))
157 >(*fieldsCacheIter());
169 uniformInterpolate<pointVectorField>
173 word(
"uniformInterpolate(") + fieldName_ +
')',
190 writeEntry(os,
"interpolationScheme", interpolationScheme_);
static autoPtr< interpolationWeights > New(const word &type, const scalarField &samples)
Return a reference to the selected interpolationWeights.
A HashTable with keys but without contents.
#define forAll(list, i)
Loop across all elements in list.
bool typeHeaderOk(const bool checkType=true)
Read header (uses typeFilePath to find file) and check header.
rDeltaT correctBoundaryConditions()
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void size(const label)
Override size to be inconsistent with allocated storage.
Type & lookupObjectRef(const word &name) const
Lookup and return the object reference of the given Type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Field reading functions for post-processing utilities.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static const pointMesh & New(const polyMesh &mesh)
Mesh representing a set of points created from polyMesh.
dynamicMeshPointInterpolator(const polyMesh &mesh, const dictionary &dict)
Construct from mesh and dictionary.
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
A class for handling words, derived from string.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
~dynamicMeshPointInterpolator()
Destructor.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
word name(const complex &)
Return a string representation of a complex.
scalar timeOutputValue() const
Return current time value.
const Time & time() const
Return time.
A List with indirect addressing.
void write(Ostream &) const
Write.
const objectRegistry & subRegistry(const word &name, const bool forceCreate=false) const
Lookup and return a const sub-objectRegistry. Optionally create.
Mesh consisting of general polyhedral cells.
List< Key > toc() const
Return the table of contents.
tmp< pointVectorField > curPointField() const
Return interpolated pointField for the currentTime.
A class for managing temporary objects.
Registry of regIOobjects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
fileName path(UMean.rootPath()/UMean.caseName()/functionObjects::writeFile::outputPrefix/"graphs"/UMean.instance())