// configuration file, which is the purpose of the last subsection:
prm.enter_subsection("Output parameters");
{
- prm.declare_entry("Output file",
+ prm.declare_entry("Output filename",
"solution",
Patterns::Anything(),
"Name of the output file (without extension)");
// corresponding properties of the DataOut object accordingly.
prm.enter_subsection("Output parameters");
- const std::string output_file = prm.get("Output file");
+ const std::string output_filename = prm.get("Output filename");
data_out.parse_parameters(prm);
prm.leave_subsection();
// ParameterHandler and the suffix which is provided by the DataOut class
// (the default suffix is set to the right type that matches the one set
// in the .prm file through parse_parameters()):
- const std::string filename = output_file + data_out.default_suffix();
+ const std::string filename = output_filename + data_out.default_suffix();
std::ofstream output(filename);
subsection Output parameters
# Name of the output file (without extension)
- set Output file = solution
+ set Output filename = solution
# A name for the output format to be used
set Output format = vtu