Skip to content
Snippets Groups Projects
Commit 91fca49c authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Also run harmonicmaptest of 4 processes

parent 36dd86c3
No related branches found
No related tags found
1 merge request!25Harmonicmap integration test
......@@ -4,7 +4,6 @@ set(TESTS
cosseratenergytest
frameinvariancetest
harmonicenergytest
harmonicmaptest
localgeodesicfefunctiontest
localgfetestfunctiontest
localprojectedfefunctiontest
......@@ -21,4 +20,11 @@ foreach(_test ${TESTS})
target_compile_options(${_test} PRIVATE -g)
endforeach()
# Run distributed tests
dune_add_test(SOURCES harmonicmaptest.cc
MPI_RANKS 1 4
TIMEOUT 600
CMAKE_GUARD MPI_FOUND)
# Copy the example grid used for testing into the build dir
file(COPY grids/irregular-square.msh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/grids)
......@@ -70,6 +70,8 @@ int main (int argc, char *argv[])
grid->globalRefine(numLevels-1);
grid->loadBalance();
using GridView = GridType::LeafGridView;
GridView gridView = grid->leafGridView();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment