MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
convection.hpp
Go to the documentation of this file.
1// Copyright (c) 2010-2024, 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
17#include "../../../fespace.hpp"
18
19namespace mfem
20{
21
22namespace ceed
23{
24
25/// Represent a ConvectionIntegrator with AssemblyLevel::Partial using libCEED.
27{
28public:
30 const mfem::IntegrationRule &ir,
32 const double alpha);
33};
34
35class MixedPAConvectionIntegrator : public MixedIntegrator<PAIntegrator>
36{
37public:
39 const mfem::FiniteElementSpace &fes,
41 const double alpha);
42};
43
44/// Represent a ConvectionIntegrator with AssemblyLevel::None using libCEED.
46{
47public:
49 const mfem::IntegrationRule &ir,
51 const double alpha);
52};
53
54class MixedMFConvectionIntegrator : public MixedIntegrator<MFIntegrator>
55{
56public:
58 const mfem::FiniteElementSpace &fes,
60 const double alpha);
61};
62
63}
64
65}
66
67#endif // MFEM_LIBCEED_CONV_HPP
Class FiniteElementSpace - responsible for providing FEM view of the mesh, mainly managing the set of...
Definition fespace.hpp:220
Class for an integration rule - an Array of IntegrationPoint.
Definition intrules.hpp:100
Base class for vector Coefficients that optionally depend on time and space.
Represent a ConvectionIntegrator with AssemblyLevel::None using libCEED.
MFConvectionIntegrator(const mfem::FiniteElementSpace &fes, const mfem::IntegrationRule &ir, mfem::VectorCoefficient *Q, const double alpha)
This class wraps a ceed::PAIntegrator or ceed::MFIntegrator to support mixed finite element spaces.
MixedMFConvectionIntegrator(const ConvectionIntegrator &integ, const mfem::FiniteElementSpace &fes, mfem::VectorCoefficient *Q, const double alpha)
MixedPAConvectionIntegrator(const ConvectionIntegrator &integ, const mfem::FiniteElementSpace &fes, mfem::VectorCoefficient *Q, const double alpha)
Represent a ConvectionIntegrator with AssemblyLevel::Partial using libCEED.
PAConvectionIntegrator(const mfem::FiniteElementSpace &fes, const mfem::IntegrationRule &ir, mfem::VectorCoefficient *Q, const double alpha)
const real_t alpha
Definition ex15.cpp:369