Skip to content
Snippets Groups Projects
Commit a1fb88c9 authored by Markus Blatt's avatar Markus Blatt
Browse files

To be consisten with owneroverlapcopycomunication ones has to use the copy...

To be consisten with owneroverlapcopycomunication ones has to use the copy flag instead of the overlap flag for marking vertices not owned by the process.

[[Imported from SVN: r498]]
parent 4e2d943c
Branches
Tags
No related merge requests found
......@@ -41,7 +41,7 @@ void setupPattern(int N, M& mat, Dune::ParallelIndexSet<G,L,s>& indices, int ove
bool isPublic = false;
if((i<start && i > 0) || (i>= end && i < N-1))
flag=GridAttributes::overlap;
flag=GridAttributes::copy;
if(i<start+1 || i>= end-1)
isPublic = true;
......@@ -61,7 +61,7 @@ void setupPattern(int N, M& mat, Dune::ParallelIndexSet<G,L,s>& indices, int ove
// j direction
// Overlap is a dirichlet border, discard neighbours
if(flag != GridAttributes::overlap) {
if(flag != GridAttributes::copy) {
if(j>0)
// lower neighbour
iter.insert(iter.index()-n);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment