Ewoms::FvBaseLinearizer< TypeTag > Class Template Reference The common code for the linearizers of non-linear systems of equations. More...
Detailed Descriptiontemplate<class TypeTag>
|
|
inline |
|
inline |
|
inline |
Returns the "relinearization color" of a degree of freedom.
References Ewoms::FvBaseLinearizer< TypeTag >::Red.
|
inline |
Returns the error for a given degree of freedom after the last iteration.
|
inline |
Returns the "relinearization color" of an element.
References Ewoms::FvBaseLinearizer< TypeTag >::Red.
|
inline |
Initialize the linearizer.
At this point we can assume that all objects in the simulator have been allocated. We cannot assume that they are fully initialized, though.
|
inline |
Linearize the global non-linear system of equations.
That means that the global Jacobian of the residual is assembled and the residual is evaluated for the current solution.
The current state of affairs (esp. the previous and the current solutions) is represented by the model object.
References Ewoms::Simulator< TypeTag >::gridView().
|
inline |
Ensure that a given degree of freedom is relinarized in the next iteration.
Calling this method usually means that the interpretation of the primary variables for the DOF has changed.
|
inline |
Return constant reference to global Jacobian matrix.
|
inline |
The maximum deflection seen for any DOF after an Newton update.
|
inline |
Causes the Jacobian matrix to be recreated in the next iteration.
|
inlinestatic |
Register all run-time parameters for the Jacobian linearizer.
References EWOMS_REGISTER_PARAM.
|
inline |
Returns the largest error of a "green" degree of freedom for the most recent call of the linearize() method.
This only has an effect if partial Jacobian relinearization is enabled. If it is disabled, then this method always returns 0.
This returns the actual error computed as seen by computeColors(), not the tolerance which it was given.
|
inline |
Returns the maximum error for which a degree of freedom is not relinearized.
|
inline |
If partial relinearization is enabled, this method causes all elements to be relinearized in the next linearize() call.
References Ewoms::FvBaseLinearizer< TypeTag >::Red.
|
inline |
Return constant reference to global residual vector.
|
inline |
If linearization recycling is enabled, this method specifies whether the next call to linearize() just rescales the storage term or does a full relinearization.
yesno | If true, only rescale; else always do a full relinearization. |
|
inline |
Sets the maximum error for which a degree of freedom is not relinearized.
|
inline |
Update the distance where the non-linear system was originally insistently linearized and the point where it will be linerized the next time.
This only has an effect if partial relinearize is enabled.
uDelta | The negative difference between the last and the next iterative solution. |
resid | The residual (right-hand side) for the current Newton iteration |