#include <orsa_interaction.h>
Inheritance diagram for JPLPlanetsNewton:
Public Member Functions | |
JPLPlanetsNewton (std::list< JPL_planets > &) | |
JPLPlanetsNewton (const JPLPlanetsNewton &) | |
void | Acceleration (const orsa::Frame &, std::vector< orsa::Vector > &) |
double | PotentialEnergy (const orsa::Frame &) |
Interaction * | clone () const |
InteractionType | GetType () const |
virtual void | Acceleration (const Frame &, std::vector< Vector > &)=0 |
virtual bool | depends_on_velocity () const |
void | SkipJPLPlanets (const bool b) |
bool | IsSkippingJPLPlanets () const |
Protected Attributes | |
bool | skip_JPL_planets |
Definition at line 498 of file orsa_interaction.h.
JPLPlanetsNewton | ( | std::list< JPL_planets > & | ) |
Referenced by JPLPlanetsNewton::clone().
JPLPlanetsNewton | ( | const JPLPlanetsNewton & | ) |
Definition at line 957 of file orsa_interaction.cc.
References orsa::GetG(), Universe::GetUniverseType(), orsa::Real, and orsa::universe.
00957 : Interaction(), l(i.l) { 00958 if (universe->GetUniverseType() != Real) { 00959 cerr << "error: using the JPLPlanetsNewton interaction in a non-Real universe!" << endl; 00960 exit(0); 00961 } 00962 g = GetG(); 00963 }
Here is the call graph for this function:
void Acceleration | ( | const orsa::Frame & | , | |
std::vector< orsa::Vector > & | ||||
) |
double PotentialEnergy | ( | const orsa::Frame & | ) | [virtual] |
Implements Interaction.
Definition at line 1022 of file orsa_interaction.cc.
References Newton::PotentialEnergy(), and orsa::SetupSolarSystem().
01022 { 01023 SetupSolarSystem(planets_frame,l,f); 01024 return newton_itg.PotentialEnergy(planets_frame); 01025 }
Here is the call graph for this function:
Interaction * clone | ( | ) | const [virtual] |
Implements Interaction.
Definition at line 965 of file orsa_interaction.cc.
References JPLPlanetsNewton::JPLPlanetsNewton().
00965 { 00966 return new JPLPlanetsNewton(*this); 00967 }
Here is the call graph for this function:
InteractionType GetType | ( | ) | const [inline, virtual] |
Implements Interaction.
Definition at line 510 of file orsa_interaction.h.
References orsa::JPL_PLANETS_NEWTON.
00510 { 00511 return JPL_PLANETS_NEWTON; 00512 }
Implemented in Newton, GravitationalTree, Relativistic, ArmonicOscillator, GalacticPotentialAllen, and GalacticPotentialAllenPlusNewton.
Referenced by Stoer::Step(), DissipativeRungeKutta::Step(), RungeKutta::Step(), Radau15::Step(), and Leapfrog::Step().
virtual bool depends_on_velocity | ( | ) | const [inline, virtual, inherited] |
Reimplemented in Newton, and Relativistic.
Definition at line 92 of file orsa_interaction.h.
Referenced by Radau15::Step().
void SkipJPLPlanets | ( | const bool | b | ) | [inline, inherited] |
Definition at line 95 of file orsa_interaction.h.
References Interaction::skip_JPL_planets.
00095 { 00096 skip_JPL_planets = b; 00097 }
bool IsSkippingJPLPlanets | ( | ) | const [inline, inherited] |
Definition at line 98 of file orsa_interaction.h.
References Interaction::skip_JPL_planets.
Referenced by Evolution::Integrate(), Stoer::Step(), DissipativeRungeKutta::Step(), RungeKutta::Step(), Radau15::Step(), Leapfrog::Step(), and OrsaFile::Write().
00098 { 00099 return skip_JPL_planets; 00100 }
bool skip_JPL_planets [protected, inherited] |
Definition at line 102 of file orsa_interaction.h.
Referenced by Interaction::IsSkippingJPLPlanets(), Newton::Newton(), and Interaction::SkipJPLPlanets().