mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
AUDIT removal
This commit is contained in:
parent
bae6c263dc
commit
f6402cb6c4
@ -96,6 +96,8 @@ WilsonFermion5D<Impl>::WilsonFermion5D(GaugeField &_Umu,
|
|||||||
Coordinate block = p.dirichlet;
|
Coordinate block = p.dirichlet;
|
||||||
if ( block[0] || block[1] || block[2] || block[3] || block[4] ){
|
if ( block[0] || block[1] || block[2] || block[3] || block[4] ){
|
||||||
Dirichlet = 1;
|
Dirichlet = 1;
|
||||||
|
std::cout << GridLogMessage << " WilsonFermion: non-trivial Dirichlet condition "<< block << std::endl;
|
||||||
|
std::cout << GridLogMessage << " WilsonFermion: partial Dirichlet "<< p.partialDirichlet << std::endl;
|
||||||
Block = block;
|
Block = block;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -137,9 +139,6 @@ WilsonFermion5D<Impl>::WilsonFermion5D(GaugeField &_Umu,
|
|||||||
StencilEven.BuildSurfaceList(LLs,vol4);
|
StencilEven.BuildSurfaceList(LLs,vol4);
|
||||||
StencilOdd.BuildSurfaceList(LLs,vol4);
|
StencilOdd.BuildSurfaceList(LLs,vol4);
|
||||||
|
|
||||||
// std::cout << GridLogMessage << " SurfaceLists "<< Stencil.surface_list.size()
|
|
||||||
// <<" " << StencilEven.surface_list.size()<<std::endl;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Impl>
|
template<class Impl>
|
||||||
@ -148,21 +147,29 @@ void WilsonFermion5D<Impl>::ImportGauge(const GaugeField &_Umu)
|
|||||||
GaugeField HUmu(_Umu.Grid());
|
GaugeField HUmu(_Umu.Grid());
|
||||||
HUmu = _Umu*(-0.5);
|
HUmu = _Umu*(-0.5);
|
||||||
if ( Dirichlet ) {
|
if ( Dirichlet ) {
|
||||||
|
|
||||||
|
if ( this->Params.partialDirichlet ) {
|
||||||
|
std::cout << GridLogMessage << " partialDirichlet BCs " <<Block<<std::endl;
|
||||||
|
} else {
|
||||||
|
std::cout << GridLogMessage << " FULL Dirichlet BCs " <<Block<<std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
std:: cout << GridLogMessage << "Checking block size multiple of rank boundaries for Dirichlet"<<std::endl;
|
std:: cout << GridLogMessage << "Checking block size multiple of rank boundaries for Dirichlet"<<std::endl;
|
||||||
for(int d=0;d<Nd;d++) {
|
for(int d=0;d<Nd;d++) {
|
||||||
int GaugeBlock = Block[d+1];
|
int GaugeBlock = Block[d+1];
|
||||||
int ldim=GaugeGrid()->LocalDimensions()[d];
|
int ldim=GaugeGrid()->LocalDimensions()[d];
|
||||||
if (GaugeBlock) assert( (GaugeBlock%ldim)==0);
|
if (GaugeBlock) assert( (GaugeBlock%ldim)==0);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if ( Dirichlet && (!this->Params.partialDirichlet) ) {
|
if (!this->Params.partialDirichlet) {
|
||||||
std::cout << GridLogMessage << " Dirichlet filtering gauge field BCs block " <<Block<<std::endl;
|
std::cout << GridLogMessage << " Dirichlet filtering gauge field BCs block " <<Block<<std::endl;
|
||||||
Coordinate GaugeBlock(Nd);
|
Coordinate GaugeBlock(Nd);
|
||||||
for(int d=0;d<Nd;d++) GaugeBlock[d] = Block[d+1];
|
for(int d=0;d<Nd;d++) GaugeBlock[d] = Block[d+1];
|
||||||
DirichletFilter<GaugeField> Filter(GaugeBlock);
|
DirichletFilter<GaugeField> Filter(GaugeBlock);
|
||||||
Filter.applyFilter(HUmu);
|
Filter.applyFilter(HUmu);
|
||||||
} else {
|
} else {
|
||||||
std::cout << GridLogMessage << " Dirichlet "<< Dirichlet << " not filtered gauge field" <<std::endl;
|
std::cout << GridLogMessage << " Dirichlet "<< Dirichlet << " NOT filtered gauge field" <<std::endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Impl::DoubleStore(GaugeGrid(),Umu,HUmu);
|
Impl::DoubleStore(GaugeGrid(),Umu,HUmu);
|
||||||
pickCheckerboard(Even,UmuEven,Umu);
|
pickCheckerboard(Even,UmuEven,Umu);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user