14 virtual double action() {
return 0; }
87 virtual double action() {
return 0; }
103 virtual void step(
double eps) {}
164 for (
int i = 0; i < n; i++)
167 for (
int i = 0; i < n; i++)
184 double zeta = eps * 0.1931833275037836;
185 double middlestep = eps - 2 * zeta;
186 for (
int i = 0; i < n; i++) {
190 for (
int i = 0; i < n; i++) {
194 for (
int i = 0; i < n; i++) {
auto operator+(const Array< n, m, A > &a, const Array< n, m, B > &b)
Addition operator.
void step(double eps)
Run a lower level integrator step.
virtual double action()
Calculate and return the action.
virtual void force_step(double eps)
virtual void restore_backup()
Restore the previous backup.
virtual void backup_fields()
Make a copy of fields updated in a trajectory.
virtual void draw_gaussian_fields()
void restore_backup()
Restore the previous backup.
action_base & a1
left hand side
void backup_fields()
Make a copy of fields updated in a trajectory.
void force_step(double eps)
Update the momentum with the gauge field.
double action()
The action.
action_base & a2
right hand side
action_sum(action_sum &asum)
Copy.
action_sum(action_base &_a1, action_base &_a2)
Construct as sum of two actions.
void draw_gaussian_fields()
Gaussian random momentum for each element.
void draw_gaussian_fields()
integrator_base & lower_integrator
Lower level integrator, updates the momentum.
void force_step(double eps)
Update the momentum with the gauge field.
action_base & action_term
action_term_integrator(action_base &a, integrator_base &i)
void momentum_step(double eps)
Update the gauge field with momentum.
void restore_backup()
Restore the previous backup.
void backup_fields()
Make a copy of fields updated in a trajectory.
virtual void backup_fields()
Make a copy of fields updated in a trajectory.
virtual void force_step(double eps)
Update the momentum with the gauge field.
virtual void step(double eps)
Run a lower level integrator step.
virtual void restore_backup()
Restore the previous backup.
virtual void draw_gaussian_fields()
void step(double eps)
Run a lower level integrator step.