Skip to content

Commit

Permalink
add the multigroup radiative shock test
Browse files Browse the repository at this point in the history
  • Loading branch information
chongchonghe committed Dec 10, 2023
1 parent 1bbc41f commit cd4658c
Show file tree
Hide file tree
Showing 5 changed files with 467 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ add_subdirectory(RadTube)
add_subdirectory(RadhydroShell)
add_subdirectory(RadhydroShock)
add_subdirectory(RadhydroShockCGS)
add_subdirectory(RadhydroShockMultigroup)

add_subdirectory(ODEIntegration)
add_subdirectory(Cooling)
Expand Down
7 changes: 7 additions & 0 deletions src/RadhydroShockMultigroup/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
add_executable(test_radhydro_shock_multigroup test_radhydro_shock_multigroup.cpp ../fextract.cpp ../interpolate.cpp ${QuokkaObjSources})

if(AMReX_GPU_BACKEND MATCHES "CUDA")
setup_target_for_cuda_compilation(test_radhydro_shock_multigroup)
endif(AMReX_GPU_BACKEND MATCHES "CUDA")

add_test(NAME RadhydroShockCGS COMMAND test_radhydro_shock_multigroup radshockMG.in WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests)
Loading

0 comments on commit cd4658c

Please sign in to comment.