13#ifndef DUMUX_GEOMECHANICS_HYPERELASTIC_VOLUME_VARIABLES_HH
14#define DUMUX_GEOMECHANICS_HYPERELASTIC_VOLUME_VARIABLES_HH
23template <
class Traits>
27 using Scalar =
typename Traits::PrimaryVariables::value_type;
29 static_assert(Traits::PrimaryVariables::dimension == Traits::ModelTraits::numEq());
36 using Indices =
typename Traits::ModelTraits::Indices;
39 {
return this->
priVar(i); }
Definition: common/volumevariables.hh:21
const PrimaryVariables & priVars() const
Definition: common/volumevariables.hh:42
Scalar priVar(const int pvIdx) const
Definition: common/volumevariables.hh:39
typename Traits::PrimaryVariables PrimaryVariables
export the type used for the primary variables
Definition: common/volumevariables.hh:25
Volume variables for the hyperelasticity model.
Definition: geomechanics/hyperelastic/volumevariables.hh:26
Scalar displacement(int i) const
Definition: geomechanics/hyperelastic/volumevariables.hh:38
const PrimaryVariables & displacement() const
Definition: geomechanics/hyperelastic/volumevariables.hh:41
typename Traits::ModelTraits::Indices Indices
export the indices type
Definition: geomechanics/hyperelastic/volumevariables.hh:36
Basic volume variables for finite volume methods.