SineSepar.hpp
Go to the documentation of this file.
1 
6 #ifndef SINESEPAR_HPP
7 #define SINESEPAR_HPP 1
8 
9 #include "../spatial_distribution2d.hpp"
10 #include <cmath>
11 
14 {
15 private:
16 
17  double Amplitude,freq,offset,above_,under_;
18 
19 public:
20 
28  SineSepar(double Amp,double f,double off,double above,double under);
29  ~SineSepar();
30  double operator()(const Vector2D& r) const;
31 };
32 
33 #endif // SINESEPAR_HPP
double operator()(const Vector2D &r) const
Evaluates the function.
Definition: SineSepar.cpp:10
A spatial distribution with a sine wave function as a separatrix.
Definition: SineSepar.hpp:13
Spatial distribution for initial conditions.
SineSepar(double Amp, double f, double off, double above, double under)
Class constructor.
Definition: SineSepar.cpp:3
2D Mathematical vector
Definition: geometry.hpp:15