deal.II version GIT relicensing-6842-g793a97d2aa 2026-10-02 14:00:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
include
deal.II
sundials
invocation_context.h
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
// Copyright (C) 2026 by the deal.II authors
5
//
6
// This file is part of the deal.II library.
7
//
8
// Part of the source code is dual licensed under Apache-2.0 WITH
9
// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10
// governing the source code and code contributions can be found in
11
// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12
//
13
// ------------------------------------------------------------------------
14
15
16
#ifndef dealii_sundials_invocation_context_h
17
#define dealii_sundials_invocation_context_h
18
19
#include <
deal.II/base/config.h
>
20
21
22
#ifdef DEAL_II_WITH_SUNDIALS
23
24
# if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
25
# include <sundials/sundials_context.h>
26
# include <
sundials/sundials_types.h
>
27
# endif
28
29
# include <exception>
30
31
#endif
// DEAL_II_WITH_SUNDIALS
32
33
34
DEAL_II_NAMESPACE_OPEN
35
36
#ifdef DEAL_II_WITH_SUNDIALS
37
namespace
SUNDIALS
38
{
39
namespace
internal
40
{
47
struct
InvocationContext
48
{
49
std::exception_ptr &
pending_exception
;
50
# if DEAL_II_SUNDIALS_VERSION_GTE(6, 0, 0)
51
SUNContext
&
arkode_ctx
;
52
# endif
53
};
54
}
// namespace internal
55
}
// namespace SUNDIALS
56
57
#endif
// DEAL_II_WITH_SUNDIALS
58
59
DEAL_II_NAMESPACE_CLOSE
60
61
#endif
SUNContext
config.h
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition
config.h:38
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition
config.h:39
SUNDIALS
Definition
arkode.h:63
internal
Definition
aligned_vector.h:756
SUNDIALS::internal::InvocationContext
Definition
invocation_context.h:48
SUNDIALS::internal::InvocationContext::arkode_ctx
SUNContext & arkode_ctx
Definition
invocation_context.h:51
SUNDIALS::internal::InvocationContext::pending_exception
std::exception_ptr & pending_exception
Definition
invocation_context.h:49
sundials_types.h
Generated by
1.9.8