RockyML  0.0.1
A High-Performance Scientific Computing Framework
rocky::zagros::mpi_strategy< T_e, T_dim > Class Template Reference

base class for all strategies who need MPI communication More...

#include <communication.h>

Inheritance diagram for rocky::zagros::mpi_strategy< T_e, T_dim >:
Collaboration diagram for rocky::zagros::mpi_strategy< T_e, T_dim >:

Public Member Functions

void fetch_mpi_info ()
 receive MPI information including More...
 
int mpi_num_procs () const
 
int mpi_rank () const
 
- Public Member Functions inherited from rocky::zagros::comm_strategy< T_e, T_dim >
virtual void apply ()=0
 
- Public Member Functions inherited from rocky::zagros::basic_strategy< T_e, T_dim >
virtual void reset ()
 

Protected Attributes

int mpi_num_procs_
 
int mpi_rank_
 

Detailed Description

template<typename T_e, int T_dim>
class rocky::zagros::mpi_strategy< T_e, T_dim >

base class for all strategies who need MPI communication

Member Function Documentation

◆ fetch_mpi_info()

template<typename T_e , int T_dim>
void rocky::zagros::mpi_strategy< T_e, T_dim >::fetch_mpi_info ( )
inline

receive MPI information including

  • number of mpi processes
  • rank of the current process
Returns
** void

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