C++ Instance() constructors get two additional call signatures to allow backwards compatibility with v0.6.0.
InstanceFlags argument is added before MPI_COMM such that the non-MPI and MPI call signatures remain compatible.
Now there are 4 call signatures for the constructors, which is still manageable but a bit convoluted with the #ifdefs for MPI
Fortran constructors are reworked to reduce repeated codes. The additional InstanceFlagsbreak backwards compatibility for MPI models, but with a clear compiler error (at least on gfortran). See changelog.rst.
C++/Fortran lose the apply_overlay argument to reuse_instance() (backwards incompatible, see changelog.rst).
Python also loses the apply_overlay argument to reuse_instance() (was already deprecated in 0.6.0). Definitely closes #181.
Adds instance flags to C++ and Fortran APIs
Instance()
constructors get two additional call signatures to allow backwards compatibility with v0.6.0.InstanceFlags
argument is added before MPI_COMM such that the non-MPI and MPI call signatures remain compatible.#ifdef
s for MPIInstanceFlags
break backwards compatibility for MPI models, but with a clear compiler error (at least ongfortran
). Seechangelog.rst
.apply_overlay
argument toreuse_instance()
(backwards incompatible, seechangelog.rst
).apply_overlay
argument toreuse_instance()
(was already deprecated in 0.6.0). Definitely closes #181.