HILA
Loading...
Searching...
No Matches
gauge_field_base< M< N, double > > Class Template Reference

Specialize double precision SU(N) matrix types. More...

#include <gauge_field.h>

Collaboration diagram for gauge_field_base< M< N, double > >:

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 add_momentum (Field< SquareMatrix< N, Complex< basetype > > > *force)
 Update the momentum by given force.
 
virtual void backup ()
 Make a copy of the gauge field for HMC.
 
virtual void draw_momentum ()
 Draw gaussian random momentum.
 
gauge_field_base< M< N, float > > get_single_precision ()
 Return a single precision copy of the gauge field.
 
virtual void random ()
 Draw a random gauge field.
 
virtual void refresh ()
 Recalculate represented or smeared field.
 
virtual void restore_backup ()
 
virtual void set_unity ()
 Set the field to unity.
 
virtual void zero_momentum ()
 Set the momentum to zero.
 

Public Attributes

Field< gauge_typegauge [4]
 A matrix field for each Direction.
 
Field< gauge_typemomentum [4]
 

Detailed Description

template<template< int, typename > class M, int N>
class gauge_field_base< M< N, double > >

Specialize double precision SU(N) matrix types.

Definition at line 51 of file gauge_field.h.

Member Function Documentation

◆ restore_backup()

template<template< int, typename > class M, int N>
virtual void gauge_field_base< M< N, double > >::restore_backup ( )
inlinevirtual

Restore the gauge field from the backup. Used when an HMC trajectory is rejected.

Definition at line 81 of file gauge_field.h.

Member Data Documentation

◆ momentum

template<template< int, typename > class M, int N>
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.


The documentation for this class was generated from the following file: