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());
223 uniformInterpolate<pointVectorField>
227 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.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
#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.
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.
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.
A class for handling words, derived from string.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
U correctBoundaryConditions()
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
tmp< Field< vector > > patchInternalField() const
Return field created from appropriate internal field values.
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.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
word name(const complex &)
Return a string representation of a complex.
const DimensionedField< vector, pointMesh > & internalField() const
Return dimensioned internal field reference.
static instantList findTimes(const fileName &, const word &constantName="constant")
Search a given directory for valid time directories.
virtual void write(Ostream &) const
Write.
const Mesh & mesh() const
scalar timeOutputValue() const
Return current time value.
Basic pointPatch represents a set of points from the mesh.
const Time & time() const
Return time.
A List with indirect addressing.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
bool updated() const
Return true if the boundary condition has already been updated.
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
const objectRegistry & subRegistry(const word &name, const bool forceCreate=false) const
Lookup and return a const sub-objectRegistry. Optionally create.
List< Key > toc() const
Return the table of contents.
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.