Writes the intermediate solutions for every Newton iteration.
More...
#include <dumux/multidomain/newtonconvergencewriter.hh>
template<class MDTraits>
class Dumux::MultiDomainNewtonConvergenceWriter< MDTraits >
- Note
- To use this create a shared_ptr to an instance of this class in the main file and pass it to newton.solve(x, convergencewriter). You can use the reset method to write out multiple Newton solves with a unique id, if you don't call use all Newton iterations just come after each other in the pvd file.
|
| | 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]
◆ write() [2/2]
The documentation for this class was generated from the following file: