sundials/5.4.0

SUNDIALS is a family of software packages implemented with the goal of providing robust time integrators and nonlinear solvers that can easily be incorporatedinto existing simulation codes.
Recipe info
2023-04-24

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
sundials/5.4.0

Using sundials

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
sundials/5.4.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("sundials/5.4.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): sundials
  • CMake target name(s): sundials::sundials
  • pkg-config file name(s): sundials.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(sundials REQUIRED)
# ...
target_link_libraries(YOUR_TARGET sundials::sundials)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the sundials homepage listed above:

#include "arkode/arkode.h"
#include "arkode/arkode_arkstep.h"
#include "arkode/arkode_bandpre.h"
#include "arkode/arkode_bbdpre.h"
#include "arkode/arkode_butcher.h"
#include "arkode/arkode_butcher_dirk.h"
#include "arkode/arkode_butcher_erk.h"
#include "arkode/arkode_erkstep.h"
#include "arkode/arkode_ls.h"
#include "arkode/arkode_mristep.h"
#include "cvode/cvode.h"
#include "cvode/cvode_bandpre.h"
#include "cvode/cvode_bbdpre.h"
#include "cvode/cvode_diag.h"
#include "cvode/cvode_direct.h"
#include "cvode/cvode_ls.h"
#include "cvode/cvode_proj.h"
#include "cvode/cvode_spils.h"
#include "cvodes/cvodes.h"
#include "cvodes/cvodes_bandpre.h"
#include "cvodes/cvodes_bbdpre.h"
#include "cvodes/cvodes_diag.h"
#include "cvodes/cvodes_direct.h"
#include "cvodes/cvodes_ls.h"
#include "cvodes/cvodes_spils.h"
#include "ida/ida.h"
#include "ida/ida_bbdpre.h"
#include "ida/ida_direct.h"
#include "ida/ida_ls.h"
#include "ida/ida_spils.h"
#include "idas/idas.h"
#include "idas/idas_bbdpre.h"
#include "idas/idas_direct.h"
#include "idas/idas_ls.h"
#include "idas/idas_spils.h"
#include "kinsol/kinsol.h"
#include "kinsol/kinsol_bbdpre.h"
#include "kinsol/kinsol_direct.h"
#include "kinsol/kinsol_ls.h"
#include "kinsol/kinsol_spils.h"
#include "nvector/nvector_manyvector.h"
#include "nvector/nvector_serial.h"
#include "sundials/LICENSE"
#include "sundials/NOTICE"
#include "sundials/sundials_band.h"
#include "sundials/sundials_config.h"
#include "sundials/sundials_dense.h"
#include "sundials/sundials_direct.h"
#include "sundials/sundials_fconfig.h"
#include "sundials/sundials_fnvector.h"
#include "sundials/sundials_futils.h"
#include "sundials/sundials_iterative.h"
#include "sundials/sundials_linearsolver.h"
#include "sundials/sundials_math.h"
#include "sundials/sundials_matrix.h"
#include "sundials/sundials_memory.h"
#include "sundials/sundials_mpi_types.h"
#include "sundials/sundials_nonlinearsolver.h"
#include "sundials/sundials_nvector.h"
#include "sundials/sundials_types.h"
#include "sundials/sundials_version.h"
#include "sunlinsol/sunlinsol_band.h"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunlinsol/sunlinsol_pcg.h"
#include "sunlinsol/sunlinsol_spbcgs.h"
#include "sunlinsol/sunlinsol_spfgmr.h"
#include "sunlinsol/sunlinsol_spgmr.h"
#include "sunlinsol/sunlinsol_sptfqmr.h"
#include "sunmatrix/sunmatrix_band.h"
#include "sunmatrix/sunmatrix_dense.h"
#include "sunmatrix/sunmatrix_sparse.h"
#include "sunnonlinsol/sunnonlinsol_fixedpoint.h"
#include "sunnonlinsol/sunnonlinsol_newton.h"