mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 05:30:46 +01:00
tadpole insertion for DWF
This commit is contained in:
parent
2cfb50cbe5
commit
55e39df30f
@ -833,9 +833,12 @@ void WilsonFermion5D<Impl>::SeqConservedCurrent(PropagatorField &q_in,
|
|||||||
for (unsigned int s = 0; s < LLs; ++s)
|
for (unsigned int s = 0; s < LLs; ++s)
|
||||||
{
|
{
|
||||||
bool axial_sign = ((curr_type == Current::Axial) && (s < (LLs / 2)));
|
bool axial_sign = ((curr_type == Current::Axial) && (s < (LLs / 2)));
|
||||||
|
bool tadpole_sign = (curr_type == Current::Tadpole);
|
||||||
|
bool switch_sgn = tadpole_sign || axial_sign;
|
||||||
|
|
||||||
Kernels::SeqConservedCurrentSiteFwd(tmpFwd._odata[sF],
|
Kernels::SeqConservedCurrentSiteFwd(tmpFwd._odata[sF],
|
||||||
q_out._odata[sF], Umu, sU,
|
q_out._odata[sF], Umu, sU,
|
||||||
mu, t_mask, axial_sign);
|
mu, t_mask, switch_sgn);
|
||||||
++sF;
|
++sF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user