44 #ifndef EPETRAEXT_XMLREADER_H 45 #define EPETRAEXT_XMLREADER_H 48 #include "Epetra_ConfigDefs.h" 49 #include "Teuchos_RCP.hpp" 54 class Epetra_MultiVector;
55 class Epetra_CrsGraph;
56 class Epetra_CrsMatrix;
117 XMLReader(
const Epetra_Comm& Comm,
const std::string& FileName);
125 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 126 void Read(
const std::string& Label, Epetra_Map*& Map);
130 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES 131 void Read64(
const std::string& Label, Epetra_Map*& Map);
135 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 136 void Read(
const std::string& Label, Epetra_CrsGraph*& Graph);
140 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES 141 void Read64(
const std::string& Label, Epetra_CrsGraph*& Graph);
145 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 146 void Read(
const std::string& Label, Epetra_CrsMatrix*& Matrix);
150 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES 151 void Read64(
const std::string& Label, Epetra_CrsMatrix*& Matrix);
155 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 156 void Read(
const std::string& Label, Epetra_MultiVector*& MultiVector);
160 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES 161 void Read64(
const std::string& Label, Epetra_MultiVector*& MultiVector);
166 void Read(
const std::string& Label, std::vector<std::string>& Content);
169 void Read(
const std::string& Label, Teuchos::ParameterList& List);
176 const Epetra_Comm& Comm_;
178 Teuchos::RCP<Teuchos::XMLObject> fileXML_;
void Read(const std::string &Label, Epetra_Map *&Map)
Reads the Epetra_Map stored with label Label.
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.