mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
This commit is contained in:
@@ -74,9 +74,8 @@ RigEclipseWellLogExtractor* RimWellLogPlotCollection::findOrCreateSimWellExtract
|
||||
}
|
||||
|
||||
std::string errorIdName = ( simWellName + " " + caseUserDescription ).toStdString();
|
||||
cvf::ref<RigEclipseWellLogExtractor> extractor = new RigEclipseWellLogExtractor( eclCaseData,
|
||||
wellPathGeom,
|
||||
errorIdName );
|
||||
cvf::ref<RigEclipseWellLogExtractor> extractor =
|
||||
new RigEclipseWellLogExtractor( eclCaseData, wellPathGeom, errorIdName );
|
||||
m_extractors.push_back( extractor.p() );
|
||||
|
||||
return extractor.p();
|
||||
@@ -85,8 +84,7 @@ RigEclipseWellLogExtractor* RimWellLogPlotCollection::findOrCreateSimWellExtract
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigEclipseWellLogExtractor* RimWellLogPlotCollection::findOrCreateExtractor( RimWellPath* wellPath,
|
||||
RimEclipseCase* eclCase )
|
||||
RigEclipseWellLogExtractor* RimWellLogPlotCollection::findOrCreateExtractor( RimWellPath* wellPath, RimEclipseCase* eclCase )
|
||||
{
|
||||
if ( !( wellPath && eclCase && wellPath->wellPathGeometry() && eclCase->eclipseCaseData() ) )
|
||||
{
|
||||
@@ -104,9 +102,8 @@ RigEclipseWellLogExtractor* RimWellLogPlotCollection::findOrCreateExtractor( Rim
|
||||
}
|
||||
|
||||
std::string errorIdName = ( wellPath->name() + " " + eclCase->caseUserDescription() ).toStdString();
|
||||
cvf::ref<RigEclipseWellLogExtractor> extractor = new RigEclipseWellLogExtractor( eclCaseData,
|
||||
wellPathGeom,
|
||||
errorIdName );
|
||||
cvf::ref<RigEclipseWellLogExtractor> extractor =
|
||||
new RigEclipseWellLogExtractor( eclCaseData, wellPathGeom, errorIdName );
|
||||
m_extractors.push_back( extractor.p() );
|
||||
|
||||
return extractor.p();
|
||||
@@ -115,8 +112,7 @@ RigEclipseWellLogExtractor* RimWellLogPlotCollection::findOrCreateExtractor( Rim
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigGeoMechWellLogExtractor* RimWellLogPlotCollection::findOrCreateExtractor( RimWellPath* wellPath,
|
||||
RimGeoMechCase* geomCase )
|
||||
RigGeoMechWellLogExtractor* RimWellLogPlotCollection::findOrCreateExtractor( RimWellPath* wellPath, RimGeoMechCase* geomCase )
|
||||
{
|
||||
if ( !( wellPath && geomCase && wellPath->wellPathGeometry() && geomCase->geoMechData() ) )
|
||||
{
|
||||
@@ -127,17 +123,15 @@ RigGeoMechWellLogExtractor* RimWellLogPlotCollection::findOrCreateExtractor( Rim
|
||||
RigWellPath* wellPathGeom = wellPath->wellPathGeometry();
|
||||
for ( size_t exIdx = 0; exIdx < m_geomExtractors.size(); ++exIdx )
|
||||
{
|
||||
if ( m_geomExtractors[exIdx]->caseData() == geomCaseData &&
|
||||
m_geomExtractors[exIdx]->wellPathData() == wellPathGeom )
|
||||
if ( m_geomExtractors[exIdx]->caseData() == geomCaseData && m_geomExtractors[exIdx]->wellPathData() == wellPathGeom )
|
||||
{
|
||||
return m_geomExtractors[exIdx].p();
|
||||
}
|
||||
}
|
||||
|
||||
std::string errorIdName = ( wellPath->name() + " " + geomCase->caseUserDescription() ).toStdString();
|
||||
cvf::ref<RigGeoMechWellLogExtractor> extractor = new RigGeoMechWellLogExtractor( geomCaseData,
|
||||
wellPathGeom,
|
||||
errorIdName );
|
||||
cvf::ref<RigGeoMechWellLogExtractor> extractor =
|
||||
new RigGeoMechWellLogExtractor( geomCaseData, wellPathGeom, errorIdName );
|
||||
m_geomExtractors.push_back( extractor.p() );
|
||||
|
||||
return extractor.p();
|
||||
|
||||
Reference in New Issue
Block a user