A newton solver which is specific to the black oil model.
More...
#include <blackoilnewtonmethod.hpp>
|
| BlackOilNewtonMethod (Simulator &simulator) |
|
void | finishInit () |
| Finialize the construction of the object.
|
|
unsigned | numPriVarsSwitched () const |
| Returns the number of degrees of freedom for which the interpretation has changed for the most recent iteration.
|
|
void | update_ (SolutionVector &nextSolution, const SolutionVector ¤tSolution, const GlobalEqVector &solutionUpdate, const GlobalEqVector ¤tResidual) |
|
template<class DofIndices > |
void | update_ (SolutionVector &nextSolution, const SolutionVector ¤tSolution, const GlobalEqVector &solutionUpdate, const GlobalEqVector ¤tResidual, const DofIndices &dofIndices) |
|
|
static void | registerParameters () |
| Register all run-time parameters for the blackoil newton method.
|
|
|
void | beginIteration_ () |
| Indicates the beginning of a Newton iteration.
|
|
void | endIteration_ (SolutionVector &uCurrentIter, const SolutionVector &uLastIter) |
| Indicates that one Newton iteration was finished.
|
|
void | updatePrimaryVariables_ (unsigned globalDofIdx, PrimaryVariables &nextValue, const PrimaryVariables ¤tValue, const EqVector &update, const EqVector ¤tResidual) |
| Update a single primary variables object.
|
|
|
friend | NewtonMethod< TypeTag > |
|
friend | ParentType |
|
template<class TypeTag>
class Opm::BlackOilNewtonMethod< TypeTag >
A newton solver which is specific to the black oil model.
◆ beginIteration_()
Indicates the beginning of a Newton iteration.
◆ endIteration_()
Indicates that one Newton iteration was finished.
- Parameters
-
nextSolution | The solution after the current Newton iteration |
currentSolution | The solution at the beginning of the current Newton iteration |
◆ finishInit()
Finialize the construction of the object.
At this point, it can be assumed that all objects featured by the simulator have been allocated. (But not that they have been fully initialized yet.)
◆ updatePrimaryVariables_()
template<class TypeTag >
void Opm::BlackOilNewtonMethod< TypeTag >::updatePrimaryVariables_ |
( |
unsigned | globalDofIdx, |
|
|
PrimaryVariables & | nextValue, |
|
|
const PrimaryVariables & | currentValue, |
|
|
const EqVector & | update, |
|
|
const EqVector & | currentResidual ) |
|
inlineprotected |
Update a single primary variables object.
The documentation for this class was generated from the following file: