MFEM
v4.9.0
Finite element discretization library
Loading...
Searching...
No Matches
fem
ceed
interface
ceed.hpp
Go to the documentation of this file.
1
// Copyright (c) 2010-2025, Lawrence Livermore National Security, LLC. Produced
2
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
3
// LICENSE and NOTICE for details. LLNL-CODE-806117.
4
//
5
// This file is part of the MFEM library. For more information and source code
6
// availability visit https://mfem.org.
7
//
8
// MFEM is free software; you can redistribute it and/or modify it under the
9
// terms of the BSD-3 license. We welcome feedback and contributions, see file
10
// CONTRIBUTING.md for details.
11
12
#ifndef MFEM_LIBCEED_CEED
13
#define MFEM_LIBCEED_CEED
14
15
#include "
../../../config/config.hpp
"
16
17
#ifdef MFEM_USE_CEED
18
19
#include <ceed.h>
20
21
#if !CEED_VERSION_GE(0, 12, 0)
22
#error MFEM requires a libCEED version >= 0.12.0
23
#endif
24
25
#if !CEED_VERSION_GE(0, 13, 0)
26
#define CeedOperatorCreateComposite(ceed, op) \
27
CeedCompositeOperatorCreate((ceed), (op))
28
#define CeedOperatorCompositeAddSub(op, sub) \
29
CeedCompositeOperatorAddSub((op), (sub))
30
#define CeedOperatorCompositeGetNumSub(op, num) \
31
CeedCompositeOperatorGetNumSub((op), (num))
32
#define CeedOperatorCompositeGetSubList(op, list) \
33
CeedCompositeOperatorGetSubList((op), (list))
34
#endif
35
36
namespace
mfem
37
{
38
39
namespace
internal
40
{
41
42
extern
Ceed ceed;
43
44
}
// namespace internal
45
46
}
// namespace mfem
47
48
#endif
// MFEM_USE_CEED
49
50
#endif
// MFEM_LIBCEED_CEED
config.hpp
mfem
Definition
CodeDocumentation.dox:1
Generated on Thu Dec 11 2025 11:52:53 for MFEM by
1.11.0