-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename utils/math_tools.hpp into math_tools/Lnorm_tools.hpp
Adding of the math_tools/ folder and renaming od utils/math_tools.hpp into math_tools/Lnorm_tools.hpp Rk: Developed and tested in Github See merge request gysela-developpers/gyselalibxx!820 -------------------------------------------- Co-authored-by: Emily Bourne <[email protected]>
- Loading branch information
1 parent
a1d31ab
commit 50d7fdb
Showing
29 changed files
with
78 additions
and
34 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
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,21 +1,22 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
add_subdirectory(advection) | ||
add_subdirectory(collisions) | ||
add_subdirectory(data_types) | ||
add_subdirectory(utils) | ||
add_subdirectory(speciesinfo) | ||
add_subdirectory(io) | ||
add_subdirectory(paraconfpp) | ||
add_subdirectory(quadrature) | ||
add_subdirectory(geometryXVx) | ||
add_subdirectory(geometryXY) | ||
add_subdirectory(geometryRTheta) | ||
add_subdirectory(geometryXYVxVy) | ||
add_subdirectory(geometryVparMu) | ||
add_subdirectory(interpolation) | ||
add_subdirectory(mapping) | ||
add_subdirectory(multipatch) | ||
add_subdirectory(advection) | ||
add_subdirectory(timestepper) | ||
add_subdirectory(collisions) | ||
add_subdirectory(math_tools) | ||
add_subdirectory(mpi_parallelisation) | ||
add_subdirectory(multipatch) | ||
add_subdirectory(paraconfpp) | ||
add_subdirectory(pde_solvers) | ||
add_subdirectory(quadrature) | ||
add_subdirectory(speciesinfo) | ||
add_subdirectory(timestepper) | ||
add_subdirectory(utils) |
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
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
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,16 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
add_library("math_tools" INTERFACE) | ||
|
||
target_include_directories("math_tools" | ||
INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}" | ||
) | ||
|
||
target_link_libraries("math_tools" | ||
INTERFACE | ||
DDC::DDC | ||
gslx::data_types | ||
) | ||
|
||
add_library("gslx::math_tools" ALIAS "math_tools") | ||
|
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,9 @@ | ||
# Utility Functions | ||
|
||
This folder contains mathematical classes and functions. | ||
|
||
## Utility tools | ||
|
||
The l\_norm\_tools.hpp file contains functions computing the infinity norm. For now, it computes the infinity norm of | ||
- a double: $`\Vert x \Vert_{\infty} = x`$; | ||
- a coordinate: $`\Vert x \Vert_{\infty} = \max_{i} (|x_i|)`$. |
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
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
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
|
||
include(GoogleTest) | ||
|
||
add_executable(unit_tests_math_tools | ||
test_lnorm_tools.cpp | ||
../main.cpp | ||
) | ||
target_link_libraries(unit_tests_math_tools | ||
PUBLIC | ||
DDC::pdi | ||
GTest::gtest | ||
GTest::gmock | ||
paraconf::paraconf | ||
gslx::math_tools | ||
gslx::utils | ||
) | ||
|
||
gtest_discover_tests(unit_tests_math_tools DISCOVERY_MODE PRE_TEST) |
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
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