EpetraExt_readEpetraLinearSystem.h File Reference

#include "Epetra_Map.h"
#include "Epetra_CrsMatrix.h"
#include "Epetra_Vector.h"
#include "Teuchos_RefCountPtr.hpp"

Include dependency graph for EpetraExt_readEpetraLinearSystem.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  EpetraExt

Functions

void readEpetraLinearSystem (const std::string &fileName, const Epetra_Comm &comm, Teuchos::RefCountPtr< Epetra_CrsMatrix > *A=NULL, Teuchos::RefCountPtr< Epetra_Map > *map=NULL, Teuchos::RefCountPtr< Epetra_Vector > *x=NULL, Teuchos::RefCountPtr< Epetra_Vector > *b=NULL, Teuchos::RefCountPtr< Epetra_Vector > *xExact=NULL)
 Read in an Epetra linear system from a file.


Function Documentation

void EpetraExt::readEpetraLinearSystem const std::string &  fileName,
const Epetra_Comm comm,
Teuchos::RefCountPtr< Epetra_CrsMatrix > *  A = NULL,
Teuchos::RefCountPtr< Epetra_Map > *  map = NULL,
Teuchos::RefCountPtr< Epetra_Vector > *  x = NULL,
Teuchos::RefCountPtr< Epetra_Vector > *  b = NULL,
Teuchos::RefCountPtr< Epetra_Vector > *  xExact = NULL
 

Read in an Epetra linear system from a file.

Parameters:
fileName [in] Name of the file to read in the linear system (see file formats below).
comm [in] The communicator
map [out] The createe map. map==NULL is allowed on input in which case this will not be returned.
A [out] The created matrix. A==NULL is allowed on input in which case this will not be returned.
x [out] The created LHS vector. x==NULL is allowed on input in which case this will not be returned.
b [out] The created RHS vector. b==NULL is allowed on input in which case this will not be returned.
xExact [out] The created exact LHS vector (if known). xExact==NULL is allowed on input in which case this will not be returned.
This function reads from a number file formats (*.triU, *.triS, *.mtx, *.hb)

ToDo: Finish documentation!

ToDo: Put this in EpetraExt after the release is finished.

Definition at line 32 of file EpetraExt_readEpetraLinearSystem.cpp.


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