SpECTRE Documentation Coverage Report
Current view: top level - Evolution/DgSubcell - Mesh.hpp Hit Total Coverage
Commit: d0fc80462417e83e5cddfa1b9901bb4a9b6af4d6 Lines: 2 3 66.7 %
Date: 2024-03-29 00:33:31
Legend: Lines: hit not hit

          Line data    Source code
       1           0 : // Distributed under the MIT License.
       2             : // See LICENSE.txt for details.
       3             : 
       4             : #pragma once
       5             : 
       6             : #include <cstddef>
       7             : 
       8             : #include "NumericalAlgorithms/Spectral/Basis.hpp"
       9             : #include "NumericalAlgorithms/Spectral/Quadrature.hpp"
      10             : 
      11             : /// \cond
      12             : template <size_t Dim>
      13             : class Mesh;
      14             : /// \endcond
      15             : 
      16             : namespace evolution::dg::subcell::fd {
      17             : /*!
      18             :  * \brief Computes the cell-centered finite-difference mesh from the DG mesh,
      19             :  * using \f$2N-1\f$ grid points per dimension, where \f$N\f$ is the degree of
      20             :  * the DG basis.
      21             :  */
      22             : template <size_t Dim>
      23           1 : Mesh<Dim> mesh(const Mesh<Dim>& dg_mesh);
      24             : 
      25             : /*!
      26             :  * \brief Computes the DG mesh from the cell-centered finite-difference mesh.
      27             :  */
      28             : template <size_t Dim>
      29           1 : Mesh<Dim> dg_mesh(const Mesh<Dim>& subcell_mesh, Spectral::Basis basis,
      30             :                   Spectral::Quadrature quadrature);
      31             : }  // namespace evolution::dg::subcell::fd

Generated by: LCOV version 1.14