diff --git a/Grid/qcd/action/fermion/SchurFactoredFermionOperator.h b/Grid/qcd/action/fermion/SchurFactoredFermionOperator.h index ffc345c5..d04ad1f2 100644 --- a/Grid/qcd/action/fermion/SchurFactoredFermionOperator.h +++ b/Grid/qcd/action/fermion/SchurFactoredFermionOperator.h @@ -66,12 +66,14 @@ template class SchurFactoredFermionOperator : public Impl { INHERIT_IMPL_TYPES(Impl); + +public: FermionOperator & DirichletFermOp; FermionOperator & FermOp; OperatorFunction &Solver; Coordinate Block; -public: + SchurFactoredFermionOperator(FermionOperator & _FermOp, FermionOperator & _DirichletFermOp, OperatorFunction &_Solver, @@ -84,6 +86,8 @@ public: // FIXME -- could check that the DirichletFermOp block matches this. // Pass in Dirichlet FermOp because we really need two dirac operators // as double stored gauge fields differ. + + assert(_FermOp.FermionGrid() = _DirichletFermOp.FermionGrid()); // May not be true in future if change communicator scheme }; enum Domain { Omega=0, OmegaBar=1 };