#include <orsa_interaction.h>
Public Member Functions | |
virtual | ~Interaction () |
virtual void | Acceleration (const Frame &, std::vector< Vector > &)=0 |
virtual double | PotentialEnergy (const Frame &)=0 |
virtual Interaction * | clone () const =0 |
virtual bool | depends_on_velocity () const |
void | SkipJPLPlanets (const bool b) |
bool | IsSkippingJPLPlanets () const |
virtual InteractionType | GetType () const =0 |
Protected Attributes | |
bool | skip_JPL_planets |
Definition at line 80 of file orsa_interaction.h.
virtual ~Interaction | ( | ) | [inline, virtual] |
Implemented in Newton, GravitationalTree, Relativistic, ArmonicOscillator, GalacticPotentialAllen, and GalacticPotentialAllenPlusNewton.
Referenced by Stoer::Step(), DissipativeRungeKutta::Step(), RungeKutta::Step(), Radau15::Step(), and Leapfrog::Step().
virtual Interaction* clone | ( | ) | const [pure virtual] |
Implemented in Newton, GravitationalTree, Relativistic, ArmonicOscillator, GalacticPotentialAllen, GalacticPotentialAllenPlusNewton, and JPLPlanetsNewton.
Referenced by Evolution::Evolution(), and Evolution::SetInteraction().
virtual bool depends_on_velocity | ( | ) | const [inline, virtual] |
Reimplemented in Newton, and Relativistic.
Definition at line 92 of file orsa_interaction.h.
Referenced by Radau15::Step().
virtual InteractionType GetType | ( | ) | const [pure virtual] |
Implemented in Newton, GravitationalTree, Relativistic, ArmonicOscillator, GalacticPotentialAllen, GalacticPotentialAllenPlusNewton, and JPLPlanetsNewton.
Referenced by OrsaFile::Write().
bool IsSkippingJPLPlanets | ( | ) | const [inline] |
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 }
virtual double PotentialEnergy | ( | const Frame & | ) | [pure virtual] |
Implemented in Newton, GravitationalTree, Relativistic, ArmonicOscillator, GalacticPotentialAllen, GalacticPotentialAllenPlusNewton, and JPLPlanetsNewton.
void SkipJPLPlanets | ( | const bool | b | ) | [inline] |
Definition at line 95 of file orsa_interaction.h.
References Interaction::skip_JPL_planets.
00095 { 00096 skip_JPL_planets = b; 00097 }
bool skip_JPL_planets [protected] |
Definition at line 102 of file orsa_interaction.h.
Referenced by Interaction::IsSkippingJPLPlanets(), Newton::Newton(), and Interaction::SkipJPLPlanets().