mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
Rename wellpath_collection.import_fixed_trajectory_well_path() to import_well_path_from_points()
- Updated C++ GRPC interface method names and class names - Renamed Python method in well_path_collection.py - Updated all test functions and file names - Renamed example file to match new method name - All tests pass with the new method name The method signature and functionality remain unchanged - only the name has been updated to be more descriptive.
This commit is contained in:
1 parent
9488a8a3a0
commit
d2bed679e1
5 files changed
+30
-38
No files matched your search
@@ -84,16 +84,16 @@ QString RimcWellPathCollection_importWellPath::classKeywordReturnedType() const
|
||||
}
|
||||
|
||||
CAF_PDM_OBJECT_METHOD_SOURCE_INIT( RimWellPathCollection,
|
||||
RimcWellPathCollection_importFixedTrajectoryWellPathInternal,
|
||||
"ImportFixedTrajectoryWellPathInternal" );
|
||||
RimcWellPathCollection_importWellPathFromPointsInternal,
|
||||
"ImportWellPathFromPointsInternal" );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimcWellPathCollection_importFixedTrajectoryWellPathInternal::RimcWellPathCollection_importFixedTrajectoryWellPathInternal( caf::PdmObjectHandle* self )
|
||||
RimcWellPathCollection_importWellPathFromPointsInternal::RimcWellPathCollection_importWellPathFromPointsInternal( caf::PdmObjectHandle* self )
|
||||
: caf::PdmObjectCreationMethod( self )
|
||||
{
|
||||
CAF_PDM_InitObject( "Import Fixed Trajectory Well Path Internal" );
|
||||
CAF_PDM_InitObject( "Import Well Path From Points Internal" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_name, "Name", "Name" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_coordinateXKey, "CoordinateXKey", "Coordinate X Key" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_coordinateYKey, "CoordinateYKey", "Coordinate Y Key" );
|
||||
@@ -103,7 +103,7 @@ RimcWellPathCollection_importFixedTrajectoryWellPathInternal::RimcWellPathCollec
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::expected<caf::PdmObjectHandle*, QString> RimcWellPathCollection_importFixedTrajectoryWellPathInternal::execute()
|
||||
std::expected<caf::PdmObjectHandle*, QString> RimcWellPathCollection_importWellPathFromPointsInternal::execute()
|
||||
{
|
||||
auto wellPathCollection = self<RimWellPathCollection>();
|
||||
if ( !wellPathCollection )
|
||||
@@ -173,7 +173,7 @@ std::expected<caf::PdmObjectHandle*, QString> RimcWellPathCollection_importFixed
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimcWellPathCollection_importFixedTrajectoryWellPathInternal::classKeywordReturnedType() const
|
||||
QString RimcWellPathCollection_importWellPathFromPointsInternal::classKeywordReturnedType() const
|
||||
{
|
||||
return RimFixedTrajectoryWellPath::classKeywordStatic();
|
||||
}
|
||||
Reference in new issue
Block a user