///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) Statoil 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 // for more details. // ///////////////////////////////////////////////////////////////////////////////// #pragma once #include "RigCompletionData.h" #include "cvfObject.h" #include #include class RigCompletionData; class RigCompletionDataGridCell; class RigSimWellData; class RimWellPath; //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- class CompletionDataFrame { public: CompletionDataFrame(); void setCompletionData( const std::vector& completions ); const std::map>& multipleCompletionsPerEclipseCell() const; private: std::map> m_multipleCompletionsPerEclipseCell; }; //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- class RigVirtualPerforationTransmissibilities : public cvf::Object { public: RigVirtualPerforationTransmissibilities(); ~RigVirtualPerforationTransmissibilities() override; void setCompletionDataForWellPath( const RimWellPath* wellPath, const std::vector>& completionsPerTimeStep ); const std::map>& multipleCompletionsPerEclipseCell( const RimWellPath* wellPath, size_t timeStepIndex ) const; void setCompletionDataForSimWell( const RigSimWellData* simWellData, const std::vector>& completionsPerTimeStep ); const std::vector& completionsForSimWell( const RigSimWellData* simWellData, size_t timeStepIndex ) const; void computeMinMax( double* minValue, double* maxValue, double* posClosestToZero, double* negClosestToZero ) const; private: std::map> m_mapFromWellToCompletionData; std::map>> m_mapFromSimWellToCompletionData; };