1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 15:27:06 +01:00

Minor changes

This commit is contained in:
Guido Cossu
2017-10-09 09:44:03 +01:00
parent ac5cfd33a6
commit f4e6824f22
3 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@ BEGIN_HADRONS_NAMESPACE
*/ */
/****************************************************************************** /******************************************************************************
* Z2 stochastic source * * Laplace smearing operator *
******************************************************************************/ ******************************************************************************/
BEGIN_MODULE_NAMESPACE(MSource) BEGIN_MODULE_NAMESPACE(MSource)
@ -85,7 +85,7 @@ class TLaplacian : public Module<LaplacianPar>
MODULE_REGISTER_NS(LaplaceSmearing, TLaplacian<FIMPL>, MSource); MODULE_REGISTER_NS(LaplaceSmearing, TLaplacian<FIMPL>, MSource);
/****************************************************************************** /******************************************************************************
* TLaplacian template implementation * * TLaplacian template implementation *
******************************************************************************/ ******************************************************************************/
// constructor ///////////////////////////////////////////////////////////////// // constructor /////////////////////////////////////////////////////////////////
template <typename FImpl> template <typename FImpl>

View File

@ -38,7 +38,7 @@ namespace Grid{
// (Moe Moo) (Moe Mee^-1 1 ) (0 Moo-Moe Mee^-1 Meo) (0 1 ) // (Moe Moo) (Moe Mee^-1 1 ) (0 Moo-Moe Mee^-1 Meo) (0 1 )
// //
// Determinant is det of middle factor // Determinant is det of middle factor
// This assumes Mee is indept of U. // NOTICE: This assumes Mee is indept of U in computing the derivative
// //
template<class Impl> template<class Impl>
class SchurDifferentiableOperator : public SchurDiagMooeeOperator<FermionOperator<Impl>,typename Impl::FermionField> class SchurDifferentiableOperator : public SchurDiagMooeeOperator<FermionOperator<Impl>,typename Impl::FermionField>
@ -77,7 +77,7 @@ namespace Grid{
// X^dag Der_oe MeeInv Meo Y // X^dag Der_oe MeeInv Meo Y
// Use Mooee as nontrivial but gauge field indept // Use Mooee as nontrivial but gauge field indept
this->_Mat.Meooe (V,tmp1); // odd->even -- implicit -0.5 factor to be applied this->_Mat.Meooe (V,tmp1); // odd->even -- implicit -0.5 factor to be applied
this->_Mat.MooeeInv(tmp1,tmp2); // even->even this->_Mat.MooeeInv(tmp1,tmp2); // even->even
this->_Mat.MoeDeriv(ForceO,U,tmp2,DaggerNo); this->_Mat.MoeDeriv(ForceO,U,tmp2,DaggerNo);
// Accumulate X^dag M_oe MeeInv Der_eo Y // Accumulate X^dag M_oe MeeInv Der_eo Y
this->_Mat.MeooeDag (U,tmp1); // even->odd -- implicit -0.5 factor to be applied this->_Mat.MeooeDag (U,tmp1); // even->odd -- implicit -0.5 factor to be applied

View File

@ -4,7 +4,7 @@ Grid physics library, www.github.com/paboyle/Grid
Source file: ./lib/qcd/action/scalar/CovariantLaplacian.h Source file: ./lib/qcd/action/scalar/CovariantLaplacian.h
Copyright (C) 2016 Copyright (C) 2017
Author: Guido Cossu <guido.cossu@ed.ac.uk> Author: Guido Cossu <guido.cossu@ed.ac.uk>