HILA
|
#include <gauge_field.h>
Public Types | |
using | gauge_field_type = gauge_field |
The underlying gauge field type. | |
using | gauge_mat = typename gauge_field::gauge_type |
The gauge matrix type. | |
using | momtype = SquareMatrix< N, Complex< hila::arithmetic_type< gauge_mat > > > |
The type of the momentum field. | |
Public Member Functions | |
gauge_momentum_action (gauge_field &g) | |
construct from a gauge field | |
gauge_momentum_action (gauge_momentum_action &ga) | |
construct a copy | |
double | action () |
The gauge action. | |
void | draw_gaussian_fields () |
Gaussian random momentum for each element. | |
void | backup_fields () |
Make a copy of fields updated in a trajectory. | |
void | restore_backup () |
Restore the previous backup. | |
void | step (double eps) |
Update the gauge field with momentum. | |
virtual void | force_step (double eps) |
virtual void | force_step (double eps) |
Update the momentum with the gauge field. | |
Public Attributes | |
gauge_field & | gauge |
A reference to the gauge field. | |
Static Public Attributes | |
static constexpr int | N = gauge_mat::size |
The size of the gauge matrix. | |
The action of the canonical momentum of a gauge field. Momentum actions are a special case. It does not contain a force_step()-function. It contains a step()-function, which updates the momentum itself. It can be used as the lowest level of an integrator.
Definition at line 397 of file gauge_field.h.
|
inlinevirtualinherited |
Update the momentum with the derivative of the action term
Reimplemented in fermion_action< gauge_field, DIRAC_OP >, fermion_action< gauge_field, Hasenbusch_operator< DIRAC_OP > >, Hasenbusch_action_1< gauge_field, DIRAC_OP >, Hasenbusch_action_2< gauge_field, DIRAC_OP >, gauge_action< gauge_field >, and action_sum.
Definition at line 22 of file integrator.h.
|
inlinevirtual |
Update the gauge field with momentum.
A momentum action is also the lowest level of an integrator hierarchy and needs to define the an step to update the gauge field using the momentum
Reimplemented from integrator_base.
Definition at line 441 of file gauge_field.h.