mirror of
https://github.com/paboyle/Grid.git
synced 2025-08-03 21:27:07 +01:00
Faster implementation of conserved current site contraction. Added 5D vectorised support, but not G-parity.
This commit is contained in:
@@ -183,12 +183,26 @@ public:
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// Utilities for inserting Wilson conserved current.
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
void ContractConservedCurrentInternal(const PropagatorField &q_in_1,
|
||||
const PropagatorField &q_in_2,
|
||||
PropagatorField &q_out,
|
||||
DoubledGaugeField &U,
|
||||
Current curr_type,
|
||||
unsigned int mu);
|
||||
void ContractConservedCurrentSiteFwd(const PropagatorField &q_in_1,
|
||||
const PropagatorField &q_in_2,
|
||||
PropagatorField &q_out,
|
||||
DoubledGaugeField &U,
|
||||
unsigned int mu,
|
||||
unsigned int sF_in_1,
|
||||
unsigned int sF_in_2,
|
||||
unsigned int sF_out,
|
||||
unsigned int sU,
|
||||
bool switch_sign = false);
|
||||
void ContractConservedCurrentSiteBwd(const PropagatorField &q_in_1,
|
||||
const PropagatorField &q_in_2,
|
||||
PropagatorField &q_out,
|
||||
DoubledGaugeField &U,
|
||||
unsigned int mu,
|
||||
unsigned int sF_in_1,
|
||||
unsigned int sF_in_2,
|
||||
unsigned int sF_out,
|
||||
unsigned int sU,
|
||||
bool switch_sign = false);
|
||||
void SeqConservedCurrentInternal(const PropagatorField &q_in,
|
||||
PropagatorField &q_out,
|
||||
DoubledGaugeField &U,
|
||||
|
Reference in New Issue
Block a user