mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-27 14:15:55 +01:00
Compressor
This commit is contained in:
parent
c5bdf61215
commit
4135f2dcd1
@ -36,7 +36,7 @@ NAMESPACE_BEGIN(Grid);
|
|||||||
// Wilson compressor will need FaceGather policies for:
|
// Wilson compressor will need FaceGather policies for:
|
||||||
// Periodic, Dirichlet, and partial Dirichlet for DWF
|
// Periodic, Dirichlet, and partial Dirichlet for DWF
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
const int dwf_compressor_depth=1;
|
const int dwf_compressor_depth=2;
|
||||||
#define DWF_COMPRESS
|
#define DWF_COMPRESS
|
||||||
class FaceGatherPartialDWF
|
class FaceGatherPartialDWF
|
||||||
{
|
{
|
||||||
@ -110,7 +110,7 @@ public:
|
|||||||
////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
template<class vobj,class cobj,class compressor>
|
template<class vobj,class cobj,class compressor>
|
||||||
static void Gather_plane_exchange(commVector<std::pair<int,int> >& table,const Lattice<vobj> &rhs,
|
static void Gather_plane_exchange(commVector<std::pair<int,int> >& table,const Lattice<vobj> &rhs,
|
||||||
Vector<cobj *> pointers,int dimension,int plane,int cbmask,
|
std::vector<cobj *> pointers,int dimension,int plane,int cbmask,
|
||||||
compressor &compress,int type,int partial)
|
compressor &compress,int type,int partial)
|
||||||
{
|
{
|
||||||
GridBase *Grid = rhs.Grid();
|
GridBase *Grid = rhs.Grid();
|
||||||
@ -209,7 +209,7 @@ public:
|
|||||||
}
|
}
|
||||||
template<class vobj,class cobj,class compressor>
|
template<class vobj,class cobj,class compressor>
|
||||||
static void Gather_plane_exchange(commVector<std::pair<int,int> >& table,const Lattice<vobj> &rhs,
|
static void Gather_plane_exchange(commVector<std::pair<int,int> >& table,const Lattice<vobj> &rhs,
|
||||||
Vector<cobj *> pointers,int dimension,int plane,int cbmask,
|
std::vector<cobj *> pointers,int dimension,int plane,int cbmask,
|
||||||
compressor &compress,int type,int partial)
|
compressor &compress,int type,int partial)
|
||||||
{
|
{
|
||||||
// std::cout << " face gather exch DWF partial "<<partial <<std::endl;
|
// std::cout << " face gather exch DWF partial "<<partial <<std::endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user