Debian Codegraph @

fem/ceed/integrators/convection/convection.hpp

raw
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_CONV_HPP
13 #define MFEM_LIBCEED_CONV_HPP
14
15 #include "../../interface/integrator.hpp"
16 #include "../../interface/mixed_integrator.hpp"
17 #include "../../../fespace.hpp"
18
19 namespace mfem
20 {
21
22 namespace ceed
23 {
24
25 /// Represent a ConvectionIntegrator with AssemblyLevel::Partial using libCEED.
26 class PAConvectionIntegrator : public PAIntegrator
27 {
28 public:
29 PAConvectionIntegrator(const mfem::FiniteElementSpace &fes,
30 const mfem::IntegrationRule &ir,
31 mfem::VectorCoefficient *Q,
32 const double alpha);
33 };
34
35 class MixedPAConvectionIntegrator : public MixedIntegrator<PAIntegrator>
36 {
37 public:
38 MixedPAConvectionIntegrator(const ConvectionIntegrator &integ,
39 const mfem::FiniteElementSpace &fes,
40 mfem::VectorCoefficient *Q,
41 const double alpha);
42 };
43
44 /// Represent a ConvectionIntegrator with AssemblyLevel::None using libCEED.
45 class MFConvectionIntegrator : public MFIntegrator
46 {
47 public:
48 MFConvectionIntegrator(const mfem::FiniteElementSpace &fes,
49 const mfem::IntegrationRule &ir,
50 mfem::VectorCoefficient *Q,
51 const double alpha);
52 };
53
54 class MixedMFConvectionIntegrator : public MixedIntegrator<MFIntegrator>
55 {
56 public:
57 MixedMFConvectionIntegrator(const ConvectionIntegrator &integ,
58 const mfem::FiniteElementSpace &fes,
59 mfem::VectorCoefficient *Q,
60 const double alpha);
61 };
62
63 }
64
65 }
66
67 #endif // MFEM_LIBCEED_CONV_HPP