MaterialLib::PorousMedium::Porosity Class Reference

Detailed Description

Definition at line 23 of file Porosity.h.

#include <Porosity.h>

Collaboration diagram for MaterialLib::PorousMedium::Porosity:

Public Member Functions

 Porosity (ParameterLib::Parameter< double > const &parameter)
virtual ~Porosity ()=default
virtual double getValue (const double t, ParameterLib::SpatialPosition const &pos, const double variable, const double temperature) const

Private Attributes

ParameterLib::Parameter< double > const & _parameter

Constructor & Destructor Documentation

◆ Porosity()

MaterialLib::PorousMedium::Porosity::Porosity ( ParameterLib::Parameter< double > const &  parameter)

Definition at line 26 of file Porosity.h.

27 : _parameter(parameter)
28 {
29 }
ParameterLib::Parameter< double > const & _parameter
Definition: Porosity.h:50

◆ ~Porosity()

virtual MaterialLib::PorousMedium::Porosity::~Porosity ( )

Member Function Documentation

◆ getValue()

virtual double MaterialLib::PorousMedium::Porosity::getValue ( const double  t,
ParameterLib::SpatialPosition const &  pos,
const double  variable,
const double  temperature 
) const

Get property value.

tpoint in time
posspatial position
variableA variable with any double type value.
temperatureTemperature with any double type value.

Definition at line 39 of file Porosity.h.

43 {
44 (void)variable;
45 (void)temperature;
46 return _parameter(t, pos)[0];
47 }

References _parameter.

Member Data Documentation

◆ _parameter

ParameterLib::Parameter<double> const& MaterialLib::PorousMedium::Porosity::_parameter

Definition at line 50 of file Porosity.h.

Referenced by getValue().

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