Interaction Class Reference

#include <orsa_interaction.h>

Inheritance diagram for Interaction:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Interaction ()
virtual void Acceleration (const Frame &, std::vector< Vector > &)=0
virtual double PotentialEnergy (const Frame &)=0
virtual Interactionclone () 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

Detailed Description

Definition at line 80 of file orsa_interaction.h.


Constructor & Destructor Documentation

virtual ~Interaction (  )  [inline, virtual]

Definition at line 82 of file orsa_interaction.h.

00082 { };


Member Function Documentation

virtual void Acceleration ( const Frame ,
std::vector< Vector > &   
) [pure virtual]

Implemented in Newton, GravitationalTree, Relativistic, ArmonicOscillator, GalacticPotentialAllen, and GalacticPotentialAllenPlusNewton.

Referenced by Stoer::Step(), DissipativeRungeKutta::Step(), RungeKutta::Step(), Radau15::Step(), and Leapfrog::Step().

virtual double PotentialEnergy ( const Frame  )  [pure virtual]

Implemented in Newton, GravitationalTree, Relativistic, ArmonicOscillator, GalacticPotentialAllen, GalacticPotentialAllenPlusNewton, and JPLPlanetsNewton.

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().

00092 { return false; }

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 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 InteractionType GetType (  )  const [pure virtual]

Implemented in Newton, GravitationalTree, Relativistic, ArmonicOscillator, GalacticPotentialAllen, GalacticPotentialAllenPlusNewton, and JPLPlanetsNewton.

Referenced by OrsaFile::Write().


Member Data Documentation

bool skip_JPL_planets [protected]

Definition at line 102 of file orsa_interaction.h.

Referenced by Interaction::IsSkippingJPLPlanets(), Newton::Newton(), and Interaction::SkipJPLPlanets().


The documentation for this class was generated from the following file:
Generated on Wed May 30 13:05:12 2007 for liborsa by  doxygen 1.5.2