///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2017 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 "RicfCommandObject.h" #include "cafAppEnum.h" #include "cafPdmField.h" namespace MultipleFractures { enum class Action { NONE, APPEND_FRACTURES, REPLACE_FRACTURES }; } class RimEclipseCase; class RimFractureTemplate; class RimWellPath; //================================================================================================== // // // //================================================================================================== class RicfCreateMultipleFractures : public RicfCommandObject { CAF_PDM_HEADER_INIT; public: RicfCreateMultipleFractures(); caf::PdmScriptResponse execute() override; private: bool validateArguments() const; RimFractureTemplate* fractureTemplateFromId( int templateId ) const; caf::PdmField m_caseId; caf::PdmField> m_wellPathNames; caf::PdmField m_minDistFromWellTd; caf::PdmField m_maxFracturesPerWell; caf::PdmField m_templateId; caf::PdmField m_topLayer; caf::PdmField m_baseLayer; caf::PdmField m_spacing; caf::PdmField> m_action; };