template <int dim, int spacedim>
-void DataOutInterface<dim,spacedim>::write (std::ostream &out,
- OutputFormat output_format) const
+void
+DataOutInterface<dim,spacedim>::write (std::ostream &out,
+ const OutputFormat output_format_) const
{
+ OutputFormat output_format = output_format_;
if (output_format == default_format)
output_format = default_fmt;
template <int dim, int spacedim>
-void DataOutInterface<dim,spacedim>::set_default_format(OutputFormat fmt)
+void DataOutInterface<dim,spacedim>::set_default_format(const OutputFormat fmt)
{
Assert(fmt != default_format, ExcNotImplemented());
default_fmt = fmt;
template <int dim, int spacedim>
-std::string DataOutInterface<dim,spacedim>::default_suffix (OutputFormat output_format) const
+std::string
+DataOutInterface<dim,spacedim>::default_suffix (const OutputFormat output_format_) const
{
+ OutputFormat output_format = output_format_;
if (output_format == default_format)
output_format = default_fmt;
* laid down in the documentation of
* the @ref{Triangulation} class.
*/
- static unsigned int child_cell_on_face (unsigned int face,
- unsigned int subface);
+ static unsigned int child_cell_on_face (const unsigned int face,
+ const unsigned int subface);
};