1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-16 23:07:05 +01:00

Added laplacian operator for smearing sources

This commit is contained in:
Guido Cossu
2017-10-04 13:54:54 +01:00
parent d54807b8c0
commit f605230bbb
11 changed files with 757 additions and 200 deletions

View File

@ -47,4 +47,8 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
////////////////////////////////////////
#include <Grid/qcd/action/pseudofermion/PseudoFermion.h>
////////////////////////////////////////////////////////////////////////
// Laplacian on fermion fields
////////////////////////////////////////////////////////////////////////
#include <Grid/qcd/utils/CovariantLaplacian.h>
#endif

View File

@ -53,7 +53,7 @@ directory
// Utility functions
////////////////////////////////////////////
#include <Grid/qcd/utils/Metric.h>
#include <Grid/qcd/utils/CovariantLaplacian.h>
#include <Grid/qcd/utils/CovariantAdjointLaplacian.h>

View File

@ -60,11 +60,11 @@ namespace QCD {
Approx::zolotarev_free(zdata);
}
/***************************************************************
/* Additional EOFA operators only called outside the inverter.
/* Since speed is not essential, simple axpby-style
/* implementations should be fine.
/***************************************************************/
/*
Additional EOFA operators only called outside the inverter.
Since speed is not essential, simple axpby-style
implementations should be fine.
*/
template<class Impl>
void DomainWallEOFAFermion<Impl>::Omega(const FermionField& psi, FermionField& Din, int sign, int dag)
{
@ -115,9 +115,9 @@ namespace QCD {
return(norm2(chi));
}
/********************************************************************
/* Performance critical fermion operators called inside the inverter
/********************************************************************/
// Performance critical fermion operators called inside the inverter
template<class Impl>
void DomainWallEOFAFermion<Impl>::M5D(const FermionField& psi, FermionField& chi)

View File

@ -77,11 +77,11 @@ namespace QCD {
}
}
/***************************************************************
/* Additional EOFA operators only called outside the inverter.
/* Since speed is not essential, simple axpby-style
/* implementations should be fine.
/***************************************************************/
/*
Additional EOFA operators only called outside the inverter.
Since speed is not essential, simple axpby-style
implementations should be fine.
*/
template<class Impl>
void MobiusEOFAFermion<Impl>::Omega(const FermionField& psi, FermionField& Din, int sign, int dag)
{
@ -193,9 +193,9 @@ namespace QCD {
return(norm2(chi));
}
/********************************************************************
/* Performance critical fermion operators called inside the inverter
/********************************************************************/
// Performance critical fermion operators called inside the inverter
template<class Impl>
void MobiusEOFAFermion<Impl>::M5D(const FermionField& psi, FermionField& chi)