Block-Structured AMR Software Framework
amrex::ParallelDescriptor::ProcessTeam Struct Reference

Provide functionalities needed to construct a team of processes to perform a particular job. More...

#include <AMReX_ParallelDescriptor.H>

Public Types

using team_t = MPI_Comm
 

Public Member Functions

void Barrier () const
 synchronize processes within the team More...
 
void MemoryBarrier () const
 memory fence More...
 
void clear ()
 free a communicator More...
 
const team_tget () const
 
const MPI_Commget_team_comm () const
 return the communicator More...
 
const MPI_Commget_lead_comm () const
 

Public Attributes

int m_numTeams
 
int m_size
 
int m_color
 
int m_lead
 
int m_rankInTeam
 
int m_do_team_reduce
 
MPI_Comm m_team_comm
 
MPI_Comm m_lead_comm
 

Detailed Description

Provide functionalities needed to construct a team of processes to perform a particular job.

Member Typedef Documentation

◆ team_t

Member Function Documentation

◆ Barrier()

void amrex::ParallelDescriptor::ProcessTeam::Barrier ( ) const
inline

synchronize processes within the team

◆ clear()

void amrex::ParallelDescriptor::ProcessTeam::clear ( )
inline

free a communicator

◆ get()

const team_t& amrex::ParallelDescriptor::ProcessTeam::get ( ) const
inline

◆ get_lead_comm()

const MPI_Comm& amrex::ParallelDescriptor::ProcessTeam::get_lead_comm ( ) const
inline

◆ get_team_comm()

const MPI_Comm& amrex::ParallelDescriptor::ProcessTeam::get_team_comm ( ) const
inline

return the communicator

◆ MemoryBarrier()

void amrex::ParallelDescriptor::ProcessTeam::MemoryBarrier ( ) const
inline

memory fence

Member Data Documentation

◆ m_color

int amrex::ParallelDescriptor::ProcessTeam::m_color

◆ m_do_team_reduce

int amrex::ParallelDescriptor::ProcessTeam::m_do_team_reduce

◆ m_lead

int amrex::ParallelDescriptor::ProcessTeam::m_lead

◆ m_lead_comm

MPI_Comm amrex::ParallelDescriptor::ProcessTeam::m_lead_comm

◆ m_numTeams

int amrex::ParallelDescriptor::ProcessTeam::m_numTeams

◆ m_rankInTeam

int amrex::ParallelDescriptor::ProcessTeam::m_rankInTeam

◆ m_size

int amrex::ParallelDescriptor::ProcessTeam::m_size

◆ m_team_comm

MPI_Comm amrex::ParallelDescriptor::ProcessTeam::m_team_comm

The documentation for this struct was generated from the following file: