mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#4683 clang-format on all files in ApplicationCode
This commit is contained in:
@@ -2,26 +2,25 @@
|
||||
//
|
||||
// Copyright (C) 2015- Statoil ASA
|
||||
// Copyright (C) 2015- Ceetron Solutions AS
|
||||
//
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "cvfObject.h"
|
||||
#include "cvfMath.h"
|
||||
#include "cvfObject.h"
|
||||
#include "cvfVector3.h"
|
||||
|
||||
#include <vector>
|
||||
@@ -29,36 +28,45 @@
|
||||
class RigMainGrid;
|
||||
class RigFemPart;
|
||||
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
///
|
||||
//==================================================================================================
|
||||
class RigCaseToCaseCellMapper : public cvf::Object
|
||||
{
|
||||
public:
|
||||
RigCaseToCaseCellMapper(RigMainGrid* masterEclGrid, RigFemPart* dependentFemPart);
|
||||
RigCaseToCaseCellMapper(RigMainGrid* masterEclGrid, RigMainGrid* dependentEclGrid);
|
||||
RigCaseToCaseCellMapper(RigFemPart* masterFemPart, RigMainGrid* dependentEclGrid);
|
||||
RigCaseToCaseCellMapper(RigFemPart* masterFemPart, RigFemPart* dependentFemPart);
|
||||
RigCaseToCaseCellMapper( RigMainGrid* masterEclGrid, RigFemPart* dependentFemPart );
|
||||
RigCaseToCaseCellMapper( RigMainGrid* masterEclGrid, RigMainGrid* dependentEclGrid );
|
||||
RigCaseToCaseCellMapper( RigFemPart* masterFemPart, RigMainGrid* dependentEclGrid );
|
||||
RigCaseToCaseCellMapper( RigFemPart* masterFemPart, RigFemPart* dependentFemPart );
|
||||
|
||||
const int * masterCaseCellIndices(int dependentCaseReservoirCellIndex, int* masterCaseCellIndexCount) const;
|
||||
const int* masterCaseCellIndices( int dependentCaseReservoirCellIndex, int* masterCaseCellIndexCount ) const;
|
||||
|
||||
const RigMainGrid* masterGrid() const { return m_masterGrid;}
|
||||
const RigMainGrid* dependentGrid() const { return m_dependentGrid;}
|
||||
const RigFemPart* masterFemPart() const { return m_masterFemPart;}
|
||||
const RigFemPart* dependentFemPart() const { return m_dependentFemPart;}
|
||||
const RigMainGrid* masterGrid() const
|
||||
{
|
||||
return m_masterGrid;
|
||||
}
|
||||
const RigMainGrid* dependentGrid() const
|
||||
{
|
||||
return m_dependentGrid;
|
||||
}
|
||||
const RigFemPart* masterFemPart() const
|
||||
{
|
||||
return m_masterFemPart;
|
||||
}
|
||||
const RigFemPart* dependentFemPart() const
|
||||
{
|
||||
return m_dependentFemPart;
|
||||
}
|
||||
|
||||
private:
|
||||
void addMapping( int depCaseCellIdx, int masterCaseMatchingCell );
|
||||
void calculateEclToGeomCellMapping( RigMainGrid* masterEclGrid, RigFemPart* dependentFemPart, bool eclipseIsMaster );
|
||||
|
||||
void addMapping(int depCaseCellIdx, int masterCaseMatchingCell);
|
||||
void calculateEclToGeomCellMapping(RigMainGrid* masterEclGrid, RigFemPart* dependentFemPart, bool eclipseIsMaster);
|
||||
|
||||
std::vector<int> m_masterCellOrIntervalIndex;
|
||||
std::vector<std::vector<int> > m_masterCellIndexSeries;
|
||||
std::vector<int> m_masterCellOrIntervalIndex;
|
||||
std::vector<std::vector<int>> m_masterCellIndexSeries;
|
||||
|
||||
RigMainGrid* m_masterGrid;
|
||||
RigMainGrid* m_dependentGrid;
|
||||
RigFemPart* m_masterFemPart;
|
||||
RigFemPart* m_dependentFemPart;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user