Skip to content
Snippets Groups Projects
Commit 386f08a4 authored by renchao.lu's avatar renchao.lu
Browse files

[MatLib/MPL] Add decay_rate in the list of property type.

parent 76f0cbaf
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,8 @@ enum PropertyType : int
critical_pressure,
critical_temperature,
compressibility,
/// used to specify decay rate of a substance.
decay_rate,
density,
drhodT,
effective_stress,
......@@ -123,6 +125,10 @@ inline PropertyType convertStringToProperty(std::string const& inString)
{
return PropertyType::compressibility;
}
if (boost::iequals(inString, "decay_rate"))
{
return PropertyType::decay_rate;
}
if (boost::iequals(inString, "density"))
{
return PropertyType::density;
......
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