HILA
Loading...
Searching...
No Matches
GaugeField< T > Class Template Reference

Gauge field class. More...

#include <gaugefield.h>

Public Member Functions

 ~GaugeField ()=default
 Destructor.
 
Field< T > & operator[] (Direction d)
 Access components with [].
 
template<typename A >
GaugeFieldoperator= (const A &val)
 Assign from anything the field allows.
 
GaugeFieldoperator= (std::nullptr_t np)
 Separate 0 assignment.
 
void reunitarize_gauge ()
 Reunitarize Gauge Field consisting of \( SU(N)\) matrices.
 
double measure_plaq () const
 Computes Wilson action.
 
void config_write (const std::string &filename) const
 config_write writes the gauge field to file, with additional "verifying" header
 

Detailed Description

template<typename T>
class GaugeField< T >

Gauge field class.

Stores and defines links between Lattice Field elements. Number of links is lattice.size()*NDIM, since for each point there is a link in all directions.

Parameters
fdirstd::array<Field<T>,NDIM> type element which stores GaugeField links in back to back direction wise ordering.
Template Parameters
TGroup that GaugeField consists of

Definition at line 22 of file gaugefield.h.

Member Function Documentation

◆ measure_plaq()

template<typename T >
double GaugeField< T >::measure_plaq ( ) const
inline

Computes Wilson action.

\begin{align} S &= \beta\sum_{\textbf{dir}_1 < \textbf{dir}_2}\sum_{X} \frac{1}{N} \Re\mathrm{Tr}\left[ 1- U_{\textbf{dir}_1 \textbf{dir}_2}(X) \right] \end{align}

Where \(\beta = 2N/g^2\)

Returns
double

Definition at line 108 of file gaugefield.h.

◆ reunitarize_gauge()

template<typename T >
void GaugeField< T >::reunitarize_gauge ( )
inline

Reunitarize Gauge Field consisting of \( SU(N)\) matrices.

Only defined for \( SU(N) \) matrices and Fields

Definition at line 94 of file gaugefield.h.


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