Flow: Integrated from the FlowDiag branch Step 1.

This commit is contained in:
Jacob Støren
2016-12-08 14:55:01 +01:00
parent 9e6575633f
commit bc493298e2
17 changed files with 3876 additions and 1 deletions

View File

@@ -33,6 +33,8 @@ include_directories(
${ResInsight_SOURCE_DIR}/ThirdParty/custom-opm-common/opm-common/
${custom-opm-parser_SOURCE_DIR}/opm-parser/
${custom-opm-flowdiagnostics_SOURCE_DIR}/opm-flowdiagnostics/
${custom-opm-flowdiagnostics-applications_SOURCE_DIR}/opm-flowdiagnostics-applications/
${custom-opm-flowdiagnostics-applications_SOURCE_DIR}/opmCore
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/Adm
@@ -284,6 +286,7 @@ endif()
set( LINK_LIBRARIES
custom-opm-parser
custom-opm-flowdiagnostics
custom-opm-flowdiagnostics-applications
WellPathImportSsihub

View File

@@ -2,9 +2,17 @@
#include <opm/flowdiagnostics/CellSet.hpp>
#include <opm/utility/graph/AssembledConnections.hpp>
#include <opm/utility/ECLGraph.hpp>
TEST(opm_flowdiagnostics_test, basic_construction)
{
auto g = Opm::AssembledConnections{};
auto s = Opm::FlowDiagnostics::CellSet{};
try {
auto eg = Opm::ECLGraph::load("hei", "hopp");
}
catch(const std::exception& e)
{
std::cerr << "Caught exception: " << e.what() << '\n';
}
}