phaseflow
FEM solver for the Navier-Stokes-Boussinesq equations coupled with enthalpy-based phase change
 All Classes Namespaces Files Functions Variables Macros Pages
pf_output.h
Go to the documentation of this file.
1 #ifndef pf_output_h
2 #define pf_output_h
3 
4 template<int dim>
5 void Phaseflow<dim>::write_solution()
6 {
7 
8  if (this->params.output.write_solution_vtk)
9  {
11  "solution-"+Utilities::int_to_string(this->time_step_counter)+".vtk",
12  this->dof_handler,
13  this->solution);
14  }
15 
16 }
17 
18 #endif
void write_solution_to_vtk(const std::string filename, DoFHandler< dim > &dof_handler, Vector< double > &solution)
Definition: output.h:16