7 LatticeField(param), bytes(0), phase_offset(0), phase_bytes(0), nColor(param.nColor), nFace(param.nFace),
8 geometry(param.geometry), reconstruct(param.reconstruct), order(param.order),
11 create(param.create), ghostExchange(param.ghostExchange),
12 staggeredPhaseType(param.staggeredPhaseType), staggeredPhaseApplied(param.staggeredPhaseApplied)
18 errorQuda(
"Temporal gauge fixing only supported for Wilson links");
37 for (
int d=0; d<
nDim; d++)
r[d] = param.
r[d];
39 for (
int d=0; d<
nDim; d++)
r[d] = 0;
49 half_phase_bytes = ((half_phase_bytes + (512-1))/512)*512;
50 half_gauge_bytes = ((half_gauge_bytes + (512-1))/512)*512;
54 bytes = (half_gauge_bytes + half_phase_bytes)*2;
123 output << static_cast<const LatticeFieldParam &>(
param);
124 output <<
"nColor = " << param.
nColor << std::endl;
125 output <<
"nFace = " << param.
nFace << std::endl;
126 output <<
"reconstruct = " << param.
reconstruct << std::endl;
127 output <<
"order = " << param.
order << std::endl;
128 output <<
"fixed = " << param.
fixed << std::endl;
129 output <<
"link_type = " << param.
link_type << std::endl;
130 output <<
"t_boundary = " << param.
t_boundary << std::endl;
131 output <<
"anisotropy = " << param.
anisotropy << std::endl;
132 output <<
"tadpole = " << param.
tadpole << std::endl;
133 output <<
"scale = " << param.
scale << std::endl;
134 output <<
"create = " << param.
create << std::endl;
135 output <<
"geometry = " << param.
geometry << std::endl;
136 output <<
"ghostExchange = " << param.
ghostExchange << std::endl;
137 for (
int i=0; i<param.
nDim; i++) {
138 output <<
"r[" << i <<
"] = " << param.
r[i] << std::endl;
QudaReconstructType reconstruct
bool staggeredPhaseApplied
void applyGaugePhase(GaugeField &u)
GaugeField(const GaugeFieldParam ¶m)
std::ostream & operator<<(std::ostream &output, const CloverFieldParam ¶m)
QudaFieldGeometry geometry
bool staggeredPhaseApplied
#define ALIGNMENT_ADJUST(n)
void checkField(const LatticeField &)
QudaGaugeFieldOrder order
__constant__ double anisotropy
QudaStaggeredPhase staggeredPhaseType
QudaGhostExchange ghostExchange
void checkField(const GaugeField &)
QudaGhostExchange ghostExchange
void applyStaggeredPhase()
QudaReconstructType reconstruct
__constant__ double t_boundary
QudaFieldGeometry geometry
QudaGaugeFieldOrder order
void removeStaggeredPhase()