///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2025 Equinor 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 "cvfVector3.h" #include #include #include class RigCompletionData; class RigMainGrid; class RigMswTableData; class RimEclipseCase; class RimWellPath; namespace Opm { class DeckKeyword; class DeckRecord; } // namespace Opm //================================================================================================== /// /// //================================================================================================== namespace RigEclipseResultTools { struct BorderCellFace; } namespace RimKeywordFactory { Opm::DeckKeyword welspecsKeyword( const std::string wellGrpName, RimEclipseCase* eCase, RimWellPath* wellPath ); Opm::DeckKeyword compdatKeyword( const std::vector& compdata, const std::string wellName ); Opm::DeckKeyword wpimultKeyword( const std::vector& compdata, const std::string wellName ); Opm::DeckKeyword complumpKeyword( const std::vector& compdata, const std::string wellName ); Opm::DeckKeyword welsegsKeyword( const RigMswTableData& mswData, int& maxSegments, int& maxBranches ); Opm::DeckKeyword compsegsKeyword( const RigMswTableData& mswData ); Opm::DeckKeyword wsegvalvKeyword( const RigMswTableData& mswData ); Opm::DeckKeyword wsegaicdKeyword( const RigMswTableData& mswData ); Opm::DeckKeyword faultsKeyword( const RigMainGrid* mainGrid, const cvf::Vec3st& min = cvf::Vec3st::ZERO, const cvf::Vec3st& max = cvf::Vec3st::UNDEFINED, const cvf::Vec3st& refinement = cvf::Vec3st( 1, 1, 1 ) ); Opm::DeckKeyword bcconKeyword( const std::vector& borderCellFaces ); Opm::DeckKeyword bcpropKeyword( const std::vector& boundaryConditions, const std::vector& boundaryConditionProperties ); Opm::DeckKeyword operaterKeyword( std::string targetProperty, int regionId, std::string equation, std::string inputProperty, std::optional alpha = std::nullopt, std::optional beta = std::nullopt ); } // namespace RimKeywordFactory