Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 7b6afac1 authored by frey_m's avatar frey_m
Browse files

AMR-Trilinos: use domain boundary as well

parent 052a0d8b
No related branches found
No related tags found
1 merge request!31Master
......@@ -62,10 +62,10 @@ void MueLuBottomSolver<Level>::setOperator(const Teuchos::RCP<matrix_t>& A,
AmrIntVect_t iv(D_DECL(i, j, k));
go_t gidx = level_p->serialize(iv);
coords_mp->replaceGlobalValue(gidx, 0, (0.5 + i) * dx[0]);
coords_mp->replaceGlobalValue(gidx, 1, (0.5 + j) * dx[1]);
coords_mp->replaceGlobalValue(gidx, 0, domain[0] + (0.5 + i) * dx[0]);
coords_mp->replaceGlobalValue(gidx, 1, domain[1] + (0.5 + j) * dx[1]);
#if AMREX_SPACEDIM == 3
coords_mp->replaceGlobalValue(gidx, 2, (0.5 + k) * dx[2]);
coords_mp->replaceGlobalValue(gidx, 2, domain[2] + (0.5 + k) * dx[2]);
}
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment