Skip to content

Commit

Permalink
Supporting fn for previous fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Prather committed Nov 23, 2023
1 parent 2c41299 commit 7111a79
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion kharma/decs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,14 @@ inline int MPINumRanks()
{
return parthenon::Globals::nranks;
}
inline int MPIMyRank()
inline int MPIRank()
{
return parthenon::Globals::my_rank;
}
inline int MPIBarrier()
{
return MPI_Barrier(MPI_COMM_WORLD);
}

// A few generic "NDArray" overloads for readability.
// TODO torn on futures of these: they're explicitly per-block
Expand Down

0 comments on commit 7111a79

Please sign in to comment.