-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #207 See merge request gysela-developpers/gyselalibxx!539 --------------------------------------------
- Loading branch information
Emily Bourne
committed
Jun 27, 2024
1 parent
6d20e94
commit 342c4bc
Showing
8 changed files
with
183 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,3 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
cmake_minimum_required(VERSION 3.15) | ||
|
||
add_executable(unit_tests_xy_vxvy | ||
../main.cpp | ||
quadrature.cpp | ||
) | ||
target_compile_features(unit_tests_xy_vxvy PUBLIC cxx_std_17) | ||
target_link_libraries(unit_tests_xy_vxvy | ||
PUBLIC | ||
DDC::PDI_Wrapper | ||
GTest::gtest | ||
GTest::gmock | ||
paraconf::paraconf | ||
gslx::geometry_xyvxvy | ||
sll::SLL | ||
gslx::quadrature | ||
) | ||
|
||
gtest_discover_tests(unit_tests_xy_vxvy | ||
TEST_SUFFIX "_xy_vxvy" | ||
DISCOVERY_MODE PRE_TEST) | ||
|
||
|
||
add_subdirectory(landau) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
add_executable(unit_tests_quadrature | ||
quadrature_1d.cpp | ||
quadrature_2d.cpp | ||
neumann_quadrature_spline.cpp | ||
../main.cpp | ||
) | ||
target_link_libraries(unit_tests_quadrature | ||
PUBLIC | ||
DDC::DDC | ||
GTest::gtest | ||
GTest::gmock | ||
|
||
sll::SLL | ||
|
||
gslx::quadrature | ||
gslx::utils | ||
) | ||
target_compile_definitions(unit_tests_quadrature PUBLIC) | ||
|
||
foreach(GEOMETRY_VARIANT IN LISTS GEOMETRY_XVx_VARIANTS_LIST) | ||
add_executable(spline_quadrature_tests_${GEOMETRY_VARIANT} | ||
../main.cpp | ||
quadrature_spline.cpp | ||
) | ||
target_compile_features(spline_quadrature_tests_${GEOMETRY_VARIANT} PUBLIC cxx_std_17) | ||
target_link_libraries(spline_quadrature_tests_${GEOMETRY_VARIANT} | ||
PUBLIC | ||
DDC::DDC | ||
GTest::gtest | ||
GTest::gmock | ||
paraconf::paraconf | ||
sll::SLL | ||
gslx::quadrature | ||
gslx::utils | ||
) | ||
|
||
gtest_discover_tests(spline_quadrature_tests_${GEOMETRY_VARIANT} | ||
TEST_SUFFIX "_${GEOMETRY_VARIANT}" | ||
DISCOVERY_MODE PRE_TEST) | ||
endforeach() | ||
target_compile_definitions(spline_quadrature_tests_xperiod_vx INTERFACE PERIODIC_RDIMX) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.