mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Moved UnitSystem from RiaEclipseUnitTools to RiaDefines. (#7225)
* Moved UnitSystem from RiaEclipseUnitTools to RiaDefines. - Renamed UnitSystem to EclipseUnitSystem - Replaced header includes and removed obsolete includes of RiaEclipseUnitTools.h * Moved result name functions into separate file. * Minor cleanup Co-authored-by: rubenthoms <rubenthoms@users.noreply.github.com> Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com> Co-authored-by: magnesj <magnesj@users.noreply.github.com>
This commit is contained in:
@@ -598,8 +598,8 @@ void RimGeoMechResultDefinition::loadResult()
|
||||
{
|
||||
if ( m_geomCase && m_geomCase->geoMechData() )
|
||||
{
|
||||
if ( this->resultAddress().fieldName == RiaDefines::wbsFGResult().toStdString() ||
|
||||
this->resultAddress().fieldName == RiaDefines::wbsSFGResult().toStdString() )
|
||||
if ( this->resultAddress().fieldName == RiaResultNames::wbsFGResult().toStdString() ||
|
||||
this->resultAddress().fieldName == RiaResultNames::wbsSFGResult().toStdString() )
|
||||
{
|
||||
RigFemResultAddress stressResAddr( RIG_ELEMENT_NODAL, std::string( "ST" ), "" );
|
||||
RigFemResultAddress porBarResAddr( RIG_ELEMENT_NODAL, std::string( "POR-Bar" ), "" );
|
||||
@@ -839,7 +839,7 @@ QString RimGeoMechResultDefinition::currentResultUnits() const
|
||||
}
|
||||
else
|
||||
{
|
||||
for ( auto resultName : RiaDefines::wbsDerivedResultNames() )
|
||||
for ( auto resultName : RiaResultNames::wbsDerivedResultNames() )
|
||||
{
|
||||
if ( resultName == this->resultFieldName() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user