#include <alg_int.h>
Inherited by cps::AlgHamiltonian, and cps::AlgIntAB.
Public Member Functions | |
| AlgInt () | |
| virtual | ~AlgInt () |
| method to do heatbath (if necessary) | |
| virtual void | heatbath ()=0 |
| run method evolves the integrator | |
| virtual void | evolve (Float dt, int steps)=0 |
| method to calculate energy (if necessary) | |
| virtual Float | energy ()=0 |
| method to return the cost of the integrator (wrt cg iterations) | |
| virtual void | cost (CgStats *)=0 |
| method to reverse the direction of evolution (i.e. flip momenta) | |
| virtual void | reverse ()=0 |
| method used to reinitialise the integrator | |
| virtual void | init ()=0 |
Protected Attributes | |
| int | traj |
| < the current trajectory number | |
| IntegratorType | int_type |
Definition at line 31 of file alg_int.h.
|
|
Definition at line 24 of file alg_int.C. References traj. |
|
|
method to do heatbath (if necessary)
|
|
|
method to reverse the direction of evolution (i.e. flip momenta)
Implemented in cps::AlgIntAB, cps::AlgHamiltonian, cps::AlgMomentum, cps::AlgAction, cps::AlgActionBilinear, cps::AlgActionRationalSplit, and cps::AlgActionGauge. Referenced by cps::AlgIntAB::cost(). |
|
|
method to return the cost of the integrator (wrt cg iterations)
Implemented in cps::AlgIntAB, cps::AlgHamiltonian, cps::AlgMomentum, cps::AlgAction, cps::AlgActionBilinear, cps::AlgActionRational, cps::AlgActionRationalSplit, cps::AlgActionBoson, cps::AlgActionFermion, cps::AlgActionQuotient, cps::AlgActionRationalQuotient, and cps::AlgActionGauge. Referenced by cps::AlgIntAB::energy(). |
|
||||||||||||
|
|
run method evolves the integrator
Implemented in cps::AlgIntAB, cps::AlgHamiltonian, cps::AlgMomentum, cps::AlgAction, cps::AlgActionBilinear, cps::AlgActionRational, cps::AlgActionRationalSplit, cps::AlgActionBoson, cps::AlgActionFermion, cps::AlgActionQuotient, cps::AlgActionRationalQuotient, and cps::AlgActionGauge. Referenced by cps::AlgIntAB::heatbath(). |
|
|
Implemented in cps::AlgIntAB, cps::AlgMomentum, cps::AlgActionBilinear, cps::AlgActionFermion, cps::AlgActionQuotient, and cps::AlgActionGauge. Referenced by cps::AlgIntAB::init(). |
|
|
method used to reinitialise the integrator
Implemented in cps::AlgIntAB, cps::AlgMomentum, and cps::AlgAction. Referenced by cps::AlgIntAB::reverse(). |
|
|
|
|
|
< the current trajectory number
Definition at line 38 of file alg_int.h. Referenced by AlgInt(). |
1.3.9.1