mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
Look for fault definition in Pflotran input files
Look for fault definition in Pflotran input files If no *.DATA file is found, look for *.IN file and search for fault definitions.
This commit is contained in:
1 parent
681b4fbffe
commit
24fcec79ab
7 files changed
+480
-3
No files matched your search
@@ -251,6 +251,24 @@ TEST( RifEclipseInputFileToolsTest, FaultData )
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
TEST( RifEclipseInputFileToolsTest, FaultDataPflotran )
|
||||
{
|
||||
static const QString testDataRootFolder = QString( "%1/RifEclipseInputFileTools/pflotran" ).arg( TEST_DATA_DIR );
|
||||
|
||||
{
|
||||
QString fileName = testDataRootFolder + "/model/P_FLT_TEST_NO-KH.in";
|
||||
|
||||
cvf::Collection<RigFault> faults;
|
||||
|
||||
RifEclipseInputFileTools::parsePflotranInputFile( fileName, &faults );
|
||||
|
||||
EXPECT_EQ( (size_t)4, faults.size() );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user