15 return amp_*sin(k_*x+ph_)+offset_;
SineWave(double amplitude, double wavelength, double phase, double offset)
Class constructor return amp*sin(x*k+phase)+offest.
double operator()(double x) const
Calculates initial conditions.
Single mode sine wave spatial distribution.