mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	Updating preparing for solvers etc..
This commit is contained in:
		@@ -290,10 +290,7 @@ void WilsonMatrix::MpcDagMpc(const LatticeFermion &in, LatticeFermion &out)
 | 
			
		||||
{
 | 
			
		||||
  return;
 | 
			
		||||
}
 | 
			
		||||
void WilsonMatrix::MDagM    (const LatticeFermion &in, LatticeFermion &out)
 | 
			
		||||
{
 | 
			
		||||
  return;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
}}
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ namespace Grid {
 | 
			
		||||
 | 
			
		||||
  namespace QCD {
 | 
			
		||||
 | 
			
		||||
    class WilsonMatrix : public LinearOperatorBase<LatticeFermion>
 | 
			
		||||
    class WilsonMatrix : public SparseMatrixBase<LatticeFermion>
 | 
			
		||||
    {
 | 
			
		||||
      //NB r=1;
 | 
			
		||||
    public:
 | 
			
		||||
@@ -40,6 +40,11 @@ namespace Grid {
 | 
			
		||||
      virtual void Mdag (const LatticeFermion &in, LatticeFermion &out);
 | 
			
		||||
      virtual void MdagM(const LatticeFermion &in, LatticeFermion &out);
 | 
			
		||||
 | 
			
		||||
      // half checkerboard operaions
 | 
			
		||||
      void Mpc      (const LatticeFermion &in, LatticeFermion &out);
 | 
			
		||||
      void MpcDag   (const LatticeFermion &in, LatticeFermion &out);
 | 
			
		||||
      void MpcDagMpc(const LatticeFermion &in, LatticeFermion &out);
 | 
			
		||||
 | 
			
		||||
      // non-hermitian hopping term; half cb or both
 | 
			
		||||
      void Dhop(const LatticeFermion &in, LatticeFermion &out);
 | 
			
		||||
 | 
			
		||||
@@ -48,17 +53,10 @@ namespace Grid {
 | 
			
		||||
 | 
			
		||||
      typedef iScalar<iMatrix<vComplex, Nc> > matrix;
 | 
			
		||||
 | 
			
		||||
      // half checkerboard operaions
 | 
			
		||||
      void MpcDag   (const LatticeFermion &in, LatticeFermion &out);
 | 
			
		||||
      void Mpc      (const LatticeFermion &in, LatticeFermion &out);
 | 
			
		||||
      void MpcDagMpc(const LatticeFermion &in, LatticeFermion &out);
 | 
			
		||||
 | 
			
		||||
      // full checkerboard hermitian
 | 
			
		||||
      void MDagM    (const LatticeFermion &in, LatticeFermion &out);
 | 
			
		||||
 | 
			
		||||
      
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user