Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds non-periodic ("outflow") case for 2D Burgers' #169

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add weno tests for burgers outflow
cwentland0 committed Jan 23, 2025
commit ea0c2b14d91672cbe7068fb1b7d10c5b6b7e1959
4 changes: 2 additions & 2 deletions tests_cpp/eigen_2d_burgers_outflow_implicit/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

add_subdirectory(firstorder)
#add_subdirectory(weno3)
#add_subdirectory(weno5)
add_subdirectory(weno3)
add_subdirectory(weno5)
19 changes: 19 additions & 0 deletions tests_cpp/eigen_2d_burgers_outflow_implicit/weno3/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

set(testname eigen_2d_burgers_outflow_weno3_implicit)
set(exename ${testname}_exe)

configure_file(../compare.py compare.py COPYONLY)
configure_file(gold.txt gold.txt COPYONLY)
configure_file(../plot.py plot.py COPYONLY)

add_executable(${exename} ${CMAKE_CURRENT_SOURCE_DIR}/../main.cc)
target_compile_definitions(${exename} PUBLIC -DUSE_WENO3)

add_test(NAME ${testname}
COMMAND ${CMAKE_COMMAND}
-DMESHDRIVER=${MESHSRC}/create_full_mesh.py
-DOUTDIR=${CMAKE_CURRENT_BINARY_DIR}
-DEXENAME=$<TARGET_FILE:${exename}>
-DSTENCILVAL=5
-P ${CMAKE_CURRENT_SOURCE_DIR}/../test.cmake
)
800 changes: 800 additions & 0 deletions tests_cpp/eigen_2d_burgers_outflow_implicit/weno3/gold.txt

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions tests_cpp/eigen_2d_burgers_outflow_implicit/weno5/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

set(testname eigen_2d_burgers_outflow_weno5_implicit)
set(exename ${testname}_exe)

configure_file(../compare.py compare.py COPYONLY)
configure_file(gold.txt gold.txt COPYONLY)
configure_file(../plot.py plot.py COPYONLY)

add_executable(${exename} ${CMAKE_CURRENT_SOURCE_DIR}/../main.cc)
target_compile_definitions(${exename} PUBLIC -DUSE_WENO5)

add_test(NAME ${testname}
COMMAND ${CMAKE_COMMAND}
-DMESHDRIVER=${MESHSRC}/create_full_mesh.py
-DOUTDIR=${CMAKE_CURRENT_BINARY_DIR}
-DEXENAME=$<TARGET_FILE:${exename}>
-DSTENCILVAL=7
-P ${CMAKE_CURRENT_SOURCE_DIR}/../test.cmake
)
800 changes: 800 additions & 0 deletions tests_cpp/eigen_2d_burgers_outflow_implicit/weno5/gold.txt

Large diffs are not rendered by default.