Commit f933f113 authored by Markus Wolff's avatar Markus Wolff
Browse files

Bugfix: corrected an index in the pn-formulation

reviewed by Melanie



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@10274 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 19d8094c
......@@ -2252,7 +2252,7 @@ void FVMPFAL2PFABoundPressure2PAdaptive<TypeTag>::assemble()
if (i == wPhaseIdx)
{
//add capillary pressure term to right hand side
this->f_[globalIdx1] += (pcFluxReal[0] - pcFluxReal[1]);
this->f_[globalIdx1] += (pcFluxReal[0] - pcFluxReal[3]);
this->f_[globalIdx2] += (pcFluxReal[1] - pcFluxReal[0]);
this->f_[globalIdx3] += (pcFluxReal[2] - pcFluxReal[1]);
this->f_[globalIdx4] += (pcFluxReal[3] - pcFluxReal[2]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment