HILA
|
Specialize double precision SU(N) matrix types. More...
#include <gauge_field.h>
Public Types | |
using | basetype = double |
The basetype is double. | |
using | gauge_type = M< N, double > |
The matrix type. | |
using | gauge_type_flt = M< N, float > |
This is the single precision type. | |
Public Member Functions | |
virtual void | refresh () |
Recalculate represented or smeared field. | |
virtual void | set_unity () |
Set the field to unity. | |
virtual void | random () |
Draw a random gauge field. | |
virtual void | add_momentum (Field< SquareMatrix< N, Complex< basetype > > > *force) |
Update the momentum by given force. | |
virtual void | draw_momentum () |
Draw gaussian random momentum. | |
virtual void | zero_momentum () |
Set the momentum to zero. | |
virtual void | backup () |
Make a copy of the gauge field for HMC. | |
virtual void | restore_backup () |
gauge_field_base< M< N, float > > | get_single_precision () |
Return a single precision copy of the gauge field. | |
Public Attributes | |
Field< gauge_type > | gauge [4] |
A matrix field for each Direction. | |
Field< gauge_type > | momentum [4] |
Specialize double precision SU(N) matrix types.
Definition at line 51 of file gauge_field.h.
|
inlinevirtual |
Restore the gauge field from the backup. Used when an HMC trajectory is rejected.
Definition at line 81 of file gauge_field.h.
Field<gauge_type> gauge_field_base< M< N, double > >::momentum[4] |
Also create a momentum field. This is only allocated if necessary
Definition at line 62 of file gauge_field.h.