xref: /phasta/phSolver/common/phComm.h (revision f32d06b0b1e744f84fd57c0f41a02cce85651286)
1 #ifndef PHSOLVER_COMM_H
2 #define PHSOLVER_COMM_H
3 
4 #include <FCMangle.h>
5 
6 #define phcomm_rank FortranCInterface_GLOBAL_(phcomm_rank, PHCOMM_RANK)
7 #define phcomm_size FortranCInterface_GLOBAL_(phcomm_size, PHCOMM_SIZE)
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12   int phcomm_rank();
13   int phcomm_size();
14 #ifdef __cplusplus
15 }
16 #endif
17 
18 #endif
19