mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Move hard coded parameter names to RiaDefines
This commit is contained in:
@@ -483,8 +483,8 @@ void RimGeoMechResultDefinition::loadResult()
|
||||
{
|
||||
if (m_geomCase && m_geomCase->geoMechData())
|
||||
{
|
||||
if (this->resultAddress().fieldName == "FractureGradient" ||
|
||||
this->resultAddress().fieldName == "ShearFailureGradient")
|
||||
if (this->resultAddress().fieldName == RiaDefines::wellPathFGResultName().toStdString() ||
|
||||
this->resultAddress().fieldName == RiaDefines::wellPathSFGResultName().toStdString())
|
||||
{
|
||||
RigFemResultAddress stressResAddr(RIG_ELEMENT_NODAL, std::string("ST"), "");
|
||||
RigFemResultAddress porBarResAddr(RIG_ELEMENT_NODAL, std::string("POR-Bar"), "");
|
||||
|
||||
Reference in New Issue
Block a user