etmc / tmLQCD

tmLQCD is a freely available software suite providing a set of tools to be used in lattice QCD simulations. This is mainly a HMC implementation (including PHMC and RHMC) for Wilson, Wilson Clover and Wilson twisted mass fermions and inverter for different versions of the Dirac operator. The code is fully parallelised and ships with optimisations for various modern architectures, such as commodity PC clusters and the Blue Gene family.
http://www.itkp.uni-bonn.de/~urbach/software.html
GNU General Public License v3.0
32 stars 47 forks source link

BeginExternalInverter for DDalphaAMG and QUDA #372

Open kostrzewa opened 7 years ago

kostrzewa commented 7 years ago

With the QPHIX interface, we are introducing the new structure ExternalInverter into the input file:

BeginExternalInverter QPHIX
  [...]
EndExternalInverter

This should also be used for DDalphaAMG and QUDA, for setting global parameters.

kostrzewa commented 7 years ago

@pittlerf This will be relevant for the QUDA-MG as well, I presume.

pittlerf commented 7 years ago

Hi, Could you tell me, what was this issue: `` 633 // IMPORTANT: use opposite TM flavor since gamma5 -> -gamma5 (until LXLYLZT prob. resolved) 634 inv_param.twist_flavor = (optr->mu < 0.0 ? QUDA_TWIST_PLUS : QUDA_TWIST_MINUS); 635 inv_param.Ls = 1;

kostrzewa commented 7 years ago

qphix and QUDA use gamma_5 = gamma_1 gamma_2 gamma_3 gamma_4, so gamma_5 has the opposite sign from our convention. As a result, our up flavour corresponds to their down flavour.