Commit 22b1cc1b authored by Santiago Ospina's avatar Santiago Ospina

moved transport cc to test meanwhile we define a proper interface

parent 18726c03
......@@ -9,10 +9,4 @@ dune_target_link_libraries(dorie dorie-impl ${DUNE_LIBS})
# enable setting operator scheme from config file
if(EXPERIMENTAL_DG_FEATURES)
target_compile_definitions("dorie" PUBLIC -DEXPERIMENTAL_DG_FEATURES)
endif()
dune_add_test(SOURCES transport.cc NAME test_transport)
add_custom_target(build_test_transport
DEPENDS test_transport
)
endif()
\ No newline at end of file
......@@ -79,6 +79,18 @@ add_custom_target(test_param
COMMAND ctest --output-on-failure --tests-regex ^.+test-parameterization_.+$
)
# TEMPORAL trasport test
dorie_add_metaini_test(UNIT_TEST
SOURCE test-transport.cc
BASENAME test-transport
CREATED_TARGETS test-transport
METAINI test-transport.mini.in
SCRIPT
)
add_custom_target(test-transport
COMMAND ctest --output-on-failure --tests-regex ^.+test-parameterization_.+$
)
# dune excludes test targets from 'make all'; undo that here where applicable
set_property(TARGET dorie PROPERTY EXCLUDE_FROM_ALL 0)
set_property(TARGET dorie-rfg PROPERTY EXCLUDE_FROM_ALL 0)
\ No newline at end of file
......@@ -9,9 +9,9 @@
#include <dune/common/parametertreeparser.hh>
#include <dune/common/parallel/mpihelper.hh>
#include "interface/coupled_simulation.hh"
#include "interface/coupled_simulation.cc" // FIXME
#include "solver/util_grid_creator.hh"
#include <dune/dorie/interface/coupled_simulation.hh>
#include <dune/dorie/interface/coupled_simulation.cc> // FIXME
#include <dune/dorie/solver/util_grid_creator.hh>
template<typename Traits>
using Sim = Dune::Dorie::CoupledSimulation<Traits>;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment