12#ifndef DUMUX_MEMBRANE_PLATE_SPATIAL_PARAMS_HH
13#define DUMUX_MEMBRANE_PLATE_SPATIAL_PARAMS_HH
26template<
class Gr
idGeometry,
class Scalar>
28:
public FVSpatialParams<GridGeometry, Scalar, MembranePlateSpatialParams<GridGeometry, Scalar>>
31 using GlobalPosition =
typename GridGeometry::GridView::template Codim<0>::Entity::Geometry::GlobalCoordinate;
36 , tension_(
getParam<std::string>(
"Problem.Tension",
"1.0"),
"xy")
40 Scalar
tension(
const GlobalPosition& globalPos)
const
41 {
return tension_(globalPos); }
44 PositionFunction tension_;
47template<
class Gr
idGeometry,
class Scalar>
53 using ParentType::ParentType;
The base class for spatial parameters used with finite-volume schemes.
Definition: common/fvspatialparams.hh:34
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: common/fvspatialparams.hh:161
Definition: solidmechanics/plate/membrane/spatialparams.hh:50
Spatial parameters for the membrane plate model.
Definition: solidmechanics/plate/membrane/spatialparams.hh:29
MembranePlateSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: solidmechanics/plate/membrane/spatialparams.hh:34
Scalar tension(const GlobalPosition &globalPos) const
Returns the membrane tension (force per unit length)
Definition: solidmechanics/plate/membrane/spatialparams.hh:40
Basic spatial parameters to be used with finite-volume schemes.
Evaluating string math expressions containing named variables.
T getParam(Args &&... args)
A free function to get a parameter from the parameter tree singleton.
Definition: parameters.hh:139