

Public Member Functions | |
| def | __init__ |
| def | ReadMap |
| def | ReadMultiVector |
| def | ReadCrsGraph |
| def | ReadCrsMatrix |
Public Attributes | |
| this | |
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
| def PyTrilinos.EpetraExt.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
| def PyTrilinos.EpetraExt.XMLReader.ReadCrsGraph | ( | self, | |
| args | |||
| ) |
ReadCrsGraph(XMLReader self, std::string const & name) -> CrsGraph Return a CrsGraph read from an XML file specified by filename 'name'.
| def PyTrilinos.EpetraExt.XMLReader.ReadCrsMatrix | ( | self, | |
| args | |||
| ) |
ReadCrsMatrix(XMLReader self, std::string const & name) -> CrsMatrix Return a CrsMatrix read from an XML file specified by filename 'name'.
| def PyTrilinos.EpetraExt.XMLReader.ReadMap | ( | self, | |
| args | |||
| ) |
ReadMap(XMLReader self, std::string const & name) -> Map Return a Map read from an XML file specified by filename 'name'.
| def PyTrilinos.EpetraExt.XMLReader.ReadMultiVector | ( | self, | |
| args | |||
| ) |
ReadMultiVector(XMLReader self, std::string const & name) -> Epetra_MultiVector Return a MultiVector read from an XML file specified by filename 'name'.
1.7.6.1