Added new versions of DiagST as indicated in the paper 'Additive Overlapping DDM' (i.e, the source is calculated at the subdomain that receives it and it's multiplied by the indicator function of the non-overlapping partition)
This commit is contained in:
@@ -19,7 +19,7 @@ DiagST::DiagST(SesquilinearForm * bf_, Array2D<double> & Pmllength_,
|
||||
// 1. Ovelapping partition with overlap = 2h
|
||||
partition_kind = 2; // Non Overlapping partition
|
||||
int nx=8;
|
||||
int ny=8;
|
||||
int ny=1;
|
||||
int nz=1;
|
||||
ovlpnrlayers = 2;
|
||||
povlp = new MeshPartition(mesh, partition_kind,nx,ny,nz,ovlpnrlayers);
|
||||
@@ -173,7 +173,7 @@ void DiagST::Mult(const Vector &r, Vector &z) const
|
||||
|
||||
int nsteps = nx + ny - 1;
|
||||
// Sweep number
|
||||
for (int l=0; l<1; l++)
|
||||
for (int l=0; l<4; l++)
|
||||
{
|
||||
for (int s = 0; s<nsteps; s++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user