Go to the documentation of this file.
63 interpolationScheme_(
dict.
lookup(
"interpolationScheme"))
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_
192 ReadFields<pointVectorField>
201 if (!oldTimes.
found(fieldsCacheIter.key()))
211 >(*fieldsCacheIter());
230 uniformInterpolate<pointVectorField>
234 word(
"uniformInterpolate(")
scalar timeOutputValue() const
Return current time value.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
DimensionedInternalField & dimensionedInternalField()
Return dimensioned internal field.
A class for handling words, derived from string.
static autoPtr< interpolationWeights > New(const word &type, const scalarField &samples)
Return a reference to the selected interpolationWeights.
List< Key > toc() const
Return the table of contents.
#define forAll(list, i)
Loop across all elements in list.
rDeltaT dimensionedInternalField()
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
tmp< Field< Type > > patchInternalField() const
Return field created from appropriate internal field values.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Basic pointPatch represents a set of points from the mesh.
A HashTable with keys but without contents.
const Time & time() const
Return time.
Abstract base class for point-mesh patch fields.
Foam::pointPatchFieldMapper.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
Registry of regIOobjects.
bool headerOk()
Read and check header info.
const objectRegistry & subRegistry(const word &name, const bool forceCreate=false) const
Lookup and return a const sub-objectRegistry. Optionally create.
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
bool found(const Key &) const
Return true if hashedEntry is found in table.
Mesh representing a set of points created from polyMesh.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool updated() const
Return true if the boundary condition has already been updated.
void correctBoundaryConditions()
Correct boundary field.
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Helper routine to read fields.
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...
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.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
A List with indirect addressing.
const DimensionedField< Type, pointMesh > & dimensionedInternalField() const
Return dimensioned internal field reference.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
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,...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
word name(const complex &)
Return a string representation of a complex.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...