https://mooseframework.inl.gov
XMLOutput.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "AdvancedOutput.h"
13 #include "pugixml.h"
14 
15 class XMLOutput : public AdvancedOutput
16 {
17 public:
20 
21 protected:
22  virtual void output() override;
23 
24  virtual std::string filename() override;
25 
26  virtual void outputVectorPostprocessors() override;
27 
28 private:
29  pugi::xml_document _xml_doc;
30 
31  bool _distributed = false;
32 };
pugi::xml_document _xml_doc
Definition: XMLOutput.h:29
bool _distributed
Definition: XMLOutput.h:31
virtual void outputVectorPostprocessors() override
Performs output of VectorPostprocessors The child class must define this method to output the VectorP...
Definition: XMLOutput.C:47
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
static InputParameters validParams()
Definition: XMLOutput.C:18
virtual void output() override
A single call to this function should output all the necessary data for a single timestep.
Definition: XMLOutput.C:101
virtual std::string filename() override
The filename for the output file.
Definition: XMLOutput.C:33
Based class for output objects.
XMLOutput(const InputParameters &parameters)
Definition: XMLOutput.C:26
const InputParameters & parameters() const
Get the parameters of the object.