#include <alg_rnd_gauge.h>
Inherits cps::Alg.
Public Member Functions | |
| AlgRandomGauge (Lattice &latt, CommonArg *c_arg) | |
| ~AlgRandomGauge () | |
| void | set_theta (Float t) |
| Set the rotation angle. | |
| void | run () |
| Run this algorithm. | |
| void | free () |
| Free memory allocated by this class. | |
Calculates the gauge transformation matrices for a random local gauge transformation and places them in the matrices pointed to by Lattice::fix_gauge_ptr
First a random choice is made of of one of three su(2) subgroups, which is them filled with random elements, controlled by an angle theta ( As might be expected 0 and 2pi correspond to no rotation )
Definition at line 32 of file alg_rnd_gauge.h.
|
||||||||||||
|
Definition at line 39 of file alg_rnd_gauge.C. References cps::Verbose::Func(), cps::GJP, cps::GlobalJobParameter::TnodeSites(), cps::VRB, cps::GlobalJobParameter::XnodeSites(), cps::GlobalJobParameter::YnodeSites(), and cps::GlobalJobParameter::ZnodeSites(). |
|
|
Definition at line 70 of file alg_rnd_gauge.h. |
|
|
Free memory allocated by this class. You might want to keep the gauge fixing matrices longer than the scope of this class so the memory for them isn't automaticaly freed in the destructor. (ugly, but follows convention of gauge-fixing code) Definition at line 88 of file alg_rnd_gauge.h. |
|
|
Run this algorithm.
Definition at line 57 of file alg_rnd_gauge.C. References cps::Alg::AlgLattice(), cps::LatRanGen::AssignGenerator(), cps::FIX_GAUGE_LANDAU, cps::Lattice::FixGaugeAllocate(), cps::Lattice::FixGaugePtr(), cps::IFloat, cps::LRG, cps::LatRanGen::SetInterval(), and cps::LatRanGen::Urand(). |
|
|
Set the rotation angle.
Definition at line 76 of file alg_rnd_gauge.h. |
1.3.9.1