Helper class for evaluating FE-based local residuals.
#include <dumux/freeflow/navierstokes/momentum/cvfe/felocalresidual.hh>
|
| template<class ResidualVector , class Problem , class FVElementGeometry , class ElementVariables > |
| static void | addStorageTerms (ResidualVector &residual, const Problem &problem, const FVElementGeometry &fvGeometry, const ElementVariables &prevElemVars, const ElementVariables &curElemVars, const Scalar timeStepSize) |
| | Add storage residual contribution for non-CV local dofs. More...
|
| |
| template<class ResidualVector , class Problem , class FVElementGeometry , class ElementVariables , class ElementFluxVariablesCache , class ElementBoundaryTypes > |
| static void | addFluxAndSourceTerms (ResidualVector &residual, const Problem &problem, const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const ElementFluxVariablesCache &elemFluxVarsCache, const ElementBoundaryTypes &elemBcTypes) |
| | Add flux and source residual contribution for non-CV local dofs. More...
|
| |
| template<class ResidualVector , class Problem , class FVElementGeometry , class ElementVariables , class ElementFluxVariablesCache , class ElementBoundaryTypes > |
| static void | addBoundaryFluxes (ResidualVector &residual, const Problem &problem, const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const ElementFluxVariablesCache &elemFluxVarsCache, const ElementBoundaryTypes &elemBcTypes) |
| | Evaluate Neumann boundary contributions. More...
|
| |
◆ addBoundaryFluxes()
template<class ResidualVector , class Problem , class FVElementGeometry , class ElementVariables , class ElementFluxVariablesCache , class ElementBoundaryTypes >
| static void Dumux::NavierStokesMomentumFELocalResidual< Scalar, NumEqVector, LocalBasis, Extrusion >::addBoundaryFluxes |
( |
ResidualVector & |
residual, |
|
|
const Problem & |
problem, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVariables & |
elemVars, |
|
|
const ElementFluxVariablesCache & |
elemFluxVarsCache, |
|
|
const ElementBoundaryTypes & |
elemBcTypes |
|
) |
| |
|
inlinestatic |
- Parameters
-
| residual | The element residual vector to add to |
| problem | The problem to solve |
| fvGeometry | The finite-volume geometry of the element |
| elemVars | The variables for all local dofs of the element |
| elemFluxVarsCache | The element flux variables cache |
| elemBcTypes | The element boundary types |
◆ addFluxAndSourceTerms()
template<class ResidualVector , class Problem , class FVElementGeometry , class ElementVariables , class ElementFluxVariablesCache , class ElementBoundaryTypes >
| static void Dumux::NavierStokesMomentumFELocalResidual< Scalar, NumEqVector, LocalBasis, Extrusion >::addFluxAndSourceTerms |
( |
ResidualVector & |
residual, |
|
|
const Problem & |
problem, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVariables & |
elemVars, |
|
|
const ElementFluxVariablesCache & |
elemFluxVarsCache, |
|
|
const ElementBoundaryTypes & |
elemBcTypes |
|
) |
| |
|
inlinestatic |
- Parameters
-
| residual | The element residual vector to add to |
| problem | The problem to solve |
| fvGeometry | The finite-volume geometry of the element |
| elemVars | The variables for all local dofs of the element |
| elemFluxVarsCache | The element flux variables cache |
| elemBcTypes | The element boundary types |
◆ addStorageTerms()
template<class ResidualVector , class Problem , class FVElementGeometry , class ElementVariables >
| static void Dumux::NavierStokesMomentumFELocalResidual< Scalar, NumEqVector, LocalBasis, Extrusion >::addStorageTerms |
( |
ResidualVector & |
residual, |
|
|
const Problem & |
problem, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const ElementVariables & |
prevElemVars, |
|
|
const ElementVariables & |
curElemVars, |
|
|
const Scalar |
timeStepSize |
|
) |
| |
|
inlinestatic |
- Parameters
-
| residual | The element residual vector to add to |
| problem | The problem to solve |
| fvGeometry | The finite-volume geometry of the element |
| prevElemVars | The variables for all local dofs of the element at the previous time level |
| curElemVars | The variables for all local dofs of the element at the current time level |
| timeStepSize | The current time step size |
The documentation for this class was generated from the following file: