EpetraExt_MultiVectorIn.cpp File Reference

#include "EpetraExt_MultiVectorIn.h"
#include "Epetra_Comm.h"
#include "Epetra_MultiVector.h"
#include "Epetra_Vector.h"
#include "Epetra_BlockMap.h"

Include dependency graph for EpetraExt_MultiVectorIn.cpp:

Go to the source code of this file.

Namespaces

namespace  EpetraExt

Functions

int MatrixMarketFileToMultiVector (const char *filename, const Epetra_BlockMap &map, Epetra_MultiVector *&A)
 Constructs an Epetra_MultiVector object from a Matrix Market format file.


Function Documentation

int EpetraExt::MatrixMarketFileToMultiVector const char *  filename,
const Epetra_BlockMap map,
Epetra_MultiVector *&  A
 

Constructs an Epetra_MultiVector object from a Matrix Market format file.

This function constructs an Epetra_MultiVector object by reading a Matrix Market file.

Parameters:
filename (In) A filename, including path if desired. The multivector to be read should be in this file in Matrix Market array format.
map (In) An Epetra_Map or Epetra_BlockMap object describing the desired distribution of the multivector.
A (Out) An Epetra_MultiVector object constructed from file contents.
Warning:
User must delete!!.
Returns:
Returns 0 if no error, -1 if any problems with file system.

Definition at line 37 of file EpetraExt_MultiVectorIn.cpp.


Generated on Thu Sep 18 12:31:45 2008 for EpetraExt by doxygen 1.3.9.1