mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-03 12:10:57 -06:00
CppCheck : Remove unused constructor and init all members in constructor
This commit is contained in:
parent
03df2c2540
commit
d8beee3eb1
@ -17,16 +17,11 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "RigFractureCell.h"
|
#include "RigFractureCell.h"
|
||||||
|
|
||||||
#include "RiaLogging.h"
|
#include "RiaLogging.h"
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
RigFractureCell::RigFractureCell()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
@ -36,14 +31,7 @@ RigFractureCell::RigFractureCell(std::vector<cvf::Vec3d> polygon, size_t i, size
|
|||||||
m_polygon = polygon;
|
m_polygon = polygon;
|
||||||
m_i = i;
|
m_i = i;
|
||||||
m_j = j;
|
m_j = j;
|
||||||
}
|
m_concutivityValue = 0.0;
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
RigFractureCell::~RigFractureCell()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -31,12 +31,8 @@ class RigFractureCell
|
|||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
RigFractureCell();
|
|
||||||
RigFractureCell(std::vector<cvf::Vec3d> polygon, size_t i, size_t j);
|
RigFractureCell(std::vector<cvf::Vec3d> polygon, size_t i, size_t j);
|
||||||
|
|
||||||
|
|
||||||
virtual ~RigFractureCell();
|
|
||||||
|
|
||||||
const std::vector<cvf::Vec3d>& getPolygon() const { return m_polygon; }
|
const std::vector<cvf::Vec3d>& getPolygon() const { return m_polygon; }
|
||||||
double getConductivtyValue() const { return m_concutivityValue; }
|
double getConductivtyValue() const { return m_concutivityValue; }
|
||||||
size_t getI() const { return m_i; }
|
size_t getI() const { return m_i; }
|
||||||
@ -47,11 +43,11 @@ public:
|
|||||||
|
|
||||||
double cellSizeX() const;
|
double cellSizeX() const;
|
||||||
double cellSizeZ() const;
|
double cellSizeZ() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::vector<cvf::Vec3d> m_polygon;
|
std::vector<cvf::Vec3d> m_polygon;
|
||||||
double m_concutivityValue;
|
double m_concutivityValue;
|
||||||
size_t m_i;
|
size_t m_i;
|
||||||
size_t m_j;
|
size_t m_j;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user