Skip to content

Commit

Permalink
Update SinglePhaseFVMKernels.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltomin authored Aug 19, 2024
1 parent b3d10a2 commit de10230
Showing 1 changed file with 15 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ namespace geos

namespace singlePhaseFVMKernels
{
using namespace fluxKernelsHelper;

/******************************** FaceBasedAssemblyKernelBase ********************************/

Expand Down Expand Up @@ -359,21 +358,21 @@ class FaceBasedAssemblyKernel : public FaceBasedAssemblyKernelBase
localIndex const subRegionIndex[2] = {m_sesri( iconn, k[0] ), m_sesri( iconn, k[1] )};
localIndex const elementIndex[2] = {m_sei( iconn, k[0] ), m_sei( iconn, k[1] )};

computeSinglePhaseFlux( regionIndex, subRegionIndex, elementIndex,
trans,
dTrans,
m_pres,
m_gravCoef,
m_dens,
m_dDens_dPres,
m_mob,
m_dMob_dPres,
alpha,
mobility,
potGrad,
fluxVal,
dFlux_dP,
dFlux_dTrans );
fluxKernelsHelper::computeSinglePhaseFlux( regionIndex, subRegionIndex, elementIndex,
trans,
dTrans,
m_pres,
m_gravCoef,
m_dens,
m_dDens_dPres,
m_mob,
m_dMob_dPres,
alpha,
mobility,
potGrad,
fluxVal,
dFlux_dP,
dFlux_dTrans );

// populate local flux vector and derivatives
stack.localFlux[k[0]*numEqn] += m_dt * fluxVal;
Expand Down

0 comments on commit de10230

Please sign in to comment.