RT.hpp
Go to the documentation of this file.
1 
7 #ifndef RT_HPP
8 #define RT_HPP 1
9 
10 #include "../two_dimensional/spatial_distribution2d.hpp"
11 #include <cmath>
12 
15 {
16 
17 public:
18 
19  RT_velocityY();
20  ~RT_velocityY();
21  double operator()(const Vector2D& r) const;
22 };
23 
26 {
27 private:
28  double g_;
29  double rhou_,rhod_;
30 public:
31 
37  RT_Pressure(double g,double rhoup,double rhodown);
38 
39  ~RT_Pressure();
40 
41  double operator()(const Vector2D& r) const;
42 };
43 
44 
45 
46 #endif
double operator()(const Vector2D &r) const
Evaluates the function.
Definition: RT.cpp:11
Spatial profile of the initial pressure for Rayleigh Taylor instability.
Definition: RT.hpp:25
Spatial distribution for initial conditions.
Y component of the velocity in Rayleigh Taylor initial conditions.
Definition: RT.hpp:14
2D Mathematical vector
Definition: geometry.hpp:15