Skip to content
Snippets Groups Projects
Commit 525084a3 authored by podlesny's avatar podlesny
Browse files

init tnnmg tests, .cc not adapted just copy-pasted

parent 75211655
Branches
No related tags found
No related merge requests found
add_subdirectory("contacttest") add_subdirectory("contacttest")
add_subdirectory("hdf5test") add_subdirectory("hdf5test")
#add_subdirectory("tnnmgtest")
dune_add_test(SOURCES globalfrictioncontainertest.cc) dune_add_test(SOURCES globalfrictioncontainertest.cc)
dune_add_test(SOURCES gridgluefrictiontest.cc) dune_add_test(SOURCES gridgluefrictiontest.cc)
......
add_custom_target(tectonic_tests_tnnmgtest SOURCES
# functionaltest.cfg
)
set(TNNMGTEST_SOURCE_FILES
../../assemblers.cc
../../data-structures/body/body.cc
../../data-structures/network/levelcontactnetwork.cc
../../data-structures/network/contactnetwork.cc
../../data-structures/enumparser.cc
../../factories/twoblocksfactory.cc
../../factories/threeblocksfactory.cc
../../factories/stackedblocksfactory.cc
#../../io/vtk.cc
../../problem-data/grid/cuboidgeometry.cc
../../problem-data/grid/mygrids.cc
../../problem-data/grid/simplexmanager.cc
../../spatial-solving/solverfactory.cc
staticcontacttest.cc
)
foreach(_dim 2 3)
set(_tnnmgtest_target functionaltest-${_dim}D)
dune_add_test(NAME ${_tnnmgtest_target} SOURCES ${TNNMGTEST_SOURCE_FILES})
add_dune_ug_flags(${_tnnmgtest_target})
add_dune_hdf5_flags(${_tnnmgtest_target})
set_property(TARGET ${_tnnmgtest_target} APPEND PROPERTY COMPILE_DEFINITIONS "MY_DIM=${_dim}")
endforeach()
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment