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:


Namespaces

namespace  MLAPI

Functions

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.

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

Generated on Tue Jul 13 09:24:44 2010 for ML by  doxygen 1.4.7