criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
MPIUtil.H File Reference

Global constants and functions to handle MPI processing. More...

#include <array>
#include <cstddef>
#include <iostream>
#include <string>
#include <vector>
#include "mpi.h"
#include "../Core/CRPacket.H"
#include "../Core/FieldQty.H"
#include "../Utils/ErrCodes.H"
#include "../Utils/RealTensor2.H"
#include "../Utils/Types.H"
#include "../Utils/Vec3.H"

Go to the source code of this file.

Classes

struct  criptic::MPIUtil::fillRequest
 Struture to hold data representing a search request. More...
 
struct  criptic::MPIUtil::fillResponse
 Struture to hold data representing a response to a request. More...
 

Namespaces

namespace  criptic
 The primary namespace for criptic objects.
 
namespace  criptic::MPIUtil
 A namespace to hold variables and functions related to MPI.
 

Enumerations

enum  criptic::MPIUtil::mpiTags { criptic::MPIUtil::tagHDF5IO , criptic::MPIUtil::tagWorkDone , criptic::MPIUtil::tagFillReq = 8192 , criptic::MPIUtil::tagFillResp = 16384 }
 Tag numbers for different types of MPI messages. More...
 

Functions

void criptic::MPIUtil::setup (int *argc, char **argv[])
 Initial MPI setup.
 
void criptic::MPIUtil::haltRun (std::string msg, errCodes errcode)
 Halt a run because an error has occurred.
 
void criptic::MPIUtil::barrier ()
 Barrier between MPI ranks.
 
void criptic::MPIUtil::shutdown ()
 Shut down communications for normal exit.
 

Variables

constexpr int criptic::MPIUtil::IORank = 0
 

Detailed Description

Global constants and functions to handle MPI processing.

This file defines a namespace containing information and functions related to MPI operations.