mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 13:40:46 +01:00
Hadrons: LCL cleaning
This commit is contained in:
parent
ba6db55cb0
commit
c4274e1660
@ -174,6 +174,7 @@ void TLocalCoherenceLanczos<FImpl, nBasis>::makeCoarseGrid(void)
|
|||||||
GridDefaultMpi()));
|
GridDefaultMpi()));
|
||||||
coarseGridRb_.reset(SpaceTimeGrid::makeFourDimRedBlackGrid(coarseGrid_.get()));
|
coarseGridRb_.reset(SpaceTimeGrid::makeFourDimRedBlackGrid(coarseGrid_.get()));
|
||||||
}
|
}
|
||||||
|
LOG(Message) << "Coarse grid: " << coarseGrid_->GlobalDimensions() << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename FImpl, int nBasis>
|
template <typename FImpl, int nBasis>
|
||||||
@ -232,7 +233,8 @@ void TLocalCoherenceLanczos<FImpl, nBasis>::execute(void)
|
|||||||
coarsePar.Nstop, coarsePar.Nk, coarsePar.Nm,
|
coarsePar.Nstop, coarsePar.Nk, coarsePar.Nm,
|
||||||
coarsePar.resid, coarsePar.MaxIt, coarsePar.betastp,
|
coarsePar.resid, coarsePar.MaxIt, coarsePar.betastp,
|
||||||
coarsePar.MinRes);
|
coarsePar.MinRes);
|
||||||
LOG(Message) << "Orthogonalising" << std::endl;
|
solver.testCoarse(coarsePar.resid*100.0, par().smoother,
|
||||||
|
par().coarseRelaxTol);
|
||||||
if (!par().output.empty())
|
if (!par().output.empty())
|
||||||
{
|
{
|
||||||
coarse.write(par().output + "_coarse");
|
coarse.write(par().output + "_coarse");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user