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 * GetML_Comm ()
 Returns a pointer to the ML_Comm object defined on MPI_COMM_WORLD.
Epetra_CommGetEpetra_Comm ()
 Returns a reference to the Epetra_Comm object defined on MPI_COMM_WORLD.
void Barrier ()
 Calls Mpi_Barrier() if MPI is enabled.
int GetMyPID ()
 Returns the ID of the calling process.
int GetNumProcs ()
 Returns the total number of processes in the computation.
int GetPrintLevel ()
 Retutns the level of output (always 0 if MyPID() != 0).
void SetPrintLevel (int Level)
 Sets the level of output (from 0 to 10, 0 being verbose).
void Init ()
 Initialize the MLAPI workspace.
void Finalize ()
 Destroys the MLAPI workspace.
string GetString (const int &x)
string GetString (const double &x)
int GetMatrixType ()

Detailed Description

Collection of utilities for workspace.

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

Generated on Thu Sep 18 12:38:45 2008 for ML by doxygen