48 fixedValuePointPatchVectorField(
p, iF),
50 localPoints0Ptr_(nullptr)
64 localPoints0Ptr_(nullptr)
66 if (!
dict.found(
"value"))
69 fixedValuePointPatchVectorField::operator==
71 transformPoints(SBMFPtr_().transformation(), localPoints0())
87 fixedValuePointPatchVectorField(ptf,
p, iF, mapper),
88 SBMFPtr_(ptf.SBMFPtr_().clone()),
89 localPoints0Ptr_(nullptr)
93 fixedValuePointPatchVectorField::operator==
107 fixedValuePointPatchVectorField(ptf),
108 SBMFPtr_(ptf.SBMFPtr_().
clone()),
109 localPoints0Ptr_(nullptr)
120 fixedValuePointPatchVectorField(ptf, iF),
121 SBMFPtr_(ptf.SBMFPtr_().clone()),
122 localPoints0Ptr_(nullptr)
126 fixedValuePointPatchVectorField::operator==
139 if (!localPoints0Ptr_)
158 return *localPoints0Ptr_;
170 fixedValuePointPatchVectorField::operator==
176 fixedValuePointPatchVectorField::updateCoeffs();
186 os.writeEntry(solidBodyMotionFunction::typeName, SBMFPtr_->type());
189 SBMFPtr_->writeData(
os);
198 solidBodyMotionDisplacementPointPatchVectorField
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...
A simple container of IOobject preferences. Can also be used for general handling of read/no-read/rea...
@ NO_REGISTER
Do not request registration (bool: false).
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Foam::pointPatchFieldMapper.
Basic pointPatch represents a set of points from the mesh.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh").
Enables the specification of a fixed value boundary condition using the solid body motion functions.
virtual void write(Ostream &) const
Write.
const pointField & localPoints0() const
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
solidBodyMotionDisplacementPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
virtual autoPtr< pointPatchField< vector > > clone() const
Return a clone.
Base class for defining solid-body motions.
virtual void write(Ostream &) const
Write.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Different types of constants.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
vectorIOField pointIOField
pointIOField is a vectorIOField.
Ostream & indent(Ostream &os)
Indent stream.
pointPatchField< vector > pointPatchVectorField
vectorField pointField
pointField is a vectorField.
void transformPoints(vectorField &, const septernion &, const vectorField &)
Transform given vectorField of coordinates with the given septernion.
#define makePointPatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete pointPatchField type and add to run-time tables Example, (pointPatchScalarField,...
pointField points0(pointIOField(IOobject("points", mesh.time().constant(), polyMesh::meshSubDir, mesh, IOobject::MUST_READ, IOobject::NO_WRITE, IOobject::NO_REGISTER)))