mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RFT: Support device and annulus branches (#9168)
* Add unit test used to read data from WSEGLINK * Add segment branch type * Add detection of device branches * Add data source stepping on branch type * parse wseglink data * add RFT case as child of RimFileSummaryCase
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RiaRftDefines.h"
|
||||
#include "cafAppEnum.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -63,5 +64,26 @@ QString RiaDefines::allBranches()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RiaDefines::segmentBranchNumberResultName()
|
||||
{
|
||||
return "SegmenBranchNumber";
|
||||
return "SegmentBranchNumber";
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RiaDefines::segmentOneBasedBranchIndexResultName()
|
||||
{
|
||||
return "SegmentOneBasedBranchIndex";
|
||||
}
|
||||
|
||||
namespace caf
|
||||
{
|
||||
template <>
|
||||
void caf::AppEnum<RiaDefines::RftBranchType>::setUp()
|
||||
{
|
||||
addItem( RiaDefines::RftBranchType::RFT_TUBING, "RFT_TUBING", "Tubing" );
|
||||
addItem( RiaDefines::RftBranchType::RFT_DEVICE, "RFT_DEVICE", "Device" );
|
||||
addItem( RiaDefines::RftBranchType::RFT_ANNULUS, "RFT_ANNULUS", "Annulus" );
|
||||
addItem( RiaDefines::RftBranchType::RFT_UNKNOWN, "RFT_UNKNOWN", "Unknown" );
|
||||
setDefault( RiaDefines::RftBranchType::RFT_TUBING );
|
||||
}
|
||||
} // namespace caf
|
||||
|
||||
@@ -29,12 +29,13 @@ QString segmentNumberResultName();
|
||||
|
||||
QString allBranches();
|
||||
QString segmentBranchNumberResultName();
|
||||
QString segmentOneBasedBranchIndexResultName();
|
||||
|
||||
enum class RftBranchType
|
||||
{
|
||||
RFT_TUBING,
|
||||
RFT_ANNULAR,
|
||||
RFT_DEVICE,
|
||||
RFT_ANNULUS,
|
||||
RFT_UNKNOWN
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user