Skip to content

Commit 89b2ea9

Browse files
committed
get min dt across processors
1 parent 2bc9505 commit 89b2ea9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/OversetSimulation.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ void OversetSimulation::run_timesteps(
159159
}
160160

161161
if (inonlin < 1) {
162+
MPI_Allreduce(
163+
MPI_IN_PLACE, &dt, 1, MPI_DOUBLE, MPI_MIN, m_comm);
162164
for (auto& ss : m_solvers) ss->call_set_timestep_size(dt);
163165
}
164166

0 commit comments

Comments
 (0)