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

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.

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.

00092 { return false; }

virtual InteractionType GetType  )  const [pure virtual]
 

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

bool IsSkippingJPLPlanets  )  const [inline]
 

Definition at line 98 of file orsa_interaction.h.

References Interaction::skip_JPL_planets.

Referenced by Evolution::Integrate().

00098                                       {
00099       return skip_JPL_planets;
00100     }

virtual double PotentialEnergy const Frame  )  [pure virtual]
 

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

void SkipJPLPlanets const bool  b  )  [inline]
 

Definition at line 95 of file orsa_interaction.h.

References Interaction::skip_JPL_planets.

Referenced by OrsaFile::Read().

00095                                       {
00096       skip_JPL_planets = b;
00097     }


Member Data Documentation

bool skip_JPL_planets [protected]
 

Definition at line 102 of file orsa_interaction.h.

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


The documentation for this class was generated from the following file:
Generated on Tue Jan 11 15:29:13 2005 for liborsa by  doxygen 1.4.0