///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2021- 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 "RimFishbonesDefines.h" #include "cafPdmField.h" #include "cafPdmObjectHandle.h" #include "cafPdmObjectMethod.h" #include "cafPdmPtrField.h" #include class RimStimPlanFractureTemplate; class RimThermalFractureTemplate; class RimEclipseCase; class RimWellPath; class RimValveTemplate; //================================================================================================== /// //================================================================================================== class RimcWellPath_addFracture : public caf::PdmObjectCreationMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_addFracture( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; private: caf::PdmField m_md; caf::PdmPtrField m_stimPlanFractureTemplate; caf::PdmField m_alignDip; caf::PdmPtrField m_eclipseCase; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_addThermalFracture : public caf::PdmObjectCreationMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_addThermalFracture( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; private: caf::PdmPtrField m_fractureTemplate; caf::PdmField m_md; caf::PdmField m_placeUsingTemplateData; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_appendPerforationInterval : public caf::PdmObjectCreationMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_appendPerforationInterval( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; private: caf::PdmField m_startMD; caf::PdmField m_endMD; caf::PdmField m_diameter; caf::PdmField m_skinFactor; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_multiSegmentWellSettings : public caf::PdmObjectMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_multiSegmentWellSettings( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_appendFishbones : public caf::PdmObjectMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_appendFishbones( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; private: caf::PdmField> m_subLocations; caf::PdmField> m_drillingType; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_extractWellPathPropertiesInternal : public caf::PdmVoidObjectMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_extractWellPathPropertiesInternal( caf::PdmObjectHandle* self ); std::expected execute() override; private: caf::PdmField m_resamplingInterval; caf::PdmField m_coordinateX; caf::PdmField m_coordinateY; caf::PdmField m_coordinateZ; caf::PdmField m_measuredDepth; caf::PdmField m_inclination; caf::PdmField m_azimuth; caf::PdmField m_dogleg; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_addWellLogInternal : public caf::PdmObjectCreationMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_addWellLogInternal( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; private: caf::PdmField m_name; caf::PdmField m_measuredDepthKey; caf::PdmField m_channelKeysCsv; caf::PdmField m_tvdMslKey; caf::PdmField m_tvdRkbKey; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_appendLateralFromGeometry : public caf::PdmVoidObjectMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_appendLateralFromGeometry( caf::PdmObjectHandle* self ); std::expected execute() override; private: caf::PdmPtrField m_lateral; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_parentBranch : public caf::PdmObjectMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_parentBranch( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_enableOutletValve : public caf::PdmObjectMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_enableOutletValve( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; private: caf::PdmField m_enabled; caf::PdmPtrField m_template; caf::PdmField m_useCustomMd; caf::PdmField m_customMd; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_tieIn : public caf::PdmObjectMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_tieIn( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; }; //================================================================================================== /// //================================================================================================== class RimcWellPath_addIcvValve : public caf::PdmObjectCreationMethod { CAF_PDM_HEADER_INIT; public: RimcWellPath_addIcvValve( caf::PdmObjectHandle* self ); std::expected execute() override; QString classKeywordReturnedType() const override; private: caf::PdmField m_measuredDepth; };