mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1292 Fixed CppCheck Issues in GeoMech
This commit is contained in:
@@ -216,10 +216,6 @@ void RivFemElmVisibilityCalculator::computePropertyVisibility(cvf::UByteArray* c
|
||||
{
|
||||
if((*cellVisibility)[cellIndex])
|
||||
{
|
||||
RigElementType eType = grid->elementType(cellIndex);
|
||||
int elmNodeCount = RigFemTypes::elmentNodeCount(eType);
|
||||
|
||||
const int* elmNodeIndices = grid->connectivities(cellIndex);
|
||||
for(int fpIdx = 0; fpIdx < 24; ++fpIdx)
|
||||
{
|
||||
double scalarValue = resVals[cellIndex*24 + fpIdx];
|
||||
|
||||
@@ -43,7 +43,7 @@ private:
|
||||
class RivFemPartGeometryGenerator : public cvf::Object
|
||||
{
|
||||
public:
|
||||
RivFemPartGeometryGenerator(const RigFemPart* part);
|
||||
explicit RivFemPartGeometryGenerator(const RigFemPart* part);
|
||||
~RivFemPartGeometryGenerator();
|
||||
|
||||
// Setup methods
|
||||
|
||||
@@ -47,7 +47,7 @@ class RigFemPart;
|
||||
class RivFemPartPartMgr: public cvf::Object
|
||||
{
|
||||
public:
|
||||
RivFemPartPartMgr(const RigFemPart* femPart);
|
||||
explicit RivFemPartPartMgr(const RigFemPart* femPart);
|
||||
~RivFemPartPartMgr();
|
||||
void setTransform(cvf::Transform* scaleTransform);
|
||||
void setCellVisibility(cvf::UByteArray* cellVisibilities );
|
||||
|
||||
@@ -40,7 +40,7 @@ class RivGeoMechVizLogic : public cvf::Object
|
||||
{
|
||||
public:
|
||||
|
||||
RivGeoMechVizLogic(RimGeoMechView * geomView);
|
||||
explicit RivGeoMechVizLogic(RimGeoMechView * geomView);
|
||||
virtual ~RivGeoMechVizLogic();
|
||||
|
||||
void appendNoAnimPartsToModel(cvf::ModelBasicList* model);
|
||||
|
||||
Reference in New Issue
Block a user