PyTrilinos  Development
 All Classes Functions
Public Member Functions | Public Attributes
PyTrilinos.NOX.Epetra.XMLReader Class Reference
Inheritance diagram for PyTrilinos.NOX.Epetra.XMLReader:
Inheritance graph
[legend]
Collaboration diagram for PyTrilinos.NOX.Epetra.XMLReader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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 

Constructor & Destructor Documentation

def PyTrilinos.NOX.Epetra.XMLReader.__init__ (   self,
  args 
)
__init__(EpetraExt::XMLReader self, Comm Comm, std::string const & FileName) -> XMLReader

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

ctor 

Member Function Documentation

ReadCrsGraph(XMLReader self, std::string const & name) -> CrsGraph

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

ReadCrsMatrix(XMLReader self, std::string const & name) -> CrsMatrix

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

def PyTrilinos.NOX.Epetra.XMLReader.ReadMap (   self,
  args 
)
ReadMap(XMLReader self, std::string const & name) -> Map

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

ReadMultiVector(XMLReader self, std::string const & 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 file:
 All Classes Functions