44 #ifndef EPETRAEXT_XMLREADER_H 45 #define EPETRAEXT_XMLREADER_H 48 #include "Epetra_ConfigDefs.h" 49 #include "Teuchos_RCP.hpp" 55 class Epetra_MultiVector;
56 class Epetra_CrsGraph;
57 class Epetra_CrsMatrix;
118 XMLReader(
const Epetra_Comm& Comm,
const std::string& FileName);
126 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 127 void Read(
const std::string& Label, Epetra_Map*& Map);
131 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES 132 void Read64(
const std::string& Label, Epetra_Map*& Map);
136 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 137 void Read(
const std::string& Label, Epetra_CrsGraph*& Graph);
141 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES 142 void Read64(
const std::string& Label, Epetra_CrsGraph*& Graph);
146 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 147 void Read(
const std::string& Label, Epetra_CrsMatrix*& Matrix);
151 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES 152 void Read64(
const std::string& Label, Epetra_CrsMatrix*& Matrix);
156 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 157 void Read(
const std::string& Label, Epetra_MultiVector*& MultiVector);
161 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES 162 void Read64(
const std::string& Label, Epetra_MultiVector*& MultiVector);
167 void Read(
const std::string& Label, std::vector<std::string>& Content);
170 void Read(
const std::string& Label, Teuchos::ParameterList& List);
void Read(const std::string &Label, Epetra_Map *&Map)
Reads the Epetra_Map stored with label Label.
Teuchos::RCP< Teuchos::XMLObject > fileXML_
parsed XML object.
const Epetra_Comm & Comm_
Communicator object.
EpetraExt::BlockCrsMatrix: A class for constructing a distributed block matrix.
XMLReader(const Epetra_Comm &Comm, const std::string &FileName)
ctor
class XMLReader: A class for reading Epetra objects stored in XML files.
void Read64(const std::string &Label, Epetra_Map *&Map)
Reads the Epetra_Map stored with label Label. Long Long version.
bool IsOpen_
If true, then the file has been successfully opened.