MLAPI_Workspace.h File Reference

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"

Include dependency graph for MLAPI_Workspace.h:

This graph shows which files directly or indirectly include this file:


namespace  MLAPI


ML_Comm * MLAPI::GetML_Comm ()
 Returns a pointer to the ML_Comm object defined on MPI_COMM_WORLD.
Epetra_CommMLAPI::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.
string MLAPI::GetString (const int &x)
string MLAPI::GetString (const double &x)
int MLAPI::GetMatrixType ()

Detailed Description

Collection of utilities for workspace.

Marzio Sala, D-INFK/ETHZ.
Last updated on Mar-06.

Generated on Wed May 12 21:42:05 2010 for ML by  doxygen 1.4.7