3.6-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, typename GridGeometry::DiscretizationMethod > 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, typename GridGeometry::DiscretizationMethod >

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...
 
using DiscretizationMethod = DiscretizationMethods::Box
 state the discretization method this implementation belongs to 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)
 Returns the force (in Newton) 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 {}
 

Member Typedef Documentation

◆ DiscretizationMethod

template<class ScalarType , class GridGeometry >
using Dumux::HookesLaw< ScalarType, GridGeometry, typename GridGeometry::DiscretizationMethod >::DiscretizationMethod = DiscretizationMethods::Box

state the discretization method this implementation belongs to

◆ ForceVector

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

export the type used for force vectors

◆ Scalar

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

export the type used for scalar values

◆ StressTensor

template<class ScalarType , class GridGeometry >
using Dumux::HookesLaw< ScalarType, GridGeometry, typename GridGeometry::DiscretizationMethod >::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, typename GridGeometry::DiscretizationMethod >::force ( const Problem &  problem,
const Element &  element,
const FVElementGeometry &  fvGeometry,
const ElementVolumeVariables &  elemVolVars,
const SubControlVolumeFace &  scvf,
const ElementFluxVarsCache &  elemFluxVarCache 
)
inlinestatic

Returns the force (in Newton) 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, typename GridGeometry::DiscretizationMethod >::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, typename GridGeometry::DiscretizationMethod >::discMethod {}
staticconstexpr

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