Writes the intermediate solutions for every Newton iteration.
More...
#include <dumux/multidomain/newtonconvergencewriter.hh>
template<class MDTraits>
class Dumux::MultiDomainNewtonConvergenceWriter< MDTraits >
- Note
- This is used together with a Newton solver, see documentation of the Newton solver for more information on how to use this class.
|
| MultiDomainNewtonConvergenceWriter (GridGeometryPtrTuple gridGeometryPtrTuple, const std::string &name="newton_convergence") |
| Constructor.
|
|
void | resize () |
| Resizes the output fields. This has to be called whenever the grid changes.
|
|
void | reset (std::size_t newId=0UL) |
|
void | write (const SolutionVector &uLastIter, const ResidualVector &deltaU, const ResidualVector &residual) override |
|
virtual void | write (const SolutionVector &uLastIter, const ResidualVector &deltaU, const ResidualVector &residual) |
|
◆ MultiDomainNewtonConvergenceWriter()
- Parameters
-
gridGeometryPtrTuple | A tuple of shared pointers to const grid geometries |
name | Base name of the vtk output |
◆ reset()
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
◆ resize()
◆ write() [1/2]
virtual void Dumux::ConvergenceWriterInterface< SolutionVector, ResidualVector >::write |
( |
const SolutionVector & | uLastIter, |
|
|
const ResidualVector & | deltaU, |
|
|
const ResidualVector & | residual ) |
|
inlinevirtualinherited |
◆ write() [2/2]
The documentation for this class was generated from the following file: