1#ifndef AMREX_SUNDIALS_CORE_H_
2#define AMREX_SUNDIALS_CORE_H_
7#include <sundials/sundials_config.h>
8#if defined(SUNDIALS_VERSION_MAJOR) && (SUNDIALS_VERSION_MAJOR < 7)
9# include <sundials/sundials_context.h>
11# include <sundials/sundials_context.hpp>
constexpr int get_thread_num()
Definition AMReX_OpenMP.H:37
Definition AMReX_NVector_MultiFab.cpp:15
::sundials::Context * The_Sundials_Context(int i)
Get the i-th SUNDIALS context instance.
Definition AMReX_Sundials_Core.cpp:50
void Initialize(int nthreads)
Initialize the AMReX-SUNDIALS interface.
Definition AMReX_Sundials_Core.cpp:13
void Finalize()
Cleanup everything allocated for the AMReX-SUNDIALS interface.
Definition AMReX_Sundials_Core.cpp:37