Newer
Older

Lisa Julia Nebel
committed
adolctest-scalar-and-vector-mode
averagedistanceassemblertest
cosseratenergytest
cosseratrodenergytest
harmonicenergytest
localgeodesicfefunctiontest
localgfetestfunctiontest
localprojectedfefunctiontest

Lisa Julia Nebel
committed
polardecompositiontest
rotationtest
svdtest
targetspacetest
)
# TODO: This test currently run-time fails in some of the CI pipelines,
# and I am not able to figure out why. I disable the test to make the
# rest of the CI tests usable again.
# if (${DUNE_COMMON_VERSION} VERSION_GREATER_EQUAL 2.8)
# set(TESTS cosseratrodtest ${TESTS})
# endif()

Lisa Julia Nebel
committed

Lisa Julia Nebel
committed
if (dune-curvedgrid_FOUND)
set(TESTS test-cylinder ${TESTS})
endif()

Lisa Julia Nebel
committed
if (${DUNE_COMMON_VERSION} VERSION_GREATER_EQUAL 2.8)
set(TESTS surfacecosseratstressassemblertest ${TESTS})
endif()
if(dune-foamgrid_FOUND)
set(TESTS nonplanarcosseratenergytest ${TESTS})
endif()
dune_add_test(SOURCES ${_test}.cc)
target_compile_options(${_test} PRIVATE -g)

Lisa Julia Nebel
committed
if (${DUNE_COMMON_VERSION} VERSION_GREATER_EQUAL 2.8)
dune_add_test(SOURCES harmonicmaptest.cc
MPI_RANKS 1 4
TIMEOUT 600
CMAKE_GUARD MPI_FOUND)

Lisa Julia Nebel
committed
endif()

Lisa Julia Nebel
committed
dune_add_test(SOURCES geodesicfeassemblerwrappertest.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)
# Copy an example for the stress plot into the build dir
file(COPY stressPlotData/stressPlotTestDeformation DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/stressPlotData)
file(COPY stressPlotData/stressPlotTestRotation DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/stressPlotData)
file(COPY stressPlotData/stressPlotTestInitialDeformation DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/stressPlotData)