62 fieldName_(dict.
lookup(
"field")),
63 interpolationScheme_(dict.
lookup(
"interpolationScheme"))
87 names.append(allTimes[i].
name());
88 values.append(allTimes[i].value());
91 timeNames_.transfer(names);
92 timeVals_.transfer(values);
94 Info<<
type() <<
" : found " << fieldName_ <<
" for times " 95 << timeNames_ <<
endl;
97 if (timeNames_.size() < 1)
100 <<
"Did not find any times with " << fieldName_
105 if (!dict.
found(
"value"))
122 fieldName_(ptf.fieldName_),
123 interpolationScheme_(ptf.interpolationScheme_),
124 timeNames_(ptf.timeNames_),
125 timeVals_(ptf.timeVals_),
126 interpolatorPtr_(ptf.interpolatorPtr_)
138 fieldName_(ptf.fieldName_),
139 interpolationScheme_(ptf.interpolationScheme_),
140 timeNames_(ptf.timeNames_),
141 timeVals_(ptf.timeVals_),
142 interpolatorPtr_(ptf.interpolatorPtr_)
155 if (!interpolatorPtr_.valid())
159 interpolationScheme_,
168 bool timesChanged = interpolatorPtr_->valueWeights
192 ReadFields<pointVectorField>
201 if (!oldTimes.found(fieldsCacheIter.key()))
211 >(*fieldsCacheIter());
230 uniformInterpolate<pointVectorField>
234 word(
"uniformInterpolate(")
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool updated() const
Return true if the boundary condition has already been updated.
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.
Foam::pointPatchFieldMapper.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
Field reading functions for post-processing utilities.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
Mesh representing a set of points created from polyMesh.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
const objectRegistry & subRegistry(const word &name, const bool forceCreate=false) const
Lookup and return a const sub-objectRegistry. Optionally create.
A class for handling words, derived from string.
const Time & time() const
Return time.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
List< Key > toc() const
Return the table of contents.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
word name(const complex &)
Return a string representation of a complex.
static instantList findTimes(const fileName &, const word &constantName="constant")
Search a given directory for valid time directories.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Basic pointPatch represents a set of points from the mesh.
scalar timeOutputValue() const
Return current time value.
A List with indirect addressing.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
void correctBoundaryConditions()
Correct boundary field.
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
bool headerOk()
Read and check header info.
const DimensionedField< vector, pointMesh > & internalField() const
Return dimensioned internal field reference.
virtual void write(Ostream &) const
Write.
Registry of regIOobjects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
tmp< Field< vector > > patchInternalField() const
Return field created from appropriate internal field values.
const Mesh & mesh() const
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.