A spatial distribution with a sine wave function as a separatrix. More...
#include <SineSepar.hpp>
Public Member Functions | |
SineSepar (double Amp, double f, double off, double above, double under) | |
Class constructor. More... | |
double | operator() (const Vector2D &r) const |
Evaluates the function. More... | |
A spatial distribution with a sine wave function as a separatrix.
Definition at line 13 of file SineSepar.hpp.
SineSepar::SineSepar | ( | double | Amp, |
double | f, | ||
double | off, | ||
double | above, | ||
double | under | ||
) |
Class constructor.
Amp | Amplitude |
f | Frequency |
off | Offset |
above | Value above the sine |
under | Value under the sine |
Definition at line 3 of file SineSepar.cpp.
|
virtual |
Evaluates the function.
point | Position |
Implements SpatialDistribution.
Definition at line 10 of file SineSepar.cpp.