Skip to content
Snippets Groups Projects
Commit 1e4eaa27 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

box 1p2c local residual: add onBoundary functionality again for the computeFlux routine

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@8273 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent ce560548
No related branches found
No related tags found
No related merge requests found
......@@ -107,13 +107,14 @@ public:
* \param flux The flux over the SCV (sub-control-volume) face
* \param faceIdx The index of the SCV face
*/
void computeFlux(PrimaryVariables &flux, const int faceIdx) const
void computeFlux(PrimaryVariables &flux, const int faceIdx, const bool onBoundary=false) const
{
FluxVariables fluxVars(this->problem_(),
this->element_(),
this->fvGeometry_(),
faceIdx,
this->curVolVars_());
this->curVolVars_(),
onBoundary);
DimVector tmpVec;
fluxVars.intrinsicPermeability().mv(fluxVars.potentialGrad(),
tmpVec);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment