Skip to content

Commit

Permalink
Merge pull request #5774 from nikwit/worldtube-test-library
Browse files Browse the repository at this point in the history
Create worldtube test library
  • Loading branch information
knelli2 authored Feb 17, 2024
2 parents 0acdb09 + 9667fe3 commit 6f3ae8c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ target_link_libraries(
Domain
GeneralRelativity
GeneralRelativitySolutions
LinearOperators
Options
Parallel
Utilities
Expand Down
16 changes: 2 additions & 14 deletions tests/Unit/Evolution/Systems/CurvedScalarWave/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Distributed under the MIT License.
# See LICENSE.txt for details.

add_subdirectory(Worldtube)

set(LIBRARY "Test_CurvedScalarWave")

set(LIBRARY_SOURCES
Expand All @@ -18,15 +20,6 @@ set(LIBRARY_SOURCES
Test_PsiSquared.cpp
Test_Tags.cpp
Test_TimeDerivative.cpp
Worldtube/Test_PunctureField.cpp
Worldtube/Test_Tags.cpp
Worldtube/ElementActions/Test_SendToWorldtube.cpp
Worldtube/ElementActions/Test_ReceiveWorldtubeData.cpp
Worldtube/ElementActions/Test_InitializeConstraintGammas.cpp
Worldtube/SingletonActions/Test_ChangeSlabSize.cpp
Worldtube/SingletonActions/Test_InitializeElementFacesGridCoordinates.cpp
Worldtube/SingletonActions/Test_InitializeEvolvedVariables.cpp
Worldtube/SingletonActions/Test_ObserveWorldtubeSolution.cpp
)

add_test_library(${LIBRARY} "${LIBRARY_SOURCES}")
Expand All @@ -40,13 +33,8 @@ target_link_libraries(
DataStructures
DomainBoundaryConditions
DomainBoundaryConditionsHelpers
DomainCreators
GeneralRelativity
GeneralRelativityHelpers
GeneralRelativitySolutions
MathFunctions
ObserverHelpers
ScalarWaveWorldtube
Time
Utilities
WaveEquationSolutions
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Distributed under the MIT License.
# See LICENSE.txt for details.

set(LIBRARY "Test_ScalarWaveWorldtube")

set(LIBRARY_SOURCES
Test_PunctureField.cpp
Test_Tags.cpp
ElementActions/Test_SendToWorldtube.cpp
ElementActions/Test_ReceiveWorldtubeData.cpp
ElementActions/Test_InitializeConstraintGammas.cpp
SingletonActions/Test_ChangeSlabSize.cpp
SingletonActions/Test_InitializeElementFacesGridCoordinates.cpp
SingletonActions/Test_InitializeEvolvedVariables.cpp
SingletonActions/Test_ObserveWorldtubeSolution.cpp
)

add_test_library(${LIBRARY} "${LIBRARY_SOURCES}")

target_link_libraries(
${LIBRARY}
PRIVATE
CurvedScalarWave
CurvedScalarWaveHelpers
DataStructures
DomainBoundaryConditions
DomainBoundaryConditionsHelpers
DomainCreators
GeneralRelativity
GeneralRelativityHelpers
GeneralRelativitySolutions
ObserverHelpers
ScalarWaveWorldtube
Time
Utilities
)

0 comments on commit 6f3ae8c

Please sign in to comment.