mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05: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:
176 files changed
+1470
-1365
No files matched your search
@@ -20,8 +20,8 @@
|
||||
|
||||
#include "RigMainGrid.h"
|
||||
|
||||
#include "RiaDefines.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaResultNames.h"
|
||||
#include "RigActiveCellInfo.h"
|
||||
#include "RigHexIntersectionTools.h"
|
||||
|
||||
@@ -419,8 +419,8 @@ bool RigMainGrid::hasFaultWithName( const QString& name ) const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigMainGrid::calculateFaults( const RigActiveCellInfo* activeCellInfo )
|
||||
{
|
||||
if ( hasFaultWithName( RiaDefines::undefinedGridFaultName() ) &&
|
||||
hasFaultWithName( RiaDefines::undefinedGridFaultWithInactiveName() ) )
|
||||
if ( hasFaultWithName( RiaResultNames::undefinedGridFaultName() ) &&
|
||||
hasFaultWithName( RiaResultNames::undefinedGridFaultWithInactiveName() ) )
|
||||
{
|
||||
// RiaLogging::debug(QString("Calculate faults already run for grid."));
|
||||
|
||||
@@ -439,12 +439,12 @@ void RigMainGrid::calculateFaults( const RigActiveCellInfo* activeCellInfo )
|
||||
// Separate the grid faults that has an inactive cell as member
|
||||
|
||||
RigFault* unNamedFault = new RigFault;
|
||||
unNamedFault->setName( RiaDefines::undefinedGridFaultName() );
|
||||
unNamedFault->setName( RiaResultNames::undefinedGridFaultName() );
|
||||
int unNamedFaultIdx = static_cast<int>( m_faults.size() );
|
||||
m_faults.push_back( unNamedFault );
|
||||
|
||||
RigFault* unNamedFaultWithInactive = new RigFault;
|
||||
unNamedFaultWithInactive->setName( RiaDefines::undefinedGridFaultWithInactiveName() );
|
||||
unNamedFaultWithInactive->setName( RiaResultNames::undefinedGridFaultWithInactiveName() );
|
||||
int unNamedFaultWithInactiveIdx = static_cast<int>( m_faults.size() );
|
||||
m_faults.push_back( unNamedFaultWithInactive );
|
||||
|
||||
|
||||
Reference in new issue
Block a user