Skip to content
Snippets Groups Projects
Commit e5231262 authored by Tom Fischer's avatar Tom Fischer
Browse files

[MPL] PropertyTypes: Add thermal dispersivities.

parent 573acc18
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,8 @@ enum PropertyType : int
specific_heat_capacity,
thermal_conductivity,
thermal_expansivity,
thermal_longitudinal_dispersivity,
thermal_transversal_dispersivity,
/// used to compute the hydrodynamic dispersion tensor.
transversal_dispersivity,
viscosity,
......@@ -214,6 +216,14 @@ inline PropertyType convertStringToProperty(std::string const& inString)
{
return PropertyType::thermal_expansivity;
}
if (boost::iequals(inString, "thermal_longitudinal_dispersivity"))
{
return PropertyType::thermal_longitudinal_dispersivity;
}
if (boost::iequals(inString, "thermal_transversal_dispersivity"))
{
return PropertyType::thermal_transversal_dispersivity;
}
if (boost::iequals(inString, "transversal_dispersivity"))
{
return PropertyType::transversal_dispersivity;
......@@ -265,6 +275,8 @@ static const std::array<std::string, PropertyType::number_of_properties>
"specific_heat_capacity",
"thermal_conductivity",
"thermal_expansivity",
"thermal_longitudinal_dispersivity",
"thermal_transversal_dispersivity",
"transversal_dispersivity",
"viscosity"}};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment