3 RT_velocityY::RT_velocityY()
7 RT_velocityY::~RT_velocityY()
13 return 0.0025*(1-cos(12.566370614359*r.
x))*
14 (1-cos(12.566370614359*r.
y/3));
27 RT_Pressure::~RT_Pressure()
34 return 2.5+g_*(r.
y-0.75)*rhou_;
36 return 2.5+g_*(r.
y-0.75)*rhod_;
double operator()(const Vector2D &r) const
Evaluates the function.
Repreduces the Vy and Pressure of the Arepo RT problem.
double y
Component in the y direction.
double operator()(const Vector2D &r) const
Evaluates the function.
RT_Pressure(double g, double rhoup, double rhodown)
Class constructor.
double x
Component in the x direction.