#include <ConstantStepOdeSolver.h>
|
| ConstantStepOdeSolver () |
|
| ConstantStepOdeSolver (const AbsODERHS &rhs) |
|
| ConstantStepOdeSolver (const ConstantStepOdeSolver &r) |
|
double | getCoordinate (const unsigned which, const unsigned idx) const |
|
double | getIntegrated (unsigned which, unsigned idx) const |
|
double | getPeakTime (unsigned which) const |
|
const AbsODERHS * | getRHS () const |
|
AbsODERHS * | getRHS () |
|
double | getTime (const unsigned idx) const |
|
double | interpolateCoordinate (unsigned which, double t, bool cubic=false) const |
|
double | interpolateIntegrated (unsigned which, double t, bool cubic=false) const |
|
double | lastDeltaT () const |
|
unsigned | lastDim () const |
|
double | lastMaxT () const |
|
unsigned | lastRunLength () const |
|
virtual const char * | methodName () const =0 |
|
ConstantStepOdeSolver & | operator= (const ConstantStepOdeSolver &r) |
|
void | run (const double *initialConditions, unsigned lenConditions, double dt, unsigned nSteps) |
|
void | setHistory (double dt, const double *data, unsigned dim, unsigned runLen) |
|
void | setRHS (const AbsODERHS &rhs) |
|
void | truncateCoordinate (unsigned which, double minValue, double maxValue) |
|
void | writeHistory (std::ostream &os, double dt, bool cubic=false) const |
|
void | writeIntegrated (std::ostream &os, unsigned which, double dt, bool cubic=false) const |
|
virtual | ~ConstantStepOdeSolver () |
|
|
void | integrateCoordinate (const unsigned which) |
|
virtual void | step (double t, double dt, const double *x, unsigned lenX, double *coordIncrement) const =0 |
|
Definition at line 14 of file ConstantStepOdeSolver.h.
ConstantStepOdeSolver::ConstantStepOdeSolver |
( |
| ) |
|
|
inline |
ConstantStepOdeSolver::ConstantStepOdeSolver |
( |
const AbsODERHS & |
rhs | ) |
|
|
inline |
virtual ConstantStepOdeSolver::~ConstantStepOdeSolver |
( |
| ) |
|
|
inlinevirtual |
double ConstantStepOdeSolver::getCoordinate |
( |
const unsigned |
which, |
|
|
const unsigned |
idx |
|
) |
| const |
|
inline |
double ConstantStepOdeSolver::getIntegrated |
( |
unsigned |
which, |
|
|
unsigned |
idx |
|
) |
| const |
double ConstantStepOdeSolver::getPeakTime |
( |
unsigned |
which | ) |
const |
const AbsODERHS* ConstantStepOdeSolver::getRHS |
( |
| ) |
const |
|
inline |
double ConstantStepOdeSolver::getTime |
( |
const unsigned |
idx | ) |
const |
|
inline |
Definition at line 47 of file ConstantStepOdeSolver.h.
References dt_, Exception, and runLen_.
50 "In ConstantStepOdeSolver::getTime: index out of range");
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
void ConstantStepOdeSolver::integrateCoordinate |
( |
const unsigned |
which | ) |
|
|
private |
double ConstantStepOdeSolver::interpolateCoordinate |
( |
unsigned |
which, |
|
|
double |
t, |
|
|
bool |
cubic = false |
|
) |
| const |
double ConstantStepOdeSolver::interpolateIntegrated |
( |
unsigned |
which, |
|
|
double |
t, |
|
|
bool |
cubic = false |
|
) |
| const |
double ConstantStepOdeSolver::lastDeltaT |
( |
| ) |
const |
|
inline |
unsigned ConstantStepOdeSolver::lastDim |
( |
| ) |
const |
|
inline |
double ConstantStepOdeSolver::lastMaxT |
( |
| ) |
const |
|
inline |
unsigned ConstantStepOdeSolver::lastRunLength |
( |
| ) |
const |
|
inline |
virtual const char* ConstantStepOdeSolver::methodName |
( |
| ) |
const |
|
pure virtual |
void ConstantStepOdeSolver::run |
( |
const double * |
initialConditions, |
|
|
unsigned |
lenConditions, |
|
|
double |
dt, |
|
|
unsigned |
nSteps |
|
) |
| |
void ConstantStepOdeSolver::setHistory |
( |
double |
dt, |
|
|
const double * |
data, |
|
|
unsigned |
dim, |
|
|
unsigned |
runLen |
|
) |
| |
void ConstantStepOdeSolver::setRHS |
( |
const AbsODERHS & |
rhs | ) |
|
|
inline |
virtual void ConstantStepOdeSolver::step |
( |
double |
t, |
|
|
double |
dt, |
|
|
const double * |
x, |
|
|
unsigned |
lenX, |
|
|
double * |
coordIncrement |
|
) |
| const |
|
privatepure virtual |
void ConstantStepOdeSolver::truncateCoordinate |
( |
unsigned |
which, |
|
|
double |
minValue, |
|
|
double |
maxValue |
|
) |
| |
void ConstantStepOdeSolver::writeHistory |
( |
std::ostream & |
os, |
|
|
double |
dt, |
|
|
bool |
cubic = false |
|
) |
| const |
void ConstantStepOdeSolver::writeIntegrated |
( |
std::ostream & |
os, |
|
|
unsigned |
which, |
|
|
double |
dt, |
|
|
bool |
cubic = false |
|
) |
| const |
std::vector<double> ConstantStepOdeSolver::chargeBuffer_ |
|
private |
unsigned ConstantStepOdeSolver::dim_ |
|
private |
double ConstantStepOdeSolver::dt_ |
|
private |
std::vector<double> ConstantStepOdeSolver::historyBuffer_ |
|
private |
unsigned ConstantStepOdeSolver::lastIntegrated_ |
|
private |
unsigned ConstantStepOdeSolver::runLen_ |
|
private |