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

GravitationalTree (  ) 

Definition at line 417 of file orsa_interaction_tree.cc.

References orsa::GetG().

Referenced by GravitationalTree::clone().

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

Here is the call graph for this function:

GravitationalTree ( const GravitationalTree  ) 

Definition at line 422 of file orsa_interaction_tree.cc.

References orsa::GetG().

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

Here is the call graph for this function:


Member Function Documentation

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

Implements Interaction.

Interaction * clone (  )  const [virtual]

Implements Interaction.

Definition at line 427 of file orsa_interaction_tree.cc.

References GravitationalTree::GravitationalTree().

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

Here is the call graph for this function:

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; }

InteractionType GetType (  )  const [inline, virtual]

Implements Interaction.

Definition at line 368 of file orsa_interaction.h.

References orsa::GRAVITATIONALTREE.

00368                                     {
00369       return GRAVITATIONALTREE;
00370     }

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     }

double PotentialEnergy ( const Frame  )  [virtual]

Implements Interaction.

Definition at line 560 of file orsa_interaction_tree.cc.

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

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     }


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 Fri Nov 3 20:38:28 2006 for liborsa by  doxygen 1.4.7