mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Support for loading only active cell geometry (#11624)
* Only load active cells for main grid, skip LGRs for now * Handle wells with inactive cells * Validate mapaxes transform before using it. * Add log message * Additional guarding when trying to find the geometrical location of a simulation cell * Add extra safeguarding for init/restart file access in opm common. Only support unified restart files.
This commit is contained in:
@@ -85,7 +85,7 @@ public:
|
||||
|
||||
virtual cvf::Vec3d minCoordinate() const = 0;
|
||||
virtual cvf::Vec3d maxCoordinate() const = 0;
|
||||
void characteristicCellSizes( double* iSize, double* jSize, double* kSize ) const;
|
||||
virtual void characteristicCellSizes( double* iSize, double* jSize, double* kSize ) const;
|
||||
|
||||
bool hasValidCharacteristicCellSizes() const;
|
||||
void computeCharacteristicCellSize( const std::vector<size_t>& globalCellIndices ) const;
|
||||
@@ -123,7 +123,7 @@ public:
|
||||
cvf::StructGridInterface::FaceType face2 );
|
||||
static std::vector<FaceType> validFaceTypes();
|
||||
|
||||
private:
|
||||
protected:
|
||||
mutable double m_characteristicCellSizeI;
|
||||
mutable double m_characteristicCellSizeJ;
|
||||
mutable double m_characteristicCellSizeK;
|
||||
|
||||
Reference in New Issue
Block a user