Skip to content

Commit 3ebb641

Browse files
committed
status: Bug fix.
Signed-off-by: Matthew Emmett <[email protected]>
1 parent 9264629 commit 3ebb641

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

examples/advection_diffusion/mpi_pfasst.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ namespace pfasst
3333
{
3434
error_map run_mpi_pfasst()
3535
{
36+
// const size_t nsteps = 8;
3637
const size_t nsteps = 4;
3738
const double dt = 0.01;
3839
const size_t niters = 4;

include/pfasst/interfaces.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ namespace pfasst
103103
if (this->comm->rank() == 0) {
104104
return false;
105105
}
106-
return this->get_converged(this->comm->rank()-1);
106+
return !this->get_converged(this->comm->rank()-1);
107107
}
108108

109109
virtual bool keep_iterating()

include/pfasst/pfasst.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,6 @@ namespace pfasst
237237
}
238238
}
239239

240-
void fence()
241-
{
242-
this->comm->fence_status();
243-
}
244-
245240
public:
246241
void set_comm(ICommunicator* comm)
247242
{

0 commit comments

Comments
 (0)