28#ifndef EWOMS_PVS_NEWTON_METHOD_HH
29#define EWOMS_PVS_NEWTON_METHOD_HH
37namespace Opm::Properties {
39template <
class TypeTag,
class MyTypeTag>
40struct DiscNewtonMethod;
52template <
class TypeTag>
64 enum { numPhases = FluidSystem::numPhases };
67 enum { pressure0Idx = Indices::pressure0Idx };
68 enum { switch0Idx = Indices::switch0Idx };
84 const EqVector& update,
117 alpha * update[switch0Idx +
phaseIdx];
137 this->problem().model().switchPrimaryVars_();
The multi-dimensional Newton method.
Definition newtonmethod.hh:100
A newton solver which is specific to the compositional multi-phase PVS model.
Definition pvsnewtonmethod.hh:54
void updatePrimaryVariables_(unsigned, PrimaryVariables &nextValue, const PrimaryVariables ¤tValue, const EqVector &update, const EqVector &)
Update a single primary variables object.
Definition pvsnewtonmethod.hh:81
void endIteration_(SolutionVector &uCurrentIter, const SolutionVector &uLastIter)
Indicates that one Newton iteration was finished.
Definition pvsnewtonmethod.hh:133
Defines the common properties required by the porous medium multi-phase models.
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:43
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:240
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
The multi-dimensional Newton method.