|
WarpX
|
Functions | |
| std::pair< int, int > | warpx_mpi_init (int argc, char *argv[]) |
| void | warpx_check_mpi_thread_level (std::pair< int, int > const mpi_thread_levels) |
| std::vector< double > | getRelativeCellPosition (amrex::MultiFab const &mf) |
| std::vector< double > utils::getRelativeCellPosition | ( | amrex::MultiFab const & | mf | ) |
Get the Relative Cell Position of Values in an MultiFab
Translate the IndexType of a given MultiFab into a position relative to the lower corner of a cell.
| [in] | mf | the amrex::MultiFab to get relative cell positions for |
| void utils::warpx_check_mpi_thread_level | ( | std::pair< int, int > const | mpi_thread_levels | ) |
Check if the requested MPI thread level is valid
Prints warnings and notes otherwise.
| mpi_thread_levels | pair(required, provided) of MPI thread level from MPI_Init_thread |
| std::pair< int, int > utils::warpx_mpi_init | ( | int | argc, |
| char * | argv[] | ||
| ) |
Initialize MPI
1.8.13