MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mass.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_MASS_HPP
13#define MFEM_LIBCEED_MASS_HPP
14
17#include "../../../fespace.hpp"
18
19namespace mfem
20{
21
22namespace ceed
23{
24
25/// Represent a MassIntegrator with AssemblyLevel::Partial using libCEED.
27{
28public:
30 const mfem::IntegrationRule &ir,
32};
33
34class MixedPAMassIntegrator : public MixedIntegrator<PAIntegrator>
35{
36public:
38 const mfem::FiniteElementSpace &fes,
40
42 const mfem::FiniteElementSpace &fes,
44};
45
46/// Represent a MassIntegrator with AssemblyLevel::None using libCEED.
48{
49public:
51 const mfem::IntegrationRule &ir,
53};
54
55class MixedMFMassIntegrator : public MixedIntegrator<MFIntegrator>
56{
57public:
59 const mfem::FiniteElementSpace &fes,
61
63 const mfem::FiniteElementSpace &fes,
65};
66
67}
68
69}
70
71#endif // MFEM_LIBCEED_MASS_HPP
Base class Coefficients that optionally depend on space and time. These are used by the BilinearFormI...
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
Represent a MassIntegrator with AssemblyLevel::None using libCEED.
Definition mass.hpp:48
MFMassIntegrator(const mfem::FiniteElementSpace &fes, const mfem::IntegrationRule &ir, mfem::Coefficient *Q)
Definition mass.cpp:86
This class wraps a ceed::PAIntegrator or ceed::MFIntegrator to support mixed finite element spaces.
MixedMFMassIntegrator(const MassIntegrator &integ, const mfem::FiniteElementSpace &fes, mfem::Coefficient *Q)
Definition mass.cpp:99
MixedPAMassIntegrator(const MassIntegrator &integ, const mfem::FiniteElementSpace &fes, mfem::Coefficient *Q)
Definition mass.cpp:62
Represent a MassIntegrator with AssemblyLevel::Partial using libCEED.
Definition mass.hpp:27
PAMassIntegrator(const mfem::FiniteElementSpace &fes, const mfem::IntegrationRule &ir, mfem::Coefficient *Q)
Definition mass.cpp:49