ML
Version of the Day
|
Collection of utilities for workspace. More...
#include "ml_include.h"
#include "Epetra_Comm.h"
#include <mpi.h>
#include "Epetra_MpiComm.h"
#include "MLAPI_Error.h"
Namespaces | |
MLAPI | |
MLAPI: Default namespace for all MLAPI objects and functions. | |
Functions | |
ML_Comm * | MLAPI::GetML_Comm () |
Returns a pointer to the ML_Comm object defined on MPI_COMM_WORLD. | |
Epetra_Comm & | MLAPI::GetEpetra_Comm () |
Returns a reference to the Epetra_Comm object defined on MPI_COMM_WORLD. | |
void | MLAPI::Barrier () |
Calls Mpi_Barrier() if MPI is enabled. | |
int | MLAPI::GetMyPID () |
Returns the ID of the calling process. | |
int | MLAPI::GetNumProcs () |
Returns the total number of processes in the computation. | |
int | MLAPI::GetPrintLevel () |
Retutns the level of output (always 0 if MyPID() != 0). | |
void | MLAPI::SetPrintLevel (int Level) |
Sets the level of output (from 0 to 10, 0 being verbose). | |
void | MLAPI::Init () |
Initialize the MLAPI workspace. | |
void | MLAPI::Finalize () |
Destroys the MLAPI workspace. | |
std::string | MLAPI::GetString (const int &x) |
std::string | MLAPI::GetString (const double &x) |
int | MLAPI::GetMatrixType () |
Collection of utilities for workspace.