mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4348 System , cppcheck : Remove unused functions
This commit is contained in:
@@ -43,6 +43,17 @@ unchanged ApplicationCode\Application\Tools\RiaColorTools.cpp 147 style unusedFu
|
|||||||
unchanged ApplicationCode\ProjectDataModel\Completions\RimPerforationInterval.cpp 105 style unusedFunction false The function 'enableCustomEndDate' is never used.
|
unchanged ApplicationCode\ProjectDataModel\Completions\RimPerforationInterval.cpp 105 style unusedFunction false The function 'enableCustomEndDate' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\Rim3dView.cpp 1099 style unusedFunction false The function 'enablePerspectiveProjectionField' is never used.
|
unchanged ApplicationCode\ProjectDataModel\Rim3dView.cpp 1099 style unusedFunction false The function 'enablePerspectiveProjectionField' is never used.
|
||||||
unchanged ApplicationCode\ReservoirDataModel\RigMainGrid.cpp 166 style unusedFunction false The function 'findAllReservoirCellIndicesMatching2dPoint' is never used.
|
unchanged ApplicationCode\ReservoirDataModel\RigMainGrid.cpp 166 style unusedFunction false The function 'findAllReservoirCellIndicesMatching2dPoint' is never used.
|
||||||
|
unchanged ApplicationCode\ProjectDataModel\GridCrossPlots\RimGridCrossPlotDataSet.cpp 400 style unusedFunction false The function 'groupStrings' is never used.
|
||||||
|
unchanged ApplicationCode\ProjectDataModel\RimContourMapProjection.cpp 354 style unusedFunction false The function 'hasResultAtVertex' is never used.
|
||||||
|
unchanged ApplicationCode\ProjectDataModel\RimContourMapProjection.cpp 1417 style unusedFunction false The function 'isSummationResult' is never used.
|
||||||
|
unchanged ApplicationCode\ProjectDataModel\RimContourMapProjection.cpp 223 style unusedFunction false The function 'resultAggregation' is never used.
|
||||||
|
unchanged ApplicationCode\ProjectDataModel\RimContourMapProjection.cpp 255 style unusedFunction false The function 'showContourLabels' is never used.
|
||||||
|
unchanged ApplicationCode\ProjectDataModel\Annotations\RimUserDefinedPolylinesAnnotation.cpp 42 style unusedFunction false The function 'xydToXyzVector' is never used.
|
||||||
|
unchanged ApplicationCode\ProjectDataModel\Completions\RimSimWellFracture.cpp 117 style unusedFunction false The function 'wellDipAtFracturePosition' is never used.
|
||||||
|
unchanged ApplicationCode\ReservoirDataModel\RigLocalGrid.cpp 65 style unusedFunction false The function 'setPositionInParentGrid' is never used.
|
||||||
|
unchanged ApplicationCode\ProjectDataModel\Annotations\RimPolylinesAnnotationInView.cpp 66 style unusedFunction false The function 'setSourceAnnotation' is never used.
|
||||||
|
unchanged ApplicationCode\ProjectDataModel\Annotations\RimAnnotationTextAppearance.cpp 75 style unusedFunction false The function 'setAnchorLineColor' is never used.
|
||||||
|
unchanged ApplicationCode\ProjectDataModel\Annotations\RimAnnotationTextAppearance.cpp 59 style unusedFunction false The function 'setFontColor' is never used.
|
||||||
|
|
||||||
Backlog
|
Backlog
|
||||||
-------
|
-------
|
||||||
@@ -59,22 +70,18 @@ unchanged ApplicationCode\UserInterface\RiuDragDrop.cpp 254 style unusedFunction
|
|||||||
unchanged ApplicationCode\FileInterface\RifEclipseSummaryTools.cpp 123 style unusedFunction false The function 'dumpMetaData' is never used.
|
unchanged ApplicationCode\FileInterface\RifEclipseSummaryTools.cpp 123 style unusedFunction false The function 'dumpMetaData' is never used.
|
||||||
unchanged ApplicationCode\FileInterface\RifJsonEncodeDecode.cpp 45 style unusedFunction false The function 'dumpToFile' is never used.
|
unchanged ApplicationCode\FileInterface\RifJsonEncodeDecode.cpp 45 style unusedFunction false The function 'dumpToFile' is never used.
|
||||||
unchanged ApplicationCode\GeoMech\OdbReader\RifOdbReader.cpp 551 style unusedFunction false The function 'elementSet' is never used.
|
unchanged ApplicationCode\GeoMech\OdbReader\RifOdbReader.cpp 551 style unusedFunction false The function 'elementSet' is never used.
|
||||||
|
|
||||||
unchanged ApplicationCode\Application\RiaEclipseFileNameTools.cpp 73 style unusedFunction false The function 'findRelatedDataFile' is never used.
|
unchanged ApplicationCode\Application\RiaEclipseFileNameTools.cpp 73 style unusedFunction false The function 'findRelatedDataFile' is never used.
|
||||||
unchanged ApplicationCode\Commands\HoloLensCommands\VdeArrayDataPacket.cpp 221 style unusedFunction false The function 'fromRawPacketBuffer' is never used.
|
unchanged ApplicationCode\Commands\HoloLensCommands\VdeArrayDataPacket.cpp 221 style unusedFunction false The function 'fromRawPacketBuffer' is never used.
|
||||||
unchanged ApplicationCode\GeoMech\GeoMechDataModel\RigFemPartGrid.cpp 503 style unusedFunction false The function 'gridPointCoordinate' is never used.
|
unchanged ApplicationCode\GeoMech\GeoMechDataModel\RigFemPartGrid.cpp 503 style unusedFunction false The function 'gridPointCoordinate' is never used.
|
||||||
unchanged ApplicationCode\GeoMech\GeoMechDataModel\RigFemPartGrid.cpp 362 style unusedFunction false The function 'gridPointCountI' is never used.
|
unchanged ApplicationCode\GeoMech\GeoMechDataModel\RigFemPartGrid.cpp 362 style unusedFunction false The function 'gridPointCountI' is never used.
|
||||||
unchanged ApplicationCode\GeoMech\GeoMechDataModel\RigFemPartGrid.cpp 371 style unusedFunction false The function 'gridPointCountJ' is never used.
|
unchanged ApplicationCode\GeoMech\GeoMechDataModel\RigFemPartGrid.cpp 371 style unusedFunction false The function 'gridPointCountJ' is never used.
|
||||||
unchanged ApplicationCode\GeoMech\GeoMechDataModel\RigFemPartGrid.cpp 494 style unusedFunction false The function 'gridPointIndexFromIJK' is never used.
|
unchanged ApplicationCode\GeoMech\GeoMechDataModel\RigFemPartGrid.cpp 494 style unusedFunction false The function 'gridPointIndexFromIJK' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\GridCrossPlots\RimGridCrossPlotDataSet.cpp 400 style unusedFunction false The function 'groupStrings' is never used.
|
|
||||||
unchanged ApplicationCode\UserInterface\RiuCadNavigation.cpp 49 style unusedFunction false The function 'handleInputEvent' is never used.
|
unchanged ApplicationCode\UserInterface\RiuCadNavigation.cpp 49 style unusedFunction false The function 'handleInputEvent' is never used.
|
||||||
unchanged ApplicationCode\Commands\Ric3dViewPickEventHandler.cpp 42 style unusedFunction false The function 'handlePickEvent' is never used.
|
unchanged ApplicationCode\Commands\Ric3dViewPickEventHandler.cpp 42 style unusedFunction false The function 'handlePickEvent' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\RimMimeData.cpp 56 style unusedFunction false The function 'hasFormat' is never used.
|
unchanged ApplicationCode\ProjectDataModel\RimMimeData.cpp 56 style unusedFunction false The function 'hasFormat' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\RimContourMapProjection.cpp 354 style unusedFunction false The function 'hasResultAtVertex' is never used.
|
|
||||||
unchanged ApplicationCode\Commands\HoloLensCommands\VdeArrayDataPacket.cpp 173 style unusedFunction false The function 'imageComponentCount' is never used.
|
unchanged ApplicationCode\Commands\HoloLensCommands\VdeArrayDataPacket.cpp 173 style unusedFunction false The function 'imageComponentCount' is never used.
|
||||||
unchanged ApplicationCode\Application\Tools\RiaImageFileCompare.cpp 126 style unusedFunction false The function 'imagesEqual' is never used.
|
unchanged ApplicationCode\Application\Tools\RiaImageFileCompare.cpp 126 style unusedFunction false The function 'imagesEqual' is never used.
|
||||||
unchanged ApplicationCode\WellPathImportSsihub\RiuWellImportWizard.cpp 760 style unusedFunction false The function 'initializePage' is never used.
|
unchanged ApplicationCode\WellPathImportSsihub\RiuWellImportWizard.cpp 760 style unusedFunction false The function 'initializePage' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\RimContourMapProjection.cpp 1417 style unusedFunction false The function 'isSummationResult' is never used.
|
|
||||||
unchanged ApplicationCode\UserInterface\RiuViewer.cpp 860 style unusedFunction false The function 'leaveEvent' is never used.
|
unchanged ApplicationCode\UserInterface\RiuViewer.cpp 860 style unusedFunction false The function 'leaveEvent' is never used.
|
||||||
unchanged ApplicationCode\GeoMech\GeoMechDataModel\RigFemPartGrid.cpp 405 style unusedFunction false The function 'maxCoordinate' is never used.
|
unchanged ApplicationCode\GeoMech\GeoMechDataModel\RigFemPartGrid.cpp 405 style unusedFunction false The function 'maxCoordinate' is never used.
|
||||||
unchanged ApplicationCode\UserInterface\RiuDragDrop.cpp 332 style unusedFunction false The function 'mimeTypes' is never used.
|
unchanged ApplicationCode\UserInterface\RiuDragDrop.cpp 332 style unusedFunction false The function 'mimeTypes' is never used.
|
||||||
@@ -93,19 +100,14 @@ unchanged ApplicationCode\UserInterface\RiuViewer.cpp 345 style unusedFunction f
|
|||||||
unchanged ApplicationCode\ProjectDataModel\RimProject.cpp 1066 style unusedFunction false The function 'polylineAnnotations' is never used.
|
unchanged ApplicationCode\ProjectDataModel\RimProject.cpp 1066 style unusedFunction false The function 'polylineAnnotations' is never used.
|
||||||
unchanged ApplicationCode\Application\RiaApplication.cpp 326 style unusedFunction false The function 'processNonGuiEvents' is never used.
|
unchanged ApplicationCode\Application\RiaApplication.cpp 326 style unusedFunction false The function 'processNonGuiEvents' is never used.
|
||||||
unchanged ApplicationCode\Commands\SummaryPlotCommands\RicSummaryCurveCalculatorEditor.cpp 65 style unusedFunction false The function 'recursivelyConfigureAndUpdateTopLevelUiOrdering' is never used.
|
unchanged ApplicationCode\Commands\SummaryPlotCommands\RicSummaryCurveCalculatorEditor.cpp 65 style unusedFunction false The function 'recursivelyConfigureAndUpdateTopLevelUiOrdering' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\RimContourMapProjection.cpp 223 style unusedFunction false The function 'resultAggregation' is never used.
|
|
||||||
unchanged ApplicationCode\ProjectDataModel\Annotations\RimAnnotationTextAppearance.cpp 75 style unusedFunction false The function 'setAnchorLineColor' is never used.
|
|
||||||
unchanged ApplicationCode\ProjectDataModel\RimScaleLegendConfig.cpp 447 style unusedFunction false The function 'setCurrentScale' is never used.
|
unchanged ApplicationCode\ProjectDataModel\RimScaleLegendConfig.cpp 447 style unusedFunction false The function 'setCurrentScale' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\Annotations\RimAnnotationTextAppearance.cpp 59 style unusedFunction false The function 'setFontColor' is never used.
|
|
||||||
unchanged ApplicationCode\ProjectDataModel\RimEclipseResultDefinition.cpp 755 style unusedFunction false The function 'setFromEclipseResultAddress' is never used.
|
unchanged ApplicationCode\ProjectDataModel\RimEclipseResultDefinition.cpp 755 style unusedFunction false The function 'setFromEclipseResultAddress' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\Rim3dOverlayInfoConfig.cpp 278 style unusedFunction false The function 'setIsActive' is never used.
|
unchanged ApplicationCode\ProjectDataModel\Rim3dOverlayInfoConfig.cpp 278 style unusedFunction false The function 'setIsActive' is never used.
|
||||||
unchanged ApplicationCode\FileInterface\RifEclipseDataTableFormatter.cpp 137 style unusedFunction false The function 'setMaxDataRowWidth' is never used.
|
unchanged ApplicationCode\FileInterface\RifEclipseDataTableFormatter.cpp 137 style unusedFunction false The function 'setMaxDataRowWidth' is never used.
|
||||||
unchanged ApplicationCode\ReservoirDataModel\RigLocalGrid.cpp 65 style unusedFunction false The function 'setPositionInParentGrid' is never used.
|
|
||||||
unchanged ApplicationCode\ProjectDataModel\RimRegularLegendConfig.cpp 737 style unusedFunction false The function 'setShowLegend' is never used.
|
unchanged ApplicationCode\ProjectDataModel\RimRegularLegendConfig.cpp 737 style unusedFunction false The function 'setShowLegend' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\Annotations\RimPolylinesAnnotationInView.cpp 66 style unusedFunction false The function 'setSourceAnnotation' is never used.
|
|
||||||
unchanged ApplicationCode\ProjectDataModel\Completions\RimWellPathAicdParameters.cpp 189 style unusedFunction false The function 'setUnitLabels' is never used.
|
unchanged ApplicationCode\ProjectDataModel\Completions\RimWellPathAicdParameters.cpp 189 style unusedFunction false The function 'setUnitLabels' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\Flow\RimWellPltPlot.cpp 1067 style unusedFunction false The function 'setupBeforeSave' is never used.
|
unchanged ApplicationCode\ProjectDataModel\Flow\RimWellPltPlot.cpp 1067 style unusedFunction false The function 'setupBeforeSave' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\RimContourMapProjection.cpp 255 style unusedFunction false The function 'showContourLabels' is never used.
|
|
||||||
unchanged ApplicationCode\UserInterface\RiuWellLogPlot.cpp 519 style unusedFunction false The function 'showEvent' is never used.
|
unchanged ApplicationCode\UserInterface\RiuWellLogPlot.cpp 519 style unusedFunction false The function 'showEvent' is never used.
|
||||||
unchanged ApplicationCode\ReservoirDataModel\RigSimulationWellCenterLineCalculator.cpp 1064 style unusedFunction false The function 'splitIntoBranches' is never used.
|
unchanged ApplicationCode\ReservoirDataModel\RigSimulationWellCenterLineCalculator.cpp 1064 style unusedFunction false The function 'splitIntoBranches' is never used.
|
||||||
unchanged ApplicationCode\UserInterface\RiuDragDrop.cpp 126 style unusedFunction false The function 'supportedDropActions' is never used.
|
unchanged ApplicationCode\UserInterface\RiuDragDrop.cpp 126 style unusedFunction false The function 'supportedDropActions' is never used.
|
||||||
@@ -113,9 +115,7 @@ unchanged ApplicationCode\ReservoirDataModel\RigFlowDiagResultAddress.cpp 67 sty
|
|||||||
unchanged ApplicationCode\Commands\CrossSectionCommands\RicAppendIntersectionFeature.cpp 121 style unusedFunction false The function 'undo' is never used.
|
unchanged ApplicationCode\Commands\CrossSectionCommands\RicAppendIntersectionFeature.cpp 121 style unusedFunction false The function 'undo' is never used.
|
||||||
unchanged ApplicationCode\ModelVisualization\RivCellEdgeEffectGenerator.cpp 281 style unusedFunction false The function 'updateForFixedFunctionRendering' is never used.
|
unchanged ApplicationCode\ModelVisualization\RivCellEdgeEffectGenerator.cpp 281 style unusedFunction false The function 'updateForFixedFunctionRendering' is never used.
|
||||||
unchanged ApplicationCode\ModelVisualization\RivCellEdgeEffectGenerator.cpp 135 style unusedFunction false The function 'updateForShaderBasedRendering' is never used.
|
unchanged ApplicationCode\ModelVisualization\RivCellEdgeEffectGenerator.cpp 135 style unusedFunction false The function 'updateForShaderBasedRendering' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\Completions\RimSimWellFracture.cpp 117 style unusedFunction false The function 'wellDipAtFracturePosition' is never used.
|
|
||||||
unchanged ApplicationCode\UnitTests\ListKeywordsForObjectsAndFields-Test.cpp 16 style unusedFunction false The function 'writeTextToFile' is never used.
|
unchanged ApplicationCode\UnitTests\ListKeywordsForObjectsAndFields-Test.cpp 16 style unusedFunction false The function 'writeTextToFile' is never used.
|
||||||
unchanged ApplicationCode\ProjectDataModel\Annotations\RimUserDefinedPolylinesAnnotation.cpp 42 style unusedFunction false The function 'xydToXyzVector' is never used.
|
|
||||||
unchanged ApplicationCode\Commands\HoloLensCommands\RicHoloLensSessionManager.h 47 style unusedPrivateFunction false Unused private function: 'RicHoloLensSessionManager::handleSessionNotification'
|
unchanged ApplicationCode\Commands\HoloLensCommands\RicHoloLensSessionManager.h 47 style unusedPrivateFunction false Unused private function: 'RicHoloLensSessionManager::handleSessionNotification'
|
||||||
unchanged ApplicationCode\Commands\HoloLensCommands\VdeVizDataExtractor.h 106 style unusedPrivateFunction false Unused private function: 'VdeVizDataExtractor::debugComparePackets'
|
unchanged ApplicationCode\Commands\HoloLensCommands\VdeVizDataExtractor.h 106 style unusedPrivateFunction false Unused private function: 'VdeVizDataExtractor::debugComparePackets'
|
||||||
unchanged ApplicationCode\FileInterface\RifCaseRealizationParametersReader.h 101 style unusedPrivateFunction false Unused private function: 'RifCaseRealizationRunspecificationReader::closeDataStream'
|
unchanged ApplicationCode\FileInterface\RifCaseRealizationParametersReader.h 101 style unusedPrivateFunction false Unused private function: 'RifCaseRealizationRunspecificationReader::closeDataStream'
|
||||||
|
|||||||
@@ -53,14 +53,6 @@ void RimAnnotationTextAppearance::setFontSize(FontSize size)
|
|||||||
m_fontSize = size;
|
m_fontSize = size;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
void RimAnnotationTextAppearance::setFontColor(const cvf::Color3f& newColor)
|
|
||||||
{
|
|
||||||
m_fontColor = newColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -69,14 +61,6 @@ void RimAnnotationTextAppearance::setBackgroundColor(const cvf::Color3f& newColo
|
|||||||
m_backgroundColor = newColor;
|
m_backgroundColor = newColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
void RimAnnotationTextAppearance::setAnchorLineColor(const cvf::Color3f& newColor)
|
|
||||||
{
|
|
||||||
m_anchorLineColor = newColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -42,9 +42,7 @@ public:
|
|||||||
RimAnnotationTextAppearance();
|
RimAnnotationTextAppearance();
|
||||||
|
|
||||||
void setFontSize(FontSize size);
|
void setFontSize(FontSize size);
|
||||||
void setFontColor(const cvf::Color3f& newColor);
|
|
||||||
void setBackgroundColor(const cvf::Color3f& newColor);
|
void setBackgroundColor(const cvf::Color3f& newColor);
|
||||||
void setAnchorLineColor(const cvf::Color3f& newColor);
|
|
||||||
|
|
||||||
FontSize fontSize() const;
|
FontSize fontSize() const;
|
||||||
cvf::Color3f fontColor() const;
|
cvf::Color3f fontColor() const;
|
||||||
|
|||||||
@@ -60,14 +60,6 @@ bool RimPolylinesAnnotationInView::isActive() const
|
|||||||
return m_isActive();
|
return m_isActive();
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
void RimPolylinesAnnotationInView::setSourceAnnotation(RimPolylinesAnnotation* annotation)
|
|
||||||
{
|
|
||||||
m_sourceAnnotation = annotation;
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ public:
|
|||||||
~RimPolylinesAnnotationInView() override {}
|
~RimPolylinesAnnotationInView() override {}
|
||||||
|
|
||||||
bool isActive() const;
|
bool isActive() const;
|
||||||
void setSourceAnnotation(RimPolylinesAnnotation* annotation);
|
|
||||||
RimPolylinesAnnotation* sourceAnnotation() const;
|
RimPolylinesAnnotation* sourceAnnotation() const;
|
||||||
|
|
||||||
bool isVisible() const;
|
bool isVisible() const;
|
||||||
|
|||||||
@@ -36,22 +36,6 @@
|
|||||||
#include "cafPdmUiPushButtonEditor.h"
|
#include "cafPdmUiPushButtonEditor.h"
|
||||||
#include "cafPdmUiTreeOrdering.h"
|
#include "cafPdmUiTreeOrdering.h"
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
/// Internal function
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
std::vector<cvf::Vec3d> xydToXyzVector(const std::vector<cvf::Vec3d>& xyds)
|
|
||||||
{
|
|
||||||
std::vector<cvf::Vec3d> xyzs;
|
|
||||||
for (const auto& xyd : xyds)
|
|
||||||
{
|
|
||||||
auto xyz = xyd;
|
|
||||||
xyz.z() = -xyd.z();
|
|
||||||
xyzs.push_back(xyz);
|
|
||||||
}
|
|
||||||
return xyzs;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
CAF_PDM_SOURCE_INIT(RimUserDefinedPolylinesAnnotation, "UserDefinedPolylinesAnnotation");
|
CAF_PDM_SOURCE_INIT(RimUserDefinedPolylinesAnnotation, "UserDefinedPolylinesAnnotation");
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -111,16 +111,6 @@ double RimSimWellFracture::wellAzimuthAtFracturePosition() const
|
|||||||
return simWellAzimuth;
|
return simWellAzimuth;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
double RimSimWellFracture::wellDipAtFracturePosition()
|
|
||||||
{
|
|
||||||
computeSimWellBranchesIfRequired();
|
|
||||||
double simWellDip = m_branchCenterLines[m_branchIndex].simWellDipAngle(fracturePosition());
|
|
||||||
return simWellDip;
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ public:
|
|||||||
void updateAzimuthBasedOnWellAzimuthAngle() override;
|
void updateAzimuthBasedOnWellAzimuthAngle() override;
|
||||||
|
|
||||||
double wellAzimuthAtFracturePosition() const override;
|
double wellAzimuthAtFracturePosition() const override;
|
||||||
double wellDipAtFracturePosition();
|
|
||||||
double fractureMD() const override
|
double fractureMD() const override
|
||||||
{
|
{
|
||||||
return m_location;
|
return m_location;
|
||||||
|
|||||||
@@ -217,14 +217,6 @@ const std::vector<cvf::Vec4d>& RimContourMapProjection::trianglesWithVertexValue
|
|||||||
return m_trianglesWithVertexValues;
|
return m_trianglesWithVertexValues;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
RimContourMapProjection::ResultAggregation RimContourMapProjection::resultAggregation() const
|
|
||||||
{
|
|
||||||
return m_resultAggregation();
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -249,14 +241,6 @@ bool RimContourMapProjection::showContourLines() const
|
|||||||
return m_showContourLines();
|
return m_showContourLines();
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
bool RimContourMapProjection::showContourLabels() const
|
|
||||||
{
|
|
||||||
return m_showContourLines() && m_showContourLabels();
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -348,15 +332,6 @@ double RimContourMapProjection::valueAtVertex(uint i, uint j) const
|
|||||||
return std::numeric_limits<double>::infinity();
|
return std::numeric_limits<double>::infinity();
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
bool RimContourMapProjection::hasResultAtVertex(uint i, uint j) const
|
|
||||||
{
|
|
||||||
size_t index = vertexIndexFromIJ(i, j);
|
|
||||||
return m_aggregatedVertexResults[index] != std::numeric_limits<double>::infinity();
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@@ -1411,14 +1386,6 @@ bool RimContourMapProjection::isMeanResult() const
|
|||||||
m_resultAggregation() == RESULTS_GEOM_VALUE;
|
m_resultAggregation() == RESULTS_GEOM_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
bool RimContourMapProjection::isSummationResult() const
|
|
||||||
{
|
|
||||||
return isStraightSummationResult() || m_resultAggregation() == RESULTS_VOLUME_SUM;
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -83,11 +83,9 @@ public:
|
|||||||
const std::vector<ContourPolygons>& contourPolygons() const;
|
const std::vector<ContourPolygons>& contourPolygons() const;
|
||||||
const std::vector<cvf::Vec4d>& trianglesWithVertexValues();
|
const std::vector<cvf::Vec4d>& trianglesWithVertexValues();
|
||||||
|
|
||||||
ResultAggregation resultAggregation() const;
|
|
||||||
double sampleSpacing() const;
|
double sampleSpacing() const;
|
||||||
double sampleSpacingFactor() const;
|
double sampleSpacingFactor() const;
|
||||||
bool showContourLines() const;
|
bool showContourLines() const;
|
||||||
bool showContourLabels() const;
|
|
||||||
|
|
||||||
QString resultAggregationText() const;
|
QString resultAggregationText() const;
|
||||||
|
|
||||||
@@ -103,7 +101,6 @@ public:
|
|||||||
bool isColumnResult() const;
|
bool isColumnResult() const;
|
||||||
|
|
||||||
double valueAtVertex(uint i, uint j) const;
|
double valueAtVertex(uint i, uint j) const;
|
||||||
bool hasResultAtVertex(uint i, uint j) const;
|
|
||||||
|
|
||||||
uint numberOfCells() const;
|
uint numberOfCells() const;
|
||||||
uint numberOfValidCells() const;
|
uint numberOfValidCells() const;
|
||||||
@@ -171,7 +168,6 @@ protected:
|
|||||||
const std::vector<double>& weightingResultValues) const;
|
const std::vector<double>& weightingResultValues) const;
|
||||||
|
|
||||||
bool isMeanResult() const;
|
bool isMeanResult() const;
|
||||||
bool isSummationResult() const;
|
|
||||||
bool isStraightSummationResult() const;
|
bool isStraightSummationResult() const;
|
||||||
static bool isStraightSummationResult(ResultAggregationEnum aggregationType);
|
static bool isStraightSummationResult(ResultAggregationEnum aggregationType);
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
RigLocalGrid::RigLocalGrid(RigMainGrid* mainGrid):
|
RigLocalGrid::RigLocalGrid(RigMainGrid* mainGrid):
|
||||||
RigGridBase(mainGrid),
|
RigGridBase(mainGrid),
|
||||||
m_parentGrid(nullptr),
|
m_parentGrid(nullptr),
|
||||||
m_positionInParentGrid(cvf::UNDEFINED_SIZE_T),
|
|
||||||
m_isTempGrid(false),
|
m_isTempGrid(false),
|
||||||
m_associatedWellPathName("")
|
m_associatedWellPathName("")
|
||||||
{
|
{
|
||||||
@@ -51,22 +50,6 @@ void RigLocalGrid::setParentGrid(RigGridBase * parentGrid)
|
|||||||
m_parentGrid = parentGrid;
|
m_parentGrid = parentGrid;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
size_t RigLocalGrid::positionInParentGrid() const
|
|
||||||
{
|
|
||||||
return m_positionInParentGrid;
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
void RigLocalGrid::setPositionInParentGrid(size_t positionInParentGrid)
|
|
||||||
{
|
|
||||||
m_positionInParentGrid = positionInParentGrid;
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -28,9 +28,6 @@ public:
|
|||||||
RigGridBase * parentGrid() const;
|
RigGridBase * parentGrid() const;
|
||||||
void setParentGrid(RigGridBase * parentGrid);
|
void setParentGrid(RigGridBase * parentGrid);
|
||||||
|
|
||||||
size_t positionInParentGrid() const;
|
|
||||||
void setPositionInParentGrid(size_t positionInParentGrid);
|
|
||||||
|
|
||||||
void setAsTempGrid(bool isTemp);
|
void setAsTempGrid(bool isTemp);
|
||||||
bool isTempGrid() const override;
|
bool isTempGrid() const override;
|
||||||
|
|
||||||
@@ -39,7 +36,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
RigGridBase * m_parentGrid;
|
RigGridBase * m_parentGrid;
|
||||||
size_t m_positionInParentGrid;
|
|
||||||
bool m_isTempGrid;
|
bool m_isTempGrid;
|
||||||
std::string m_associatedWellPathName;
|
std::string m_associatedWellPathName;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user