PyTrilinos::EpetraExt::XMLReader Class Reference

Inheritance diagram for PyTrilinos::EpetraExt::XMLReader:

Inheritance graph
[legend]
Collaboration diagram for PyTrilinos::EpetraExt::XMLReader:

Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def ReadMap
def ReadMultiVector
def ReadCrsGraph
def ReadCrsMatrix
def __init__
def ReadMap
def ReadMultiVector
def ReadCrsGraph
def ReadCrsMatrix

Public Attributes

 this


Detailed Description

class XMLReader: A class for reading Epetra objects stored in XML
files.

Class EpetraExt::XMLReader allows to read several Trilinos objects
stored in XML files. The XML data format is specified in the
documentation of class EpetraExt::XMLWriter, which also contains a
MATLAB script. A typical usage of this class is reported in file
epetraext/example/inout/XML_IO.cpp.

This class requires Teuchos to be configured with the option --enable-
teuchos-expat.

Reading objects from a file requires the following steps. First, we
define an XMLReader object, Then, we define a set of pointers, Reading
simply goes as follows: In distributed environments,
Epetra_MultiVector, Epetra_CrsGraph and Epetra_CrsMatrix objects have
a linear distribution. Epetra_Map objects can be read only when using
the same number of processors used for writing.

WARNING:  All the created objects must be deleted from the user using
delete.

Marzio Sala, D-INFK/ETHZ

C++ includes: EpetraExt_XMLReader.h 

Member Function Documentation

def PyTrilinos::EpetraExt::XMLReader::__init__ (   self,
  args 
)

__init__(self, Comm Comm, string FileName) -> XMLReader

EpetraExt::XMLReader::XMLReader(const Epetra_Comm &Comm, const
std::string &FileName)

ctor 

def PyTrilinos::EpetraExt::XMLReader::__init__ (   self,
  args 
)

__init__(self, Comm Comm, string FileName) -> XMLReader

EpetraExt::XMLReader::XMLReader(const Epetra_Comm &Comm, const
std::string &FileName)

ctor 

def PyTrilinos::EpetraExt::XMLReader::ReadCrsGraph (   self,
  args 
)

ReadCrsGraph(self, string name) -> CrsGraph

Return a CrsGraph read from an XML file specified by filename 'name'.

def PyTrilinos::EpetraExt::XMLReader::ReadCrsGraph (   self,
  args 
)

ReadCrsGraph(self, string name) -> CrsGraph

Return a CrsGraph read from an XML file specified by filename 'name'.

def PyTrilinos::EpetraExt::XMLReader::ReadCrsMatrix (   self,
  args 
)

ReadCrsMatrix(self, string name) -> CrsMatrix

Return a CrsMatrix read from an XML file specified by filename 'name'.

def PyTrilinos::EpetraExt::XMLReader::ReadCrsMatrix (   self,
  args 
)

ReadCrsMatrix(self, string name) -> CrsMatrix

Return a CrsMatrix read from an XML file specified by filename 'name'.

def PyTrilinos::EpetraExt::XMLReader::ReadMap (   self,
  args 
)

ReadMap(self, string name) -> Map

Return a Map read from an XML file specified by filename 'name'.

def PyTrilinos::EpetraExt::XMLReader::ReadMap (   self,
  args 
)

ReadMap(self, string name) -> Map

Return a Map read from an XML file specified by filename 'name'.

def PyTrilinos::EpetraExt::XMLReader::ReadMultiVector (   self,
  args 
)

ReadMultiVector(self, string name) -> Epetra_MultiVector

Return a MultiVector read from an XML file specified by filename
'name'.

def PyTrilinos::EpetraExt::XMLReader::ReadMultiVector (   self,
  args 
)

ReadMultiVector(self, string name) -> Epetra_MultiVector

Return a MultiVector read from an XML file specified by filename
'name'.


The documentation for this class was generated from the following files:

Generated on Thu Dec 17 11:00:21 2009 for PyTrilinos by  doxygen 1.5.9