Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
comm::Session Class Reference

Initializes MPI on construction (unless it already is) and finalizes it on destruction if this session initialized it. Create one in main() before Kokkos is initialized, so Kokkos can map ranks to devices. More...

#include <comm.h>

Public Member Functions

 Session (int &argc, char **&argv)
 
 ~Session ()
 
 Session (const Session &)=delete
 
Session & operator= (const Session &)=delete
 

Detailed Description

Initializes MPI on construction (unless it already is) and finalizes it on destruction if this session initialized it. Create one in main() before Kokkos is initialized, so Kokkos can map ranks to devices.

Constructor & Destructor Documentation

◆ Session() [1/2]

comm::Session::Session ( int &  argc,
char **&  argv 
)

◆ ~Session()

comm::Session::~Session ( )

◆ Session() [2/2]

comm::Session::Session ( const Session &  )
delete

Member Function Documentation

◆ operator=()

Session & comm::Session::operator= ( const Session &  )
delete

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