mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
NNC: Remove RigConnectionContainer, use std::vector<RigConnection> directly
RigConnectionContainer was a thin wrapper around std::vector<RigConnection> with no added value beyond push_back/reserve/remove_duplicates. Replace it everywhere with std::vector<RigConnection> and inline the remaining container-merge and deduplication logic at their single call sites.
This commit is contained in:
1 parent
fc829069e8
commit
c8ad00a904
19 files changed
+76
-175
No files matched your search
@@ -736,8 +736,8 @@ void RifReaderEclipseOutput::transferStaticNNCData( const ecl_grid_type* mainEcl
|
||||
if ( numNNC > 0 )
|
||||
{
|
||||
// Transform to our own data structures
|
||||
RigConnectionContainer nncConnections;
|
||||
std::vector<double> transmissibilityValuesTemp;
|
||||
std::vector<RigConnection> nncConnections;
|
||||
std::vector<double> transmissibilityValuesTemp;
|
||||
|
||||
const double* transValues = ecl_nnc_data_get_values( tran_data );
|
||||
|
||||
|
||||
Reference in new issue
Block a user