28 #ifndef EWOMS_FV_BASE_NEWTON_METHOD_HH 29 #define EWOMS_FV_BASE_NEWTON_METHOD_HH 37 template <
class TypeTag>
40 template <
class TypeTag>
54 template<
class TypeTag,
class MyTypeTag>
58 template<
class TypeTag>
62 template<
class TypeTag>
66 template<
class TypeTag>
82 template <
class TypeTag>
99 : ParentType(simulator)
103 friend class NewtonMethod<TypeTag>;
123 const SolutionVector& currentSolution,
124 const GlobalEqVector& solutionUpdate,
125 const GlobalEqVector& currentResidual)
131 if (
model_().storeIntensiveQuantities()) {
132 for (
unsigned dofIdx = 0; dofIdx <
model_().numGridDof(); ++dofIdx) {
133 model_().setIntensiveQuantitiesCacheEntryValidity(dofIdx,
163 Implementation& asImp_()
164 {
return *
static_cast<Implementation*
>(
this); }
166 const Implementation& asImp_()
const 167 {
return *
static_cast<const Implementation*
>(
this); }
void beginIteration_()
Indicates the beginning of a Newton iteration.
Definition: newtonmethod.hh:514
The multi-dimensional Newton method.
The discretization specific part of he implementing the Newton algorithm.
Definition: blackoilnewtonmethod.hpp:48
The multi-dimensional Newton method.
Definition: newtonmethod.hh:64
const Model & model_() const
Returns a reference to the model.
Definition: fvbasenewtonmethod.hh:159
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(...))
Definition: propertysystem.hh:233
A Newton method for models using a finite volume discretization.
Definition: fvbasenewtonmethod.hh:38
Specifies the type of the actual Newton method.
Definition: fvbaseproblem.hh:54
void beginIteration_()
Indicates the beginning of a Newton iteration.
Definition: fvbasenewtonmethod.hh:143
Model & model()
Returns a reference to the numeric model.
Definition: newtonmethod.hh:172
a tag to mark properties as undefined
Definition: propertysystem.hh:38
Writes the intermediate solutions during the Newton scheme for models using a finite volume discretiz...
Definition: fvbasenewtonconvergencewriter.hh:63
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
Definition: fvbasenewtonmethod.hh:50
Specifies the type of the class which writes out the Newton convergence.
Definition: newtonmethodproperties.hh:40
Model & model_()
Returns a reference to the model.
Definition: fvbasenewtonmethod.hh:153
void update_(SolutionVector &nextSolution, const SolutionVector ¤tSolution, const GlobalEqVector &solutionUpdate, const GlobalEqVector ¤tResidual)
Update the current solution with a delta vector.
Definition: fvbasenewtonmethod.hh:122
void update_(SolutionVector &nextSolution, const SolutionVector ¤tSolution, const GlobalEqVector &solutionUpdate, const GlobalEqVector ¤tResidual)
Update the current solution with a delta vector.
Definition: newtonmethod.hh:648
The Opm property system, traits with inheritance.
Writes the intermediate solutions during the Newton scheme for models using a finite volume discretiz...
Manages the initializing and running of time dependent problems.
Definition: simulator.hh:83
Definition: blackoilmodel.hh:80