I needed a solid cubature library and stumbled upon cubpack++
. However, the version I received hadn't been touched since 1997 and therefore wouldn't compile. This repo is my attempt at getting it to work with C++17 and above with CMake.
- Use of STL tools
- Namespaces to avoid naming conflicts with other libraries
- CMake build system
Add cubpackpp
as a submodule to your project:
mkdir extern && cd extern
git submodule add https://github.com/iwishiwasaneagle/cubpackpp
git submodule update --init
Then include it in your CMakeLists.txt
with add_subdirectory(extern/cubpackpp)
. Finally, link the library using cubpackpp::cubpackpp
.
- Ronald Cools
- Luc Pluym
- Dirk Laurie
Algorithm 764: Cubpack++: a C++ package for automatic two-dimensional cubature
🔗