mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4683 clang-format on all files in ApplicationCode
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2018- Equinor ASA
|
||||
//
|
||||
//
|
||||
// ResInsight is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
//
|
||||
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
// FITNESS FOR A PARTICULAR PURPOSE.
|
||||
//
|
||||
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
||||
//
|
||||
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
||||
// for more details.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -39,19 +39,19 @@ class RimEclipseCase;
|
||||
class RimEclipseResultDefinition;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
///
|
||||
///
|
||||
///
|
||||
//==================================================================================================
|
||||
class RimEclipseContourMapProjection : public RimContourMapProjection
|
||||
{
|
||||
CAF_PDM_HEADER_INIT;
|
||||
public:
|
||||
|
||||
public:
|
||||
RimEclipseContourMapProjection();
|
||||
~RimEclipseContourMapProjection() override;
|
||||
|
||||
QString weightingParameter() const;
|
||||
void updatedWeightingResult();
|
||||
QString weightingParameter() const;
|
||||
void updatedWeightingResult();
|
||||
|
||||
// Eclipse case overrides for contour map methods
|
||||
QString resultDescriptionText() const override;
|
||||
@@ -61,36 +61,39 @@ public:
|
||||
protected:
|
||||
typedef RimContourMapProjection::CellIndexAndResult CellIndexAndResult;
|
||||
|
||||
void updateGridInformation() override;
|
||||
std::vector<double> retrieveParameterWeights() override;
|
||||
std::vector<double> generateResults(int timeStep) override;
|
||||
bool resultVariableChanged() const override;
|
||||
void clearResultVariable() override;
|
||||
RimGridView* baseView() const override;
|
||||
std::vector<size_t> findIntersectingCells(const cvf::BoundingBox& bbox) const override;
|
||||
size_t kLayer(size_t globalCellIdx) const override;
|
||||
double calculateOverlapVolume(size_t globalCellIdx, const cvf::BoundingBox& bbox) const override;
|
||||
double calculateRayLengthInCell(size_t globalCellIdx, const cvf::Vec3d& highestPoint, const cvf::Vec3d& lowestPoint) const override;
|
||||
double getParameterWeightForCell(size_t cellResultIdx, const std::vector<double>& parameterWeights) const override;
|
||||
size_t gridResultIndex(size_t globalCellIdx) const override;
|
||||
void updateGridInformation() override;
|
||||
std::vector<double> retrieveParameterWeights() override;
|
||||
std::vector<double> generateResults( int timeStep ) override;
|
||||
bool resultVariableChanged() const override;
|
||||
void clearResultVariable() override;
|
||||
RimGridView* baseView() const override;
|
||||
std::vector<size_t> findIntersectingCells( const cvf::BoundingBox& bbox ) const override;
|
||||
size_t kLayer( size_t globalCellIdx ) const override;
|
||||
double calculateOverlapVolume( size_t globalCellIdx, const cvf::BoundingBox& bbox ) const override;
|
||||
double calculateRayLengthInCell( size_t globalCellIdx,
|
||||
const cvf::Vec3d& highestPoint,
|
||||
const cvf::Vec3d& lowestPoint ) const override;
|
||||
double getParameterWeightForCell( size_t cellResultIdx, const std::vector<double>& parameterWeights ) const override;
|
||||
size_t gridResultIndex( size_t globalCellIdx ) const override;
|
||||
|
||||
// Eclipse implementation specific data generation methods
|
||||
std::vector<double> calculateColumnResult(ResultAggregation resultAggregation) const;
|
||||
|
||||
RimEclipseCase* eclipseCase() const;
|
||||
RimEclipseContourMapView* view() const;
|
||||
std::vector<double> calculateColumnResult( ResultAggregation resultAggregation ) const;
|
||||
|
||||
RimEclipseCase* eclipseCase() const;
|
||||
RimEclipseContourMapView* view() const;
|
||||
|
||||
protected:
|
||||
// Framework overrides
|
||||
void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
void defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrdering) override;
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue ) override;
|
||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
void initAfterRead() override;
|
||||
|
||||
protected:
|
||||
caf::PdmField<bool> m_weightByParameter;
|
||||
caf::PdmChildField<RimEclipseResultDefinition*> m_weightingResult;
|
||||
caf::PdmField<bool> m_weightByParameter;
|
||||
caf::PdmChildField<RimEclipseResultDefinition*> m_weightingResult;
|
||||
|
||||
cvf::ref<RigMainGrid> m_mainGrid;
|
||||
QString m_currentResultName;
|
||||
cvf::ref<RigMainGrid> m_mainGrid;
|
||||
QString m_currentResultName;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user