Go to the documentation of this file.
49 return max(0,
min(t/rampTime_, 1));
55 Foam::waveModels::irregularWaveModel::irregularWaveModel
80 if (waveGenerationModel::readDict(overrideDict))
82 readEntry(
"rampTime", rampTime_);
InfoProxy< IOobject > info() const
Return info proxy.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
A patch is a list of labels that address the faces in the global face list.
virtual bool readDict(const dictionary &overrideDict)
Read from dictionary.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
const std::string patch
OpenFOAM patch number as a std::string.
scalar rampTime_
Ramp time.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual scalar timeCoeff(const scalar t) const
Return the time scaling coefficient.
defineTypeNameAndDebug(waveAbsorptionModel, 0)