OGS
DupuitPermeability.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <Eigen/Core>
14
17
18namespace MaterialLib
19{
20namespace PorousMedium
21{
27class DupuitPermeability final : public Permeability
28{
29public:
31 ParameterLib::Parameter<double> const& permeability_parameter,
32 int const dimension)
33 : Permeability(permeability_parameter, dimension)
34 {
35 }
36
40 Eigen::MatrixXd getValue(const double t,
42 const double variable,
43 const double temperature) const override
44 {
45 return variable * Permeability::getValue(t, pos, variable, temperature);
46 }
47};
48
49} // namespace PorousMedium
50} // namespace MaterialLib
DupuitPermeability(ParameterLib::Parameter< double > const &permeability_parameter, int const dimension)
Eigen::MatrixXd getValue(const double t, ParameterLib::SpatialPosition const &pos, const double variable, const double temperature) const override
virtual Eigen::MatrixXd getValue(const double t, ParameterLib::SpatialPosition const &pos, const double variable, const double temperature) const