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.

Namespaces

namespace  EpetraExt

Functions

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.

Parameters:
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.
Warning:
User must delete!!.
Returns:
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 1.3.9.1