1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 15:55:37 +00:00

Namespace, fmt

This commit is contained in:
paboyle 2018-01-14 23:30:34 +00:00
parent 493ea80208
commit ccd75c039a

View File

@ -25,11 +25,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
See the full license in the file "LICENSE" in the top level distribution See the full license in the file "LICENSE" in the top level distribution
directory directory
*************************************************************************************/ *************************************************************************************/
/* END LEGAL */ /* END LEGAL */
#include <Grid.h> #include <Grid.h>
namespace Grid { NAMESPACE_BEGIN(Grid);
namespace QCD {
const std::vector<int> const std::vector<int>
ImprovedStaggeredFermionStatic::directions({0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3}); ImprovedStaggeredFermionStatic::directions({0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3});
@ -86,17 +85,17 @@ ImprovedStaggeredFermion<Impl>::ImprovedStaggeredFermion(GaugeField &_Uthin,Gaug
} }
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
// Momentum space propagator should be // Momentum space propagator should be
// https://arxiv.org/pdf/hep-lat/9712010.pdf // https://arxiv.org/pdf/hep-lat/9712010.pdf
// //
// mom space action. // mom space action.
// gamma_mu i ( c1 sin pmu + c2 sin 3 pmu ) + m // gamma_mu i ( c1 sin pmu + c2 sin 3 pmu ) + m
// //
// must track through staggered flavour/spin reduction in literature to // must track through staggered flavour/spin reduction in literature to
// turn to free propagator for the one component chi field, a la page 4/5 // turn to free propagator for the one component chi field, a la page 4/5
// of above link to implmement fourier based solver. // of above link to implmement fourier based solver.
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
template <class Impl> template <class Impl>
void ImprovedStaggeredFermion<Impl>::ImportGauge(const GaugeField &_Uthin) void ImprovedStaggeredFermion<Impl>::ImportGauge(const GaugeField &_Uthin)
{ {
@ -420,7 +419,7 @@ void ImprovedStaggeredFermion<Impl>::SeqConservedCurrent(PropagatorField &q_in,
FermOpStaggeredTemplateInstantiate(ImprovedStaggeredFermion); FermOpStaggeredTemplateInstantiate(ImprovedStaggeredFermion);
//AdjointFermOpTemplateInstantiate(ImprovedStaggeredFermion); //AdjointFermOpTemplateInstantiate(ImprovedStaggeredFermion);
//TwoIndexFermOpTemplateInstantiate(ImprovedStaggeredFermion); //TwoIndexFermOpTemplateInstantiate(ImprovedStaggeredFermion);
}} NAMESPACE_END(Grid);