PyTrilinos::EpetraExt::XMLReader Class Reference
List of all members.
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:
- build/lib.linux-x86_64-2.5/PyTrilinos/EpetraExt.py
- PyTrilinos/EpetraExt.py