44 #ifndef EPETRAEXT_XMLWRITER_H 45 #define EPETRAEXT_XMLWRITER_H 48 #include "Teuchos_RCP.hpp" 54 class Epetra_MultiVector;
55 class Epetra_CrsGraph;
56 class Epetra_RowMatrix;
172 XMLWriter(
const Epetra_Comm& Comm,
const std::string& FileName);
178 void Create(
const std::string& Label);
187 void Write(
const std::string& Label,
const Epetra_Map& Map);
190 void Write(
const std::string& Label,
const Epetra_RowMatrix& Matrix);
193 void Write(
const std::string& Label,
const Epetra_MultiVector& MultiVector);
196 void Write(
const std::string& Label,
const std::vector<std::string>& Content);
199 void Write(
const std::string& Label,
const std::string& Text)
201 std::vector<std::string> Content;
202 Content.push_back(Text);
203 Write(Label, Content);
207 void Write(
const std::string& Label, Teuchos::ParameterList& List);
212 const Epetra_Comm& Comm_;
214 std::string FileName_;
class XMLWriter: A class for writing Trilinos objects to XML files.
EpetraExt::BlockCrsMatrix: A class for constructing a distributed block matrix.
void Write(const std::string &Label, const std::string &Text)
Writes input std::string using label Label.