Skip to content
Snippets Groups Projects
Commit dc2169e8 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Merge branch 'manyPreprocessing' into 'master'

Formulation fails when calling Formulation::pre() many times

See merge request !18
parents a051690f 1b8cad5c
No related branches found
No related tags found
1 merge request!18Formulation fails when calling Formulation::pre() many times
Pipeline #10084 passed
...@@ -897,6 +897,7 @@ namespace gmshddm ...@@ -897,6 +897,7 @@ namespace gmshddm
MPI_Barrier(PETSC_COMM_WORLD); MPI_Barrier(PETSC_COMM_WORLD);
// get the local interface unknowns for each processor // get the local interface unknowns for each processor
_rhs.clear();
for(auto idom = 0ULL; idom < _surface.size(); ++idom) { for(auto idom = 0ULL; idom < _surface.size(); ++idom) {
if(mpi::isItMySubdomain(idom)) { if(mpi::isItMySubdomain(idom)) {
for(auto it = _surface[idom].begin(); it != _surface[idom].end(); ++it) { for(auto it = _surface[idom].begin(); it != _surface[idom].end(); ++it) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment