Writes the intermediate solutions for every Newton iteration. More...
#include <dumux/nonlinear/newtonconvergencewriter.hh>
Public Member Functions | |
NewtonConvergenceWriter (const GridGeometry &gridGeometry, const std::string &name="newton_convergence") | |
Constructor. More... | |
void | resize () |
Resizes the output fields. This has to be called whenever the grid changes. More... | |
void | reset (std::size_t newId=0UL) |
void | write (const SolutionVector &uLastIter, const ResidualVector &deltaU, const ResidualVector &residual) override |
|
inline |
gridGeometry | The finite-volume grid geometry |
name | Base name of the vtk output |
|
inline |
Reset the convergence writer for a possible next Newton step You may set a different id in case you don't want the output to be overwritten by the next step
|
inline |
|
inlineoverridevirtual |
Reimplemented from Dumux::ConvergenceWriterInterface< SolutionVector, ResidualVector >.