#include <orsa_interaction.h>
Public Member Functions | |
GravitationalTree () | |
GravitationalTree (const GravitationalTree &) | |
void | Acceleration (const Frame &, std::vector< Vector > &) |
double | PotentialEnergy (const Frame &) |
Interaction * | clone () const |
InteractionType | GetType () const |
virtual bool | depends_on_velocity () const |
void | SkipJPLPlanets (const bool b) |
bool | IsSkippingJPLPlanets () const |
Protected Attributes | |
bool | skip_JPL_planets |
Definition at line 356 of file orsa_interaction.h.
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 }
GravitationalTree | ( | const GravitationalTree & | ) |
Definition at line 423 of file orsa_interaction_tree.cc.
References orsa::GetG().
00423 : Interaction() { 00424 g = GetG(); 00425 theta = 0.7; 00426 }
Implements Interaction.
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 }
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().
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 561 of file orsa_interaction_tree.cc.
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 skip_JPL_planets [protected, inherited] |
Definition at line 102 of file orsa_interaction.h.
Referenced by Interaction::IsSkippingJPLPlanets(), Newton::Newton(), and Interaction::SkipJPLPlanets().