Go to the documentation of this file.
17 #include "libmesh/enum_xdr_mode.h"
51 std::string mesh_name = es_name;
54 if (es_name.size() < 4)
55 mooseError(
"Unacceptable filename, you must include an extension (.xda or .xdr).");
58 mesh_name.insert(mesh_name.size() - 4,
"_mesh");
61 XdrMODE mode =
_binary ? ENCODE : WRITE;
66 es_name, mode, EquationSystems::WRITE_DATA | EquationSystems::WRITE_ADDITIONAL_DATA);
unsigned int & _file_num
A file number counter, initialized to 0 (this must be controlled by the child class,...
void mooseError(Args &&... args) const
registerMooseObjectAliased("MooseApp", XDA, "XDR")
virtual std::string filename() override
Returns the current filename, this method handles adding the timestep suffix.
XDA(const InputParameters ¶meters)
Class consturctor.
EquationSystems * _es_ptr
Reference the the libMesh::EquationSystems object that contains the data.
static InputParameters validParams()
Class for output data to the XDAII format.
bool _binary
Flag for binary output.
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
static InputParameters validParams()
registerMooseObject("MooseApp", XDA)
Class for containing MooseEnum item information.
MooseMesh * _mesh_ptr
A convenience pointer to the current mesh (reference or displaced depending on "use_displaced")
virtual void output(const ExecFlagType &type) override
Overload the Output::output method, this is required for XDA output due to the method utlized for out...
unsigned int _padding
Number of digits to pad the extensions.
std::string _file_base
The base filename from the input paramaters.
Based class for providing re-positioning and oversampling support to output objects.