ENH: waveModels - refactored time scaling coefficient

This commit is contained in:
Andrew Heather
2016-11-25 10:49:53 +00:00
parent 02e9433d73
commit 21b3f88a72
9 changed files with 66 additions and 11 deletions

View File

@ -61,6 +61,9 @@ protected:
// Protected data
//- Ramp time
scalar rampTime_;
//- Wave period
scalar wavePeriod_;
@ -73,8 +76,11 @@ protected:
// Protected Member Functions
//- Return the time scaling coefficient
virtual scalar timeCoeff(const scalar t) const;
//- Return word description of wave type
word waveType() const;
virtual word waveType() const;
public: