HILA
|
Application to simulate \( SU(N) \) Gauge field. More...
#include "hila.h"
#include "gauge/staples.h"
#include "gauge/polyakov.h"
#include "gauge/stout_smear.h"
#include "gauge/sun_heatbath.h"
#include "gauge/sun_overrelax.h"
#include "tools/checkpoint.h"
#include <fftw3.h>
#include "parameters.h"
Go to the source code of this file.
Functions | |
int | z_ind (int z) |
Helper function to get valid z-coordinate index. | |
template<typename group > | |
void | measure_stuff (const GaugeField< group > &U, const parameters &p) |
Measures Polyakov lines and Wilson action. | |
template<typename group > | |
void | update (GaugeField< group > &U, const parameters &p, bool relax) |
Wrapper update function. | |
template<typename group > | |
void | update_parity_dir (GaugeField< group > &U, const parameters &p, Parity par, Direction d, bool relax) |
Wrapper function to updated GaugeField per direction. | |
template<typename group > | |
void | do_trajectory (GaugeField< group > &U, const parameters &p) |
Evolve gauge field. | |
Application to simulate \( SU(N) \) Gauge field.
Simple application which Generates \( SU(N) \) GaugeField using staplesum, suN_overrelax and suN_heatbath. Each evolution, the application measures the Wilson action using GaugeField::measure_plaq and Polyakov lines using measure_polyakov.
Definition in file suN_gauge.cpp.
void do_trajectory | ( | GaugeField< group > & | U, |
const parameters & | p | ||
) |
Evolve gauge field.
Evolution happens by means of heat bath and over relaxation. For each heatbath update (p.n_update) we update p.n_overrelax times with over relaxation.
group |
U | |
p |
Definition at line 147 of file suN_gauge.cpp.
void measure_stuff | ( | const GaugeField< group > & | U, |
const parameters & | p | ||
) |
Measures Polyakov lines and Wilson action.
group |
U | GaugeField to measure |
p | Parameter struct |
Definition at line 41 of file suN_gauge.cpp.
void update | ( | GaugeField< group > & | U, |
const parameters & | p, | ||
bool | relax | ||
) |
Wrapper update function.
Updates Gauge Field one direction at a time first EVEN then ODD parity
group |
U | GaugeField to update |
p | Parameter struct |
relax | If true evolves GaugeField with over relaxation if false then with heat bath |
Definition at line 73 of file suN_gauge.cpp.
void update_parity_dir | ( | GaugeField< group > & | U, |
const parameters & | p, | ||
Parity | par, | ||
Direction | d, | ||
bool | relax | ||
) |
Wrapper function to updated GaugeField per direction.
Computes first staplesum, then uses computed result to evolve GaugeField either with over relaxation or heat bath
group |
U | GaugeField to evolve |
p | parameter struct |
par | Parity |
d | Direction to evolve |
relax | If true evolves GaugeField with over relaxation if false then with heat bath |
Definition at line 100 of file suN_gauge.cpp.
int z_ind | ( | int | z | ) |
Helper function to get valid z-coordinate index.
z |
Definition at line 29 of file suN_gauge.cpp.