Block-Structured AMR Software Framework
AMReX_ParallelContext.H File Reference
#include <AMReX_Config.H>
#include <AMReX_Extension.H>
#include <AMReX_Vector.H>
#include <AMReX_ccse-mpi.H>
#include <iosfwd>
#include <memory>

Go to the source code of this file.

Classes

class  amrex::ParallelContext::Frame
 

Namespaces

 amrex
 
 amrex::ParallelContext
 

Functions

MPI_Comm amrex::ParallelContext::CommunicatorAll () noexcept
 world communicator More...
 
MPI_Group amrex::ParallelContext::GroupAll () noexcept
 world group More...
 
int amrex::ParallelContext::NProcsAll () noexcept
 number of ranks in world communicator More...
 
int amrex::ParallelContext::MyProcAll () noexcept
 my rank in world communicator More...
 
int amrex::ParallelContext::IOProcessorNumberAll () noexcept
 IO rank in world communicator. More...
 
bool amrex::ParallelContext::IOProcessorAll () noexcept
 Am IO processor for world communicator? More...
 
std::ofstream * amrex::ParallelContext::OFSPtrAll () noexcept
 Pointer to ofstream. More...
 
MPI_Comm amrex::ParallelContext::CommunicatorSub () noexcept
 sub-communicator for current frame More...
 
MPI_Group amrex::ParallelContext::GroupSub () noexcept
 sub-group for current frame More...
 
int amrex::ParallelContext::NProcsSub () noexcept
 number of ranks in current frame More...
 
int amrex::ParallelContext::MyProcSub () noexcept
 my sub-rank in current frame More...
 
int amrex::ParallelContext::IOProcessorNumberSub () noexcept
 IO sub-rank in current frame. More...
 
bool amrex::ParallelContext::IOProcessorSub () noexcept
 Am IO processor for current frame? More...
 
std::ofstream * amrex::ParallelContext::OFSPtrSub () noexcept
 Pointer to ofstream. More...
 
void amrex::ParallelContext::BarrierSub () noexcept
 
void amrex::ParallelContext::BarrierAll () noexcept
 
int amrex::ParallelContext::get_inc_mpi_tag () noexcept
 get and increment mpi tag in current frame More...
 
int amrex::ParallelContext::local_to_global_rank (int rank) noexcept
 translate between local rank and global rank More...
 
void amrex::ParallelContext::local_to_global_rank (int *global, const int *local, int n) noexcept
 
int amrex::ParallelContext::global_to_local_rank (int rank) noexcept
 
void amrex::ParallelContext::global_to_local_rank (int *local, const int *global, int n) noexcept
 
void amrex::ParallelContext::push (MPI_Comm c)
 
void amrex::ParallelContext::push (MPI_Comm c, int id, int io_rank)
 
void amrex::ParallelContext::set_last_frame_ofs (const std::string &filename)
 
void amrex::ParallelContext::pop ()
 Note that it's the user's responsibility to free the MPI_Comm. More...