27#ifndef DUMUX_NONEQUILIBRIUM_NEWTON_SOLVER_HH
28#define DUMUX_NONEQUILIBRIUM_NEWTON_SOLVER_HH
39template <
class Assembler,
class LinearSolver>
43 using SolutionVector =
typename Assembler::ResidualType;
46 using ParentType::ParentType;
49 const SolutionVector &uLastIter)
final
53 auto& gridVariables = this->
assembler().gridVariables();
56 gridVariables.calcVelocityAverage(uCurrentIter);
A high-level interface for a PDESolver.
Definition: common/pdesolver.hh:55
const Assembler & assembler() const
Access the assembler.
Definition: common/pdesolver.hh:92
An implementation of a Newton solver.
Definition: nonlinear/newtonsolver.hh:177
virtual void newtonEndStep(SolutionVector &uCurrentIter, const SolutionVector &uLastIter)
Indicates that one Newton iteration was finished.
Definition: nonlinear/newtonsolver.hh:573
A nonequilibrium specific newton solver.
Definition: porousmediumflow/nonequilibrium/newtonsolver.hh:41
void newtonEndStep(SolutionVector &uCurrentIter, const SolutionVector &uLastIter) final
Indicates that one Newton iteration was finished.
Definition: porousmediumflow/nonequilibrium/newtonsolver.hh:48
Reference implementation of a Newton solver.