HILA
Loading...
Searching...
No Matches
stout_smeared_field< sun > Class Template Reference

#include <smearing.h>

Inheritance diagram for stout_smeared_field< sun >:
Collaboration diagram for stout_smeared_field< sun >:

Public Types

using gauge_type_flt = sun
 

Public Member Functions

void refresh ()
 Recalculate represented or smeared field.
 
void set_unity ()
 Set the field to unity.
 
void random ()
 Draw a random gauge field.
 
void add_momentum (Field< SquareMatrix< N, Complex< basetype > > > *force)
 Update the momentum by given force.
 
void draw_momentum ()
 Draw gaussian random momentum.
 
void zero_momentum ()
 Set the momentum to zero.
 
void backup ()
 Make a copy of the gauge field for HMC.
 
void restore_backup ()
 

Public Attributes

Field< sun > gauge [4]
 A matrix field for each Direction.
 
Field< sun > momentum [4]
 

Detailed Description

template<typename sun>
class stout_smeared_field< sun >

A stout smeared gauge field built of a standard gauge field. The structure is the same as for the standard and represented gauge fields. refresh(): recalculates the smeared field from the underlying gauge field. add_momentum(): transforms a derivative with respect to this field to a derivative with respect to the underlying gauge field and add to the momentum of the gauge field.

Definition at line 76 of file smearing.h.

Member Typedef Documentation

◆ gauge_type_flt

template<typename sun >
using gauge_field_base< sun >::gauge_type_flt = sun
inherited

If the base type is double, this will be the corresponding floating point type.

Definition at line 47 of file gauge_field.h.

Member Function Documentation

◆ restore_backup()

template<typename sun >
void stout_smeared_field< sun >::restore_backup ( )
inlinevirtual

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

Reimplemented from gauge_field_base< sun >.

Definition at line 232 of file smearing.h.

Member Data Documentation

◆ momentum

template<typename sun >
Field<sun> gauge_field_base< sun >::momentum[4]
inherited

Also create a momentum field. This is only allocated if necessary

Definition at line 24 of file gauge_field.h.


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