Ewoms::NcpNewtonMethod< TypeTag > Class Template Reference

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

#include <ncpnewtonmethod.hh>

Inheritance diagram for Ewoms::NcpNewtonMethod< TypeTag >:

Public Member Functions

 NcpNewtonMethod (Simulator &simulator)
 

Protected Member Functions

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

Protected Attributes

friend ParentType
 
friend NewtonMethod< TypeTag >
 

Detailed Description

template<class TypeTag>
class Ewoms::NcpNewtonMethod< TypeTag >

A Newton solver specific to the NCP model.

Constructor & Destructor Documentation

◆ NcpNewtonMethod()

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

Member Function Documentation

◆ updatePrimaryVariables_()

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

Update a single primary variables object.


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