Move mpi-related definitions into message_passing.h

This commit is contained in:
Paul Romano 2018-04-20 07:02:59 -05:00
parent 9b8cb2e0f1
commit 25b1001558
6 changed files with 39 additions and 15 deletions

View file

@ -4,9 +4,6 @@
#include <stdint.h>
#include <stdbool.h>
#ifdef OPENMC_MPI
#include "mpi.h"
#endif
#ifdef __cplusplus
extern "C" {
@ -150,11 +147,6 @@ extern "C" {
extern bool openmc_simulation_initialized;
extern int openmc_verbosity;
#ifdef OPENMC_MPI
// MPI variables
extern MPI_Comm openmc_intracomm;
#endif
// Run modes
constexpr int RUN_MODE_FIXEDSOURCE {1};
constexpr int RUN_MODE_EIGENVALUE {2};