mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Move mpi-related definitions into message_passing.h
This commit is contained in:
parent
9b8cb2e0f1
commit
25b1001558
6 changed files with 39 additions and 15 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue