mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Flow: Integrated from the FlowDiag branch Step 1.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user