File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ option(SEMBA_DGTD_ENABLE_MFEM_AS_SUBDIRECTORY "Use MFEM as a subdirectory" ON )
1717option (SEMBA_DGTD_ENABLE_EXTENSIVE_CASE_TESTS "Enable extensive case tests" ON )
1818option (SEMBA_DGTD_ENABLE_EXTENSIVE_SOLVER_TESTS "Enable extensive solver tests" ON )
1919option (SEMBA_DGTD_ENABLE_EXTENSIVE_RCS_TESTS "Enable extensive RCS tests" ON )
20+ option (SEMBA_DGTD_ENABLE_L2_ANALYSIS_TESTS "Enable L2 Analysis Tests" OFF )
2021
2122option (SEMBA_DGTD_ENABLE_TIMER_INFORMATION "Enable timer information" ON )
2223
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ include_directories(./)
77add_executable (cases_tests
88 $<TARGET_OBJECTS :TestLauncher >
99 "CasesTest.cpp"
10- "AnalyticalStudyTests.cpp"
11- "L2ErrorAnalysis.cpp"
1210 ../FieldUtils.cpp )
1311
1412if (SEMBA_DGTD_ENABLE_EXTENSIVE_CASE_TESTS)
@@ -17,5 +15,12 @@ if(SEMBA_DGTD_ENABLE_EXTENSIVE_CASE_TESTS)
1715 "ExtensiveCasesTest.cpp" )
1816endif ()
1917
18+ if (SEMBA_DGTD_ENABLE_L2_ANALYSIS_TESTS)
19+ message (STATUS "Appending AnalyticalStudyTests and L2ErrorAnalysis to cases_tests" )
20+ target_sources (cases_tests PRIVATE
21+ "AnalyticalStudyTests.cpp"
22+ "L2ErrorAnalysis.cpp" )
23+ endif ()
24+
2025target_include_directories (cases_tests PRIVATE ${GSL_INCLUDE_DIRS} )
2126target_link_libraries (cases_tests maxwell-driver GTest::gtest mfem ${GSL_LIBRARIES} )
You can’t perform that action at this time.
0 commit comments