File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -118,11 +118,8 @@ namespace pfasst
118118 auto trns = level_iter.transfer ();
119119
120120 trns->interpolate (fine, crse, true );
121-
122- if (this ->comm ->status ->previous_is_iterating ()) {
123- fine->recv (comm, tag (level_iter), false );
124- trns->interpolate_initial (fine, crse);
125- }
121+ fine->recv (comm, tag (level_iter), false );
122+ trns->interpolate_initial (fine, crse);
126123
127124 if (level_iter < this ->finest ()) {
128125 perform_sweeps (level_iter.level );
@@ -224,9 +221,11 @@ namespace pfasst
224221 template <typename time>
225222 void PFASST<time>::post ()
226223 {
227- this ->comm ->status ->post ();
228- for (auto l = this ->coarsest () + 1 ; l <= this ->finest (); ++l) {
229- l.current ()->post (comm, tag (l));
224+ if (this ->comm ->status ->previous_is_iterating ()) {
225+ this ->comm ->status ->post ();
226+ for (auto l = this ->coarsest () + 1 ; l <= this ->finest (); ++l) {
227+ l.current ()->post (comm, tag (l));
228+ }
230229 }
231230 }
232231} // ::pfasst
You can’t perform that action at this time.
0 commit comments