45 fixedValuePointPatchVectorField(p, iF),
58 fixedValuePointPatchVectorField(p, iF, dict,
false),
61 if (!dict.
found(
"value"))
64 fixedValuePointPatchVectorField::operator==
82 fixedValuePointPatchVectorField(ptf, p, iF, mapper),
83 SBMFPtr_(ptf.SBMFPtr_().clone().ptr())
87 fixedValuePointPatchVectorField::operator==
102 fixedValuePointPatchVectorField(ptf, iF),
103 SBMFPtr_(ptf.SBMFPtr_().clone().ptr())
107 fixedValuePointPatchVectorField::operator==
120 if (!localPoints0Ptr_.valid())
127 this->db().time().constant(),
136 localPoints0Ptr_.reset(
new pointField(points0, patch().meshPoints()));
138 return localPoints0Ptr_();
150 fixedValuePointPatchVectorField::operator==
156 fixedValuePointPatchVectorField::updateCoeffs();
166 writeEntry(os, solidBodyMotionFunction::typeName, SBMFPtr_->type());
167 os <<
indent <<
word(SBMFPtr_->type() +
"Coeffs");
168 SBMFPtr_->writeData(os);
const pointField & localPoints0() const
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
Foam::pointPatchFieldMapper.
Macros for easy insertion into run-time selection tables.
vectorField pointField
pointField is a vectorField.
virtual void write(Ostream &) const
Write.
A class for handling words, derived from string.
static autoPtr< solidBodyMotionFunction > New(const dictionary &SBMFCoeffs, const Time &runTime)
Select constructed from the SBMFCoeffs dictionary and Time.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Basic pointPatch represents a set of points from the mesh.
void transformPoints(vectorField &, const spatialTransform &, const vectorField &)
Transform given vectorField of coordinates with the given spatialTransform.
Enables the specification of a fixed value boundary condition using the solid body motion functions...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
solidBodyMotionDisplacementPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A primitive field of type <T> with automated input and output.