Improve MSW export including multi lateral wells

Based on branch https://github.com/OPM/ResInsight/tree/system-msw-refactor

- Move completion settings to property of well path
- Rename to RimFishbones
- Export implicit COMPSEGS for fishbones main bore
- Add valve for each branch
- Increase version number to be able to handle import of legacy project files
This commit is contained in:
Magne Sjaastad
2021-02-26 14:27:59 +01:00
parent 5415a8c42d
commit 8bab748fa6
104 changed files with 3250 additions and 3203 deletions

View File

@@ -11,7 +11,7 @@ TEST( RimWellPathCompletions, WellNameRegExp )
std::vector<QString> validNames = { "RASASD", "gf0sdf", "sd-ASD12", "1-AA_b" };
std::vector<QString> invalidNames = { ".AdSD", "+gf0sdf", "sd ASD12", "ABCDEFGHIJKL" };
QRegExp rx = RimWellPathCompletions::wellNameForExportRegExp();
QRegExp rx = RimWellPathCompletionSettings::wellNameForExportRegExp();
EXPECT_TRUE( rx.isValid() );
for ( QString validName : validNames )
@@ -30,7 +30,7 @@ TEST( RimWellPathCompletions, WellNameRegExpValidator )
std::vector<QString> invalidNames = { ".AdSD", "+gf0sdf", "sd ASD12", "ABCDEFGHIJKL" };
QString emptyString = "";
QRegExp rx = RimWellPathCompletions::wellNameForExportRegExp();
QRegExp rx = RimWellPathCompletionSettings::wellNameForExportRegExp();
QRegExpValidator validator( nullptr );
validator.setRegExp( rx );
@@ -47,4 +47,4 @@ TEST( RimWellPathCompletions, WellNameRegExpValidator )
int dummyPos;
EXPECT_EQ( QValidator::Intermediate, validator.validate( emptyString, dummyPos ) );
}
}