Relativistic Class Reference

#include <orsa_interaction.h>

Inheritance diagram for Relativistic:

Inheritance graph
[legend]
Collaboration diagram for Relativistic:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Relativistic ()
 Relativistic (const Relativistic &)
void Acceleration (const Frame &, std::vector< Vector > &)
double PotentialEnergy (const Frame &)
Interactionclone () const
InteractionType GetType () const
bool depends_on_velocity () const
void SkipJPLPlanets (const bool b)
bool IsSkippingJPLPlanets () const

Protected Attributes

bool skip_JPL_planets

Detailed Description

Definition at line 377 of file orsa_interaction.h.


Constructor & Destructor Documentation

Relativistic (  ) 

Definition at line 640 of file orsa_interaction.cc.

Referenced by Relativistic::clone().

00640                              : Interaction(), g(GetG()), c_2(GetC()*GetC()) {
00641     
00642   }

Relativistic ( const Relativistic  ) 

Definition at line 644 of file orsa_interaction.cc.

00644                                                  : Interaction(), g(GetG()), c_2(GetC()*GetC()) {
00645     
00646   }


Member Function Documentation

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

Implements Interaction.

double PotentialEnergy ( const Frame  )  [virtual]

Implements Interaction.

Definition at line 705 of file orsa_interaction.cc.

References Newton::PotentialEnergy().

00705                                                      {
00706     Newton newton;
00707     return (newton.PotentialEnergy(f));
00708   }

Here is the call graph for this function:

Interaction * clone (  )  const [virtual]

Implements Interaction.

Definition at line 648 of file orsa_interaction.cc.

References Relativistic::Relativistic().

00648                                           {
00649     return new Relativistic(*this);
00650   }

Here is the call graph for this function:

InteractionType GetType (  )  const [inline, virtual]

Implements Interaction.

Definition at line 389 of file orsa_interaction.h.

References orsa::RELATIVISTIC.

00389                                     {
00390       return RELATIVISTIC;
00391     }

bool depends_on_velocity (  )  const [inline, virtual]

Reimplemented from Interaction.

Definition at line 394 of file orsa_interaction.h.

00394 { return true; }

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     }


Member Data Documentation

bool skip_JPL_planets [protected, inherited]

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 files:
Generated on Wed May 30 13:05:12 2007 for liborsa by  doxygen 1.5.2