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);
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
A high-level interface for a PDESolver.
Definition: common/pdesolver.hh:46
const Assembler & assembler() const
Access the assembler.
Definition: common/pdesolver.hh:83
An implementation of a Newton solver.
Definition: nonlinear/newtonsolver.hh:90
virtual void newtonEndStep(SolutionVector &uCurrentIter, const SolutionVector &uLastIter)
Indicates that one Newton iteration was finished.
Definition: nonlinear/newtonsolver.hh:493
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 the Newton solver.