Athena++/Atmosphere
Planetary Atmosphere Simulator
globals.hpp
Go to the documentation of this file.
1 #ifndef GLOBALS_HPP_
2 #define GLOBALS_HPP_
3 //========================================================================================
4 // Athena++ astrophysical MHD code
5 // Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
6 // Licensed under the 3-clause BSD License, see LICENSE file for details
7 //========================================================================================
9 // \brief namespace containing external global variables
10 
11 namespace Globals {
12 extern int my_rank, nranks;
13 extern int mpi_tag_ub;
14 }
15 
16 #endif // GLOBALS_HPP_
int nranks
Definition: globals.cpp:24
int mpi_tag_ub
Definition: globals.cpp:25
int my_rank
Definition: globals.cpp:23