20 #ifndef LIBMESH_MESH_OUTPUT_H 21 #define LIBMESH_MESH_OUTPUT_H 40 class EquationSystems;
41 template <
typename T>
class NumericVector;
62 MeshOutput (
const bool is_parallel_format =
false,
const bool serial_only_needed_on_proc_0 =
false);
69 MeshOutput (
const MT &,
const bool is_parallel_format =
false,
const bool serial_only_needed_on_proc_0 =
false);
82 virtual void write (
const std::string &) = 0;
90 const std::set<std::string> * system_names=
nullptr);
99 const std::set<std::string> * system_names=
nullptr);
106 const std::vector<Number> &,
107 const std::vector<std::string> &)
108 { libmesh_not_implemented(); }
115 const std::vector<Number> &,
116 const std::vector<std::string> &)
117 { libmesh_not_implemented(); }
134 const std::vector<std::string> &);
151 const MT &
mesh()
const;
195 _is_parallel_format(is_parallel_format),
196 _serial_only_needed_on_proc_0(serial_only_needed_on_proc_0),
198 _ascii_precision (
std::numeric_limits<
Real>::digits10 + 2)
206 _is_parallel_format(is_parallel_format),
207 _serial_only_needed_on_proc_0(serial_only_needed_on_proc_0),
209 _ascii_precision (
std::numeric_limits<
Real>::digits10 + 2)
211 if (!_is_parallel_format && !this->
mesh().is_serial())
213 if (this->
mesh().processor_id() == 0)
216 "Warning: This MeshOutput subclass only supports meshes which have been serialized!" 236 libmesh_assert(_obj);
246 return _ascii_precision;
253 #endif // LIBMESH_MESH_OUTPUT_H
virtual void write_nodal_data(const std::string &, const std::vector< Number > &, const std::vector< std::string > &)
Manages multiples systems of equations.
virtual void write_nodal_data_discontinuous(const std::string &, const std::vector< Number > &, const std::vector< std::string > &)
virtual void write_equation_systems(const std::string &, const EquationSystems &, const std::set< std::string > *system_names=nullptr)
const bool _is_parallel_format
unsigned int & ascii_precision()
MeshOutput(const bool is_parallel_format=false, const bool serial_only_needed_on_proc_0=false)
unsigned int _ascii_precision
virtual void write_discontinuous_equation_systems(const std::string &, const EquationSystems &, const std::set< std::string > *system_names=nullptr)
virtual void write(const std::string &)=0
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const bool _serial_only_needed_on_proc_0
OStreamProxy out(std::cout)