GEOS
Namespaces | Typedefs | Functions
FluxKernelsHelper.hpp File Reference
#include "common/DataTypes.hpp"
#include "mesh/ElementRegionManager.hpp"

Go to the source code of this file.

Namespaces

 geos
 

Typedefs

template<typename VIEWTYPE >
using geos::singlePhaseFluxKernelsHelper::ElementViewConst = ElementRegionManager::ElementViewConst< VIEWTYPE >
 The type for element-based data. Consists entirely of ArrayView's. More...
 

Functions

GEOS_HOST_DEVICE void geos::singlePhaseFluxKernelsHelper::computeSinglePhaseFlux (localIndex const (&seri)[2], localIndex const (&sesri)[2], localIndex const (&sei)[2], real64 const (&transmissibility)[2], real64 const (&dTrans_dPres)[2], ElementViewConst< arrayView1d< real64 const > > const &pres, ElementViewConst< arrayView1d< real64 const > > const &gravCoef, ElementViewConst< arrayView2d< real64 const > > const &dens, ElementViewConst< arrayView2d< real64 const > > const &dDens_dPres, ElementViewConst< arrayView1d< real64 const > > const &mob, ElementViewConst< arrayView1d< real64 const > > const &dMob_dPres, real64 &alpha, real64 &mobility, real64 &potGrad, real64 &fluxVal, real64(&dFlux_dP)[2], real64 &dFlux_dTrans)
 
template<typename ENERGYFLUX_DERIVATIVE_TYPE >
GEOS_HOST_DEVICE void geos::singlePhaseFluxKernelsHelper::computeEnthalpyFlux (localIndex const (&seri)[2], localIndex const (&sesri)[2], localIndex const (&sei)[2], real64 const (&transmissibility)[2], ElementViewConst< arrayView2d< real64 const > > const &enthalpy, ElementViewConst< arrayView2d< real64 const > > const &dEnthalpy_dPressure, ElementViewConst< arrayView2d< real64 const > > const &dEnthalpy_dTemperature, ElementViewConst< arrayView1d< real64 const > > const &gravCoef, ElementViewConst< arrayView2d< real64 const > > const &dDens_dTemp, ElementViewConst< arrayView1d< real64 const > > const &dMob_dTemp, real64 const &alpha, real64 const &mobility, real64 const &potGrad, real64 const &massFlux, real64 const &dMassFlux_dTrans, real64 const (&dMassFlux_dP)[2], real64(&dMassFlux_dT)[2], real64 &energyFlux, real64 &dEnergyFlux_dTrans, ENERGYFLUX_DERIVATIVE_TYPE &dEnergyFlux_dP, ENERGYFLUX_DERIVATIVE_TYPE &dEnergyFlux_dT)
 
template<typename ENERGYFLUX_DERIVATIVE_TYPE >
GEOS_HOST_DEVICE void geos::singlePhaseFluxKernelsHelper::computeConductiveFlux (localIndex const (&seri)[2], localIndex const (&sesri)[2], localIndex const (&sei)[2], ElementViewConst< arrayView1d< real64 const > > const &temperature, real64 const (&thermalTrans)[2], real64 &energyFlux, ENERGYFLUX_DERIVATIVE_TYPE &dEnergyFlux_dT)
 

Typedef Documentation

◆ ElementViewConst

template<typename VIEWTYPE >
using geos::singlePhaseFluxKernelsHelper::ElementViewConst = typedef ElementRegionManager::ElementViewConst< VIEWTYPE >

The type for element-based data. Consists entirely of ArrayView's.

Can be converted from ElementRegionManager::ElementViewConstAccessor by calling .toView() or .toViewConst() on an accessor instance

Definition at line 39 of file FluxKernelsHelper.hpp.