Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dorie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
31
Issues
31
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
dorie
dorie
Commits
22b1cc1b
Commit
22b1cc1b
authored
Sep 05, 2018
by
Santiago Ospina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved transport cc to test meanwhile we define a proper interface
parent
18726c03
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
10 deletions
+16
-10
dune/dorie/CMakeLists.txt
dune/dorie/CMakeLists.txt
+1
-7
test/CMakeLists.txt
test/CMakeLists.txt
+12
-0
test/test-transport.cc
test/test-transport.cc
+3
-3
test/test-transport.mini.in
test/test-transport.mini.in
+0
-0
No files found.
dune/dorie/CMakeLists.txt
View file @
22b1cc1b
...
...
@@ -10,9 +10,3 @@ dune_target_link_libraries(dorie dorie-impl ${DUNE_LIBS})
if
(
EXPERIMENTAL_DG_FEATURES
)
target_compile_definitions
(
"dorie"
PUBLIC -DEXPERIMENTAL_DG_FEATURES
)
endif
()
\ No newline at end of file
dune_add_test
(
SOURCES transport.cc NAME test_transport
)
add_custom_target
(
build_test_transport
DEPENDS test_transport
)
test/CMakeLists.txt
View file @
22b1cc1b
...
...
@@ -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
dune/dorie/
transport.cc
→
test/test-
transport.cc
View file @
22b1cc1b
...
...
@@ -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
>
;
...
...
test/test-transport.mini.in
0 → 100644
View file @
22b1cc1b
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment