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.


namespace  EpetraExt


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.

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.
User must delete!!.
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