Opm::NcpNewtonMethod< TypeTag > Class Template Reference

A Newton solver specific to the NCP model. More...

#include <ncpnewtonmethod.hh>

Inheritance diagram for Opm::NcpNewtonMethod< TypeTag >:
Inheritance graph

Public Member Functions

 NcpNewtonMethod (Simulator &simulator)
 

Protected Member Functions

void preSolve_ (const SolutionVector &, const GlobalEqVector &currentResidual)
 
void updatePrimaryVariables_ (unsigned globalDofIdx, PrimaryVariables &nextValue, const PrimaryVariables &currentValue, const EqVector &update, const EqVector &)
 Update a single primary variables object. More...
 

Protected Attributes

friend ParentType
 
friend NewtonMethod< TypeTag >
 

Detailed Description

template<class TypeTag>
class Opm::NcpNewtonMethod< TypeTag >

A Newton solver specific to the NCP model.

Constructor & Destructor Documentation

◆ NcpNewtonMethod()

template<class TypeTag >
Opm::NcpNewtonMethod< TypeTag >::NcpNewtonMethod ( Simulator &  simulator)
inline

Member Function Documentation

◆ preSolve_()

template<class TypeTag >
void Opm::NcpNewtonMethod< TypeTag >::preSolve_ ( const SolutionVector &  ,
const GlobalEqVector &  currentResidual 
)
inlineprotected

◆ updatePrimaryVariables_()

template<class TypeTag >
void Opm::NcpNewtonMethod< TypeTag >::updatePrimaryVariables_ ( unsigned  globalDofIdx,
PrimaryVariables &  nextValue,
const PrimaryVariables &  currentValue,
const EqVector &  update,
const EqVector &   
)
inlineprotected

Update a single primary variables object.

Member Data Documentation

◆ NewtonMethod< TypeTag >

template<class TypeTag >
friend Opm::NcpNewtonMethod< TypeTag >::NewtonMethod< TypeTag >
protected

◆ ParentType

template<class TypeTag >
friend Opm::NcpNewtonMethod< TypeTag >::ParentType
protected

The documentation for this class was generated from the following file: