GravitationalTree Class Reference

#include <orsa_interaction.h>

Inheritance diagram for GravitationalTree:

Inheritance graph
[legend]
Collaboration diagram for GravitationalTree:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

bool skip_JPL_planets


Detailed Description

Definition at line 356 of file orsa_interaction.h.


Constructor & Destructor Documentation

Definition at line 418 of file orsa_interaction_tree.cc.

References orsa::GetG().

Referenced by GravitationalTree::clone().

00418                                        : Interaction() {
00419     g = GetG();
00420     theta = 0.7;
00421   }

Here is the call graph for this function:

Definition at line 423 of file orsa_interaction_tree.cc.

References orsa::GetG().

00423                                                                 : Interaction() {
00424     g = GetG();
00425     theta = 0.7;
00426   }

Here is the call graph for this function:


Member Function Documentation

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

Implements Interaction.

double PotentialEnergy ( const Frame  )  [virtual]

Implements Interaction.

Definition at line 561 of file orsa_interaction_tree.cc.

00561                                                         {
00562     // to be done...
00563     return 0.0;
00564   }

Interaction * clone (  )  const [virtual]

Implements Interaction.

Definition at line 428 of file orsa_interaction_tree.cc.

References GravitationalTree::GravitationalTree().

00428                                                {
00429     return new GravitationalTree(*this);
00430   }

Here is the call graph for this function:

InteractionType GetType (  )  const [inline, virtual]

Implements Interaction.

Definition at line 368 of file orsa_interaction.h.

References orsa::GRAVITATIONALTREE.

00368                                     {
00369       return GRAVITATIONALTREE;
00370     }

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

00092 { return false; }

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]


Member Data Documentation

bool skip_JPL_planets [protected, inherited]


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 20:04:22 2008 for liborsa by  doxygen 1.5.5