00001
00002
00003
00004
00005
00006
00007 #include "chromabase.h"
00008 #include "actions/ferm/linop/asqtad_linop_s.h"
00009
00010 namespace Chroma
00011 {
00012 void AsqtadLinOp::evenOddLinOp(LatticeStaggeredFermion& chi,
00013 const LatticeStaggeredFermion& psi,
00014 enum PlusMinus isign) const
00015 {
00016 D.apply(chi, psi, isign, 0);
00017 }
00018
00019 void AsqtadLinOp::oddEvenLinOp(LatticeStaggeredFermion& chi,
00020 const LatticeStaggeredFermion& psi,
00021 enum PlusMinus isign) const
00022 {
00023 D.apply(chi, psi, isign, 1);
00024 }
00025
00026
00027 unsigned long AsqtadLinOp::nFlops() const
00028 {
00029 unsigned long cbsite_flops = 1146;
00030 return cbsite_flops*(Layout::sitesOnNode()/2);
00031 }
00032
00033 }
00034