3 #ifndef __s2_kin_trans_hpp
4 #define __s2_kin_trans_hpp
7 #include <wave_field.hpp>
8 #include <least_squares_2d.hpp>
10 #include <s2proc/wave_field.hpp>
11 #include <mth/least_squares_2d.hpp>
41 virtual double calc(
double L)
const = 0;
55 void setT0(
double t0) {m_t0 = t0;}
57 double getT0() {
return m_t0;}
59 void setP(
double p) {m_p = p;}
61 double getP() {
return m_p;}
66 void setLockedParams(
double t0,
double L);
73 virtual double calc(
double L)
const;
80 double m_locked_t0, m_locked_L;
93 void setT0(
double t0) {m_t0 = t0;}
95 double getT0() {
return m_t0;}
97 void setVel(
double v) {m_v = v;}
99 double getVel() {
return m_v;}
101 void setLockedParams(
double t0,
double L);
108 virtual double calc(
double L)
const;
115 double m_locked_t0, m_locked_L;
123 VelKinShift(
double t0,
double v,
double L0,
bool dir =
true);
128 void setT0(
double t0) {m_t0 = t0;}
130 double getT0() {
return m_t0;}
132 void setL0(
double L0) {m_L0 = L0;}
134 double getL0() {
return m_L0;}
136 void setVel(
double v) {m_v = v;}
138 double getVel() {
return m_v;}
142 double m_t0, m_v, m_L0;
145 virtual double calc(
double L)
const;
168 virtual double calc(
double L)
const;
LeastSquares2D::PolyCoeffs m_coeffs
Definition: s2_kin_trans.hpp:165
virtual double getHodPoint(double L) const
Definition: s2_kin_trans.hpp:153
Definition: s2_kin_trans.hpp:119
virtual double getHodPoint(double L) const
virtual double getHodPoint(double L) const
double operator()(double L) const
Definition: s2_kin_trans.hpp:27
Definition: wave_field.hpp:13
Definition: s2_kin_trans.hpp:17
Definition: s2_kin_trans.hpp:48
std::vector< PolyCoeff > PolyCoeffs
Definition: least_squares_2d.hpp:25
Definition: s2_kin_trans.hpp:84
bool getDir() const
Definition: s2_kin_trans.hpp:33
AbstractKinShift(bool dir=true)
Definition: s2_kin_trans.hpp:22
virtual double getHodPoint(double L) const
virtual double calc(double L) const
virtual double calc(double L) const
virtual double calc(double L) const
virtual double calc(double L) const
virtual double getHodPoint(double L) const =0
virtual double calc(double L) const =0
void setDir(bool dir)
Definition: s2_kin_trans.hpp:30