EpetraExt_VectorIn.cpp File Reference

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

Include dependency graph for EpetraExt_VectorIn.cpp:

Go to the source code of this file.


namespace  EpetraExt


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

Function Documentation

int EpetraExt::MatrixMarketFileToVector const char *  filename,
const Epetra_BlockMap map,
Epetra_Vector *&  A

Constructs an Epetra_Vector object from a Matrix Market format file.

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

filename (In) A filename, including path if desired. The matrix 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 vector.
A (Out) An Epetra_Vector 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_VectorIn.cpp.

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