#include <gravitational_potential.h>
|
| double | C1 = 8.887e3 |
| |
| double | C2 = 3.e3 |
| |
| double | C3 = 0.325 |
| |
| double | a1 = 6.5e3 |
| |
| double | a2 = 0.7e3 |
| |
| double | a3 = 12e3 |
| |
| double | b1 = 0.26e3 |
| |
| double | rh = 210e3 |
| |
Class to compute the galactic gravitational potential
§ GravitationalPotential()
| Ferriere07::GravitationalPotential::GravitationalPotential |
( |
| ) |
|
|
inline |
§ ~GravitationalPotential()
| virtual Ferriere07::GravitationalPotential::~GravitationalPotential |
( |
| ) |
|
|
inlinevirtual |
§ get()
| double Ferriere07::GravitationalPotential::get |
( |
const double & |
r, |
|
|
const double & |
z |
|
) |
| const |
Compute the gravitational potential
- Parameters
-
| r | r-position in pc |
| z | z-position in pc |
- Returns
- gravitational potential in \(km/s^{2}\)
§ a1
| double Ferriere07::GravitationalPotential::a1 = 6.5e3 |
|
protected |
§ a2
| double Ferriere07::GravitationalPotential::a2 = 0.7e3 |
|
protected |
§ a3
| double Ferriere07::GravitationalPotential::a3 = 12e3 |
|
protected |
§ b1
| double Ferriere07::GravitationalPotential::b1 = 0.26e3 |
|
protected |
§ C1
| double Ferriere07::GravitationalPotential::C1 = 8.887e3 |
|
protected |
§ C2
| double Ferriere07::GravitationalPotential::C2 = 3.e3 |
|
protected |
§ C3
| double Ferriere07::GravitationalPotential::C3 = 0.325 |
|
protected |
§ rh
| double Ferriere07::GravitationalPotential::rh = 210e3 |
|
protected |
The documentation for this class was generated from the following files: