28#ifndef EWOMS_PVS_NEWTON_METHOD_HH
29#define EWOMS_PVS_NEWTON_METHOD_HH
35namespace Opm::Properties {
37template <
class TypeTag,
class MyTypeTag>
38struct DiscNewtonMethod;
50template <
class TypeTag>
62 enum { numPhases = FluidSystem::numPhases };
65 enum { pressure0Idx = Indices::pressure0Idx };
66 enum { switch0Idx = Indices::switch0Idx };
82 const EqVector& update,
113 - alpha*update[switch0Idx +
phaseIdx];
130 this->problem().model().switchPrimaryVars_();
The multi-dimensional Newton method.
Definition newtonmethod.hh:92
A newton solver which is specific to the compositional multi-phase PVS model.
Definition pvsnewtonmethod.hh:52
void updatePrimaryVariables_(unsigned, PrimaryVariables &nextValue, const PrimaryVariables ¤tValue, const EqVector &update, const EqVector &)
Update a single primary variables object.
Definition pvsnewtonmethod.hh:79
void endIteration_(SolutionVector &uCurrentIter, const SolutionVector &uLastIter)
Indicates that one Newton iteration was finished.
Definition pvsnewtonmethod.hh:126
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242
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:235
The multi-dimensional Newton method.
Declares the properties required for the compositional multi-phase primary variable switching model.