42 amplitude_(vector::zero),
44 waveNumber_(vector::zero)
57 amplitude_(dict.
lookup(
"amplitude")),
61 if (!dict.
found(
"value"))
78 amplitude_(ptf.amplitude_),
80 waveNumber_(ptf.waveNumber_)
92 amplitude_(ptf.amplitude_),
94 waveNumber_(ptf.waveNumber_)
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.
const pointField & points
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A list of keyword definitions, which are a keyword followed by any number of values (e...
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const DimensionedField< vector, pointMesh > & dimensionedInternalField() const
Return dimensioned internal field reference.
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
dimensionedScalar cos(const dimensionedScalar &ds)
Foam::waveDisplacementPointPatchVectorField.
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Foam::pointPatchFieldMapper.
waveDisplacementPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
Mesh consisting of general polyhedral cells.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
const Time & time() const
Return time.
const pointPatch & patch() const
Return patch.
bool updated() const
Return true if the boundary condition has already been updated.
const Type & value() const
Return const reference to value.
virtual void write(Ostream &) const
Write.