45uniformInterpolatedDisplacementPointPatchVectorField::
46uniformInterpolatedDisplacementPointPatchVectorField
56uniformInterpolatedDisplacementPointPatchVectorField::
57uniformInterpolatedDisplacementPointPatchVectorField
66 interpolationScheme_(
dict.
lookup(
"interpolationScheme"))
77 for (
const instant& inst : allTimes)
91 values.append(inst.value());
97 Info<<
type() <<
" : found " << fieldName_ <<
" for times "
98 << timeNames_ <<
endl;
100 if (timeNames_.
size() < 1)
103 <<
"Did not find any times with " << fieldName_
115uniformInterpolatedDisplacementPointPatchVectorField::
116uniformInterpolatedDisplacementPointPatchVectorField
125 fieldName_(ptf.fieldName_),
126 interpolationScheme_(ptf.interpolationScheme_),
127 timeNames_(ptf.timeNames_),
128 timeVals_(ptf.timeVals_),
129 interpolatorPtr_(ptf.interpolatorPtr_)
133uniformInterpolatedDisplacementPointPatchVectorField::
134uniformInterpolatedDisplacementPointPatchVectorField
141 fieldName_(ptf.fieldName_),
142 interpolationScheme_(ptf.interpolationScheme_),
143 timeNames_(ptf.timeNames_),
144 timeVals_(ptf.timeVals_),
145 interpolatorPtr_(ptf.interpolatorPtr_)
158 if (!interpolatorPtr_)
162 interpolationScheme_,
171 bool timesChanged = interpolatorPtr_->valueWeights
195 ReadFields<pointVectorField>
204 if (!oldTimes.
found(fieldsCacheIter.key()))
214 >(*fieldsCacheIter());
229 uniformInterpolate<pointVectorField>
233 word(
"uniformInterpolate(")
263 os.
writeEntry(
"interpolationScheme", interpolationScheme_);
Field reading functions for post-processing utilities.
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Mesh & mesh() const
Return mesh.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
void correctBoundaryConditions()
Correct boundary field.
List< Key > toc() const
The table of contents (the keys) in unsorted order.
bool found(const Key &key) const
Return true if hashed entry is found in table.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
bool typeHeaderOk(const bool checkType=true, const bool search=true, const bool verbose=true)
Read header (uses typeFilePath to find file) and check its info.
void transfer(List< T > &list)
void append(const T &val)
Append an element at the end of the list.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
static instantList findTimes(const fileName &directory, const word &constantName="constant")
Search a given directory for valid time directories.
scalar timeOutputValue() const
Return current time value.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
static word timeName(const scalar t, const int precision=precision_)
A List with indirect addressing. Like IndirectList but does not store addressing.
void size(const label n)
Older name for setAddressableSize.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
A FixedValue boundary condition for pointField.
virtual bool write()
Write the output fields.
An instant of time. Contains the time value and name. Uses Foam::Time when formatting the name.
Registry of regIOobjects.
const objectRegistry & subRegistry(const word &name, const bool forceCreate=false, const bool recursive=false) const
Lookup and return a const sub-objectRegistry.
Type & lookupObjectRef(const word &name, const bool recursive=false) const
Mesh representing a set of points created from polyMesh.
const Time & time() const
Return Time from polyMesh.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
Foam::pointPatchFieldMapper.
tmp< Field< Type > > patchInternalField() const
Return field created from appropriate internal field values.
const DimensionedField< Type, pointMesh > & internalField() const
Return dimensioned internal field reference.
bool updated() const
Return true if the boundary condition has already been updated.
Basic pointPatch represents a set of points from the mesh.
Lookup type of boundary radiation properties.
A class for handling words, derived from Foam::string.
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
messageStream Info
Information stream (stdout output on master, null elsewhere)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define makePointPatchTypeField(PatchTypeField, typePatchTypeField)
#define forAllConstIters(container, iter)
Iterate across all elements of the container object with const access.