Ewoms::BlackOilNewtonMethod< TypeTag > Class Template Reference

A newton solver which is specific to the black oil model. More...

#include <blackoilnewtonmethod.hh>

Inheritance diagram for Ewoms::BlackOilNewtonMethod< TypeTag >:

Public Member Functions

 BlackOilNewtonMethod (Simulator &simulator)
 
unsigned numPriVarsSwitched () const
 Returns the number of degrees of freedom for which the interpretation has changed for the most recent iteration.
 

Static Public Member Functions

static void registerParameters ()
 Register all run-time parameters for the immiscible model.
 

Protected Member Functions

void beginIteration_ ()
 Indicates the beginning of a Newton iteration. More...
 
void endIteration_ (SolutionVector &uCurrentIter, const SolutionVector &uLastIter)
 Indicates that one Newton iteration was finished. More...
 
void update_ (SolutionVector &nextSolution, const SolutionVector &currentSolution, const GlobalEqVector &solutionUpdate, 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 NewtonMethod< TypeTag >
 
friend ParentType
 

Detailed Description

template<class TypeTag>
class Ewoms::BlackOilNewtonMethod< TypeTag >

A newton solver which is specific to the black oil model.

Member Function Documentation

◆ beginIteration_()

template<class TypeTag >
void Ewoms::BlackOilNewtonMethod< TypeTag >::beginIteration_ ( )
inlineprotected

Indicates the beginning of a Newton iteration.

◆ endIteration_()

template<class TypeTag >
void Ewoms::BlackOilNewtonMethod< TypeTag >::endIteration_ ( SolutionVector &  uCurrentIter,
const SolutionVector &  uLastIter 
)
inlineprotected

Indicates that one Newton iteration was finished.

Parameters
nextSolutionThe solution after the current Newton iteration
currentSolutionThe solution at the beginning of the current Newton iteration

◆ updatePrimaryVariables_()

template<class TypeTag >
void Ewoms::BlackOilNewtonMethod< 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: