28#ifndef OPM_FLASH_NEWTON_METHOD_HH
29#define OPM_FLASH_NEWTON_METHOD_HH
33#include <opm/common/Exceptions.hpp>
37namespace Opm::Properties {
39template <
class TypeTag,
class MyTypeTag>
40struct DiscNewtonMethod;
51template <
class TypeTag>
62 enum { pressure0Idx = Indices::pressure0Idx };
63 enum { z0Idx = Indices::z0Idx };
83 const EqVector& update,
A Newton solver specific to the PTFlash model.
Definition flashnewtonmethod.hh:53
FlashNewtonMethod(Simulator &simulator)
Definition flashnewtonmethod.hh:70
void updatePrimaryVariables_(unsigned, PrimaryVariables &nextValue, const PrimaryVariables ¤tValue, const EqVector &update, const EqVector &)
Update a single primary variables object.
Definition flashnewtonmethod.hh:80
The multi-dimensional Newton method.
Definition newtonmethod.hh:92
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.