Homec4science

added a sequential context manager

Authored by frerot on Jul 12 2020, 01:30.

Description

added a sequential context manager

The mpi::sequential class sets the mpi::comm::world static instance to
MPI_COMM_SELF on entry and resets it to MPI_COMM_WORLD on exit. This is useful
in tests to create objects that will use FFTWEngine instead of FFTWMPIEngine.

Details

Committed
frerotJul 12 2020, 01:30
Pushed
frerotJul 12 2020, 03:59
Parents
rTAMAASb8ad8692d3ee: added some debug logs
Branches
Unknown
Tags
Unknown