45 fixedValuePointPatchVectorField(p, iF),
58 fixedValuePointPatchVectorField(p, iF, dict,
false),
61 if (!dict.
found(
"value"))
64 fixedValuePointPatchVectorField::operator==
66 transform(SBMFPtr_().transformation(), localPoints0())
82 fixedValuePointPatchVectorField(ptf, p, iF, mapper),
83 SBMFPtr_(ptf.SBMFPtr_().clone().ptr())
87 fixedValuePointPatchVectorField::operator==
89 transform(SBMFPtr_().transformation(), localPoints0())
101 fixedValuePointPatchVectorField(ptf),
102 SBMFPtr_(ptf.SBMFPtr_().clone().ptr())
113 fixedValuePointPatchVectorField(ptf, iF),
114 SBMFPtr_(ptf.SBMFPtr_().clone().ptr())
118 fixedValuePointPatchVectorField::operator==
120 transform(SBMFPtr_().transformation(), localPoints0())
131 if (!localPoints0Ptr_.valid())
147 localPoints0Ptr_.reset(
new pointField(points0, patch().meshPoints()));
149 return localPoints0Ptr_();
161 fixedValuePointPatchVectorField::operator==
167 fixedValuePointPatchVectorField::updateCoeffs();
177 os.
writeKeyword(solidBodyMotionFunction::typeName) << SBMFPtr_->type()
179 os <<
indent <<
word(SBMFPtr_->type() +
"Coeffs");
180 SBMFPtr_->writeData(os);
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Basic pointPatch represents a set of points from the mesh.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
static autoPtr< solidBodyMotionFunction > New(const dictionary &SBMFCoeffs, const Time &runTime)
Select constructed from the SBMFCoeffs dictionary and Time.
Ostream & indent(Ostream &os)
Indent stream.
A class for handling words, derived from string.
A list of keyword definitions, which are a keyword followed by any number of values (e...
vectorField pointField
pointField is a vectorField.
Enables the specification of a fixed value boundary condition using the solid body motion functions...
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
dimensionSet transform(const dimensionSet &)
Spatial transformation functions for primitive fields.
Macros for easy insertion into run-time selection tables.
const pointField & localPoints0() const
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Foam::pointPatchFieldMapper.
Constant dispersed-phase particle diameter model.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
solidBodyMotionDisplacementPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.