#include <alg_int.h>
Inherits cps::AlgInt.
Inherited by cps::AlgIntCampostrini, cps::AlgIntLeap, cps::AlgIntOmelyan, cps::AlgIntOmelyan44, cps::AlgIntOmelyan45, and cps::AlgIntSum.
Public Member Functions | |
| AlgIntAB (AlgInt &A, AlgInt &B, IntABArg &) | |
| virtual | ~AlgIntAB () |
| void | heatbath () |
| run method evolves the integrator | |
| Float | energy () |
| evolve method evolves the integrator | |
| virtual void | evolve (Float dt, int steps)=0 |
| method to calculate energy (if necessary) | |
| void | cost (CgStats *) |
| method to reverse the direction of evolution (i.e. flip momenta) | |
| void | reverse () |
| Dummy method. | |
| void | init () |
| AlgIntAB factory. | |
Static Public Member Functions | |
| AlgIntAB & | Create (AlgInt &A, AlgInt &B, IntABArg &ab_arg) |
| void | Destroy (AlgIntAB &) |
Protected Attributes | |
| AlgInt * | A |
| AlgInt * | B |
| int | A_steps |
| int | B_steps |
| int | A_calls |
| int | B_calls |
| IntegratorLevel | level |
| Is this the top level integrator? | |
| unsigned long | step_cnt |
| IntABArg * | ab_arg |
|
||||||||||||||||
|
Definition at line 25 of file alg_int_ab.C. References A, cps::IntABArg::A_steps, A_steps, ab_arg, B, cps::IntABArg::B_steps, B_steps, cps::Verbose::Func(), cps::IntABArg::level, level, and cps::VRB. |
|
|
Definition at line 39 of file alg_int_ab.C. |
|
|
method to reverse the direction of evolution (i.e. flip momenta)
Implements cps::AlgInt. Definition at line 54 of file alg_int_ab.C. References A, B, and cps::AlgInt::cost(). Referenced by cps::AlgHmc::run(). |
|
||||||||||||||||
|
Definition at line 69 of file alg_int_ab.C. References cps::ERR, cps::Verbose::Func(), cps::Error::General(), cps::IntABArg::type, and cps::VRB. |
|
|
Definition at line 94 of file alg_int_ab.C. |
|
|
evolve method evolves the integrator
Implements cps::AlgInt. Definition at line 50 of file alg_int_ab.C. References A, B, cps::AlgInt::energy(), and cps::Float. Referenced by cps::AlgHmc::run(). |
|
||||||||||||
|
method to calculate energy (if necessary)
Implements cps::AlgInt. Implemented in cps::AlgIntLeap, cps::AlgIntOmelyan, cps::AlgIntCampostrini, cps::AlgIntOmelyan44, cps::AlgIntOmelyan45, and cps::AlgIntSum. Referenced by cps::AlgHmc::run(). |
|
|
run method evolves the integrator
Implements cps::AlgInt. Definition at line 44 of file alg_int_ab.C. References A, B, and cps::AlgInt::heatbath(). Referenced by cps::AlgHmc::run(). |
|
|
AlgIntAB factory.
Implements cps::AlgInt. Definition at line 64 of file alg_int_ab.C. References A, B, and cps::AlgInt::init(). Referenced by cps::AlgHmc::run(). |
|
|
Dummy method.
Implements cps::AlgInt. Definition at line 59 of file alg_int_ab.C. References A, B, and cps::AlgInt::reverse(). Referenced by cps::AlgHmc::run(). |
|
|
Definition at line 75 of file alg_int.h. Referenced by AlgIntAB(), cost(), energy(), heatbath(), init(), and reverse(). |
|
|
|
|
|
Definition at line 77 of file alg_int.h. Referenced by AlgIntAB(). |
|
|
Definition at line 82 of file alg_int.h. Referenced by AlgIntAB(). |
|
|
Definition at line 76 of file alg_int.h. Referenced by AlgIntAB(), cost(), energy(), heatbath(), init(), and reverse(). |
|
|
|
|
|
Definition at line 77 of file alg_int.h. Referenced by AlgIntAB(). |
|
|
Is this the top level integrator?
Definition at line 80 of file alg_int.h. Referenced by AlgIntAB(). |
|
|
|
1.3.9.1