template<class TypeTag>
class Dumux::Experimental::LocalResidual< TypeTag >
- Note
- This class defines the interface used by the assembler using static polymorphism. Implementations are specialized for a certain discretization scheme
|
| | LocalResidual (const Problem *problem, const TimeLoop *timeLoop=nullptr) |
| | the constructor More...
|
| |
|
- Note
- Methods used by the assembler to compute derivatives and residual
|
| ElementResidualVector | evalStorage (const Element &element, const FVElementGeometry &fvGeometry, const ElementVariables &prevElemVars, const ElementVariables &curElemVars) const |
| | Compute the storage local residual, i.e. the deviation of the storage term from zero for instationary problems. More...
|
| |
| ElementResidualVector | evalFluxAndSource (const Element &element, const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const ElementBoundaryTypes &bcTypes) const |
| | Compute the flux and source. More...
|
| |
| void | addToElementStorageResidual (ElementResidualVector &residual, const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVariables &prevElemVars, const ElementVariables &curElemVars) const |
| | add additional storage contributions (e.g. hybrid CVFE or FE schemes) More...
|
| |
| void | addToElementFluxAndSourceResidual (ElementResidualVector &residual, const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVariables &curElemVars, const ElementBoundaryTypes &bcTypes) const |
| | add additional flux and source contributions (e.g. hybrid CVFE or FE schemes) More...
|
| |
|
- Note
- The following methods are the model specific implementations of the local residual
|
| template<class SubControlVolume > |
| NumEqVector | storageIntegral (const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const SubControlVolume &scv, bool isPreviousTimeLevel) const |
| | Calculate the source term integral of the equation. More...
|
| |
| template<class SubControlVolume > |
| NumEqVector | sourceIntegral (const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const SubControlVolume &scv) const |
| | Calculate the source term integral of the equation. More...
|
| |
| template<class SubControlVolumeFace > |
| NumEqVector | fluxIntegral (const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const SubControlVolumeFace &scvf) const |
| | Calculate the flux integral of the equation. More...
|
| |
|
- Note
- The following methods are the discretization specific wrapper methods
|
| template<class SubControlVolume > |
| void | evalStorage (ElementResidualVector &residual, const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVariables &prevElemVars, const ElementVariables &curElemVars, const SubControlVolume &scv) const |
| | Compute the storage local residual, i.e. the deviation of the storage term from zero for instationary problems. More...
|
| |
| template<class SubControlVolume > |
| void | evalSource (ElementResidualVector &residual, const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVariables &curElemVars, const SubControlVolume &scv) const |
| | Compute the source local residual, i.e. the deviation of the source term from zero. More...
|
| |
| template<class SubControlVolumeFace > |
| void | evalFlux (ElementResidualVector &residual, const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const ElementBoundaryTypes &elemBcTypes, const SubControlVolumeFace &scvf) const |
| | Compute the fluxes of the local residual. More...
|
| |
| template<class SubControlVolumeFace > |
| NumEqVector | evalFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVariables &elemVars, const SubControlVolumeFace &scvf) const |
| | Compute the fluxes of the local residual. More...
|
| |