HILA
|
Gauge field class. More...
#include <gaugefield.h>
Public Member Functions | |
~GaugeField ()=default | |
Destructor. | |
Field< T > & | operator[] (Direction d) |
Access components with []. | |
template<typename A > | |
GaugeField & | operator= (const A &val) |
Assign from anything the field allows. | |
GaugeField & | operator= (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 | |
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.
fdir | std::array<Field<T>,NDIM> type element which stores GaugeField links in back to back direction wise ordering. |
T | Group that GaugeField consists of |
Definition at line 22 of file gaugefield.h.
|
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\)
Definition at line 108 of file gaugefield.h.
|
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.