MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
lor_nd.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_LOR_NEDELEC
13#define MFEM_LOR_NEDELEC
14
15#include "lor_batched.hpp"
16
17namespace mfem
18{
19
20// BatchedLORKernel specialization for Nedelec spaces. Not user facing. See the
21// classes BatchedLORAssembly and BatchedLORKernel .
23{
24public:
25 template <int ORDER, int SDIM> void Assemble2D();
26 template <int ORDER> void Assemble3D();
28 FiniteElementSpace &fes_ho_,
29 Vector &X_vert_,
30 Vector &sparse_ij_,
31 Array<int> &sparse_mapping_)
32 : BatchedLORKernel(fes_ho_, X_vert_, sparse_ij_, sparse_mapping_)
33 {
34 ProjectLORCoefficient<VectorFEMassIntegrator>(a, c1);
35 ProjectLORCoefficient<CurlCurlIntegrator>(a, c2);
36 }
37};
38
39}
40
41#include "lor_nd_impl.hpp"
42
43#endif
Abstract base class for the batched LOR assembly kernels.
CoefficientVector c2
Coefficient of second integrator.
CoefficientVector c1
Coefficient of first integrator.
BatchedLOR_ND(BilinearForm &a, FiniteElementSpace &fes_ho_, Vector &X_vert_, Vector &sparse_ij_, Array< int > &sparse_mapping_)
Definition: lor_nd.hpp:27
A "square matrix" operator for the associated FE space and BLFIntegrators The sum of all the BLFInteg...
Class FiniteElementSpace - responsible for providing FEM view of the mesh, mainly managing the set of...
Definition: fespace.hpp:220
Vector data type.
Definition: vector.hpp:80
real_t a
Definition: lissajous.cpp:41