3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Dumux::HookesLaw< ScalarType, GridGeometry, DiscretizationMethod::box > Class Template Reference

Hooke's law for box scheme. More...

#include <dumux/flux/box/hookeslaw.hh>

Description

template<class ScalarType, class GridGeometry>
class Dumux::HookesLaw< ScalarType, GridGeometry, DiscretizationMethod::box >

Hooke's law for box scheme.

Template Parameters
ScalarTypethe scalar type for scalar physical quantities
GridGeometrythe grid geometry

Public Types

using Scalar = ScalarType
 export the type used for scalar values More...
 
using StressTensor = Dune::FieldMatrix< Scalar, dim, dimWorld >
 export the type used for the stress tensor More...
 
using ForceVector = typename StressTensor::row_type
 export the type used for force vectors More...
 

Static Public Member Functions

template<class Problem , class ElementVolumeVariables , class ElementFluxVarsCache >
static ForceVector force (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVarsCache &elemFluxVarCache)
 computes the force acting on a sub-control volume face More...
 
template<class Problem , class ElementVolumeVariables , class FluxVarsCache >
static StressTensor stressTensor (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const FluxVarsCache &fluxVarCache)
 assembles the stress tensor at a given integration point More...
 

Static Public Attributes

static constexpr DiscretizationMethod discMethod = DiscretizationMethod::box
 state the discretization method this implementation belongs to More...
 

Member Typedef Documentation

◆ ForceVector

template<class ScalarType , class GridGeometry >
using Dumux::HookesLaw< ScalarType, GridGeometry, DiscretizationMethod::box >::ForceVector = typename StressTensor::row_type

export the type used for force vectors

◆ Scalar

template<class ScalarType , class GridGeometry >
using Dumux::HookesLaw< ScalarType, GridGeometry, DiscretizationMethod::box >::Scalar = ScalarType

export the type used for scalar values

◆ StressTensor

template<class ScalarType , class GridGeometry >
using Dumux::HookesLaw< ScalarType, GridGeometry, DiscretizationMethod::box >::StressTensor = Dune::FieldMatrix<Scalar, dim, dimWorld>

export the type used for the stress tensor

Member Function Documentation

◆ force()

template<class ScalarType , class GridGeometry >
template<class Problem , class ElementVolumeVariables , class ElementFluxVarsCache >
static ForceVector Dumux::HookesLaw< ScalarType, GridGeometry, DiscretizationMethod::box >::force ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolumeFace &  scvf,
const ElementFluxVarsCache &  elemFluxVarCache 
)
inlinestatic

computes the force acting on a sub-control volume face

◆ stressTensor()

template<class ScalarType , class GridGeometry >
template<class Problem , class ElementVolumeVariables , class FluxVarsCache >
static StressTensor Dumux::HookesLaw< ScalarType, GridGeometry, DiscretizationMethod::box >::stressTensor ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const FluxVarsCache &  fluxVarCache 
)
inlinestatic

assembles the stress tensor at a given integration point

Member Data Documentation

◆ discMethod

template<class ScalarType , class GridGeometry >
constexpr DiscretizationMethod Dumux::HookesLaw< ScalarType, GridGeometry, DiscretizationMethod::box >::discMethod = DiscretizationMethod::box
staticconstexpr

state the discretization method this implementation belongs to


The documentation for this class was generated from the following file: