Home-brewed integrator.
More...
#include <GyotoWorldline.h>
|
double | coord_ [8] |
| Previously determined coordinate.
|
|
|
class | Gyoto::SmartPointer< Gyoto::Worldline::IntegState::Legacy > |
|
Home-brewed integrator.
The integrator used by this IntegState::Generic implementation is actually implemented in Metric::Generic::myrk4_adaptive(). It does not use most of the tuning parameters Worldline, it uses the homonym parameters in Metric::Generic instead. to use this integrator, pass "Legacy" to Worldline::integrator(std::string type).
virtual void Gyoto::Worldline::IntegState::Generic::checkNorm |
( |
double |
coord[8] | ) |
|
|
virtualinherited |
Check norm.
Issue a warning using GYOTO_SEVERE if norm is drifting. nextStep() implementations should call it.
Legacy* Gyoto::Worldline::IntegState::Legacy::clone |
( |
Worldline * |
newparent | ) |
const |
|
virtual |
virtual void Gyoto::Worldline::IntegState::Generic::init |
( |
| ) |
|
|
virtualinherited |
void Gyoto::Worldline::IntegState::Legacy::init |
( |
Worldline * |
line, |
|
|
const double * |
coord, |
|
|
const double |
delta |
|
) |
| |
|
virtual |
virtual int Gyoto::Worldline::IntegState::Legacy::nextStep |
( |
double * |
coord, |
|
|
double |
h1max = 1e6 |
|
) |
| |
|
virtual |
The Metric in this end of the Universe.
Taken from Worldline::line_, never updated.
Worldline* Gyoto::Worldline::IntegState::Generic::line_ |
|
protectedinherited |
Worldline that we are integrating.
Beware this is not a SmartPointer. Make sure line_ still exists when calling nestStep().
double Gyoto::Worldline::IntegState::Generic::normref_ |
|
protectedinherited |
Initial norm of the 4-velocity.
The documentation for this class was generated from the following file: