Public Member Functions | List of all members
RT_Pressure Class Reference

Spatial profile of the initial pressure for Rayleigh Taylor instability. More...

#include <RT.hpp>

Inheritance diagram for RT_Pressure:
Inheritance graph
[legend]
Collaboration diagram for RT_Pressure:
Collaboration graph
[legend]

Public Member Functions

 RT_Pressure (double g, double rhoup, double rhodown)
 Class constructor. More...
 
double operator() (const Vector2D &r) const
 Evaluates the function. More...
 

Detailed Description

Spatial profile of the initial pressure for Rayleigh Taylor instability.

Definition at line 25 of file RT.hpp.

Constructor & Destructor Documentation

◆ RT_Pressure()

RT_Pressure::RT_Pressure ( double  g,
double  rhoup,
double  rhodown 
)

Class constructor.

Parameters
gAdiabatc index
rhoupDensity of the upper layer
rhodownDensity of the lower layer

Definition at line 17 of file RT.cpp.

Member Function Documentation

◆ operator()()

double RT_Pressure::operator() ( const Vector2D point) const
virtual

Evaluates the function.

Parameters
pointPosition
Returns
The value of the function at the point

Implements SpatialDistribution.

Definition at line 31 of file RT.cpp.


The documentation for this class was generated from the following files: