Mesh.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <cstddef>
7 
8 /// \cond
9 template <size_t Dim>
10 class Mesh;
11 /// \endcond
12 
14 /*!
15  * \brief Computes the cell-centered finite-difference mesh from the DG mesh,
16  * using \f$2N-1\f$ grid points per dimension, where \f$N\f$ is the degree of
17  * the DG basis.
18  */
19 template <size_t Dim>
20 Mesh<Dim> mesh(const Mesh<Dim>& dg_mesh) noexcept;
21 } // namespace evolution::dg::subcell::fd
evolution::dg::subcell::fd::mesh
Mesh< Dim > mesh(const Mesh< Dim > &dg_mesh) noexcept
Computes the cell-centered finite-difference mesh from the DG mesh, using grid points per dimension,...
cstddef
evolution::dg::subcell::fd
Code specific to a conservative finite difference subcell limiter.
Definition: DgSubcell.hpp:29
Mesh
Holds the number of grid points, basis, and quadrature in each direction of the computational grid.
Definition: Mesh.hpp:48