MFEM v4.10.0
Finite element discretization library
Loading...
Searching...
No Matches
grad_by_vdim.cpp
Go to the documentation of this file.
1// Copyright (c) 2010-2026, 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
13#include "grad.hpp"
14
15namespace mfem
16{
17namespace internal
18{
19namespace quadrature_interpolator
20{
21
22template <bool P>
23void InitGradByVDimKernels()
24{
25 constexpr auto L = QVectorLayout::byVDIM;
26 // 2D
30
35 // 3D
42
43 // 2D
47
51
52 // 3D
56
60
64}
65
66template void InitGradByVDimKernels<true>();
67template void InitGradByVDimKernels<false>();
68
69} // namespace quadrature_interpolator
70} // namespace internal
71} // namespace mfem
static void AddCollocatedGradSpecializations()
Adds specializations for CollocatedGradKernels.
static void AddGradSpecializations()
Adds specializations for GradKernels.