SpECTRE Documentation Coverage Report
Current view: top level - Domain/Tags - NeighborMesh.hpp Hit Total Coverage
Commit: a9ee6aa7c65ba703dbdc6dfb79436bb5378d4465 Lines: 1 3 33.3 %
Date: 2024-05-05 02:31:09
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 <boost/functional/hash.hpp>
       7             : #include <cstddef>
       8             : #include <utility>
       9             : 
      10             : #include "DataStructures/DataBox/Tag.hpp"
      11             : #include "Domain/Structure/DirectionalIdMap.hpp"
      12             : #include "NumericalAlgorithms/Spectral/Mesh.hpp"
      13             : 
      14             : namespace domain::Tags {
      15             : /*!
      16             :  * \brief Holds the mesh of each neighboring element.
      17             :  *
      18             :  * This knowledge can be used to determine the geometry of mortars between
      19             :  * elements. It is kept up to date by AMR.
      20             :  *
      21             :  * For DG-FD hybrid methods this is necessary to determine what numerical method
      22             :  * the neighbor is using. This knowledge can be used for optimizing code.
      23             :  */
      24             : template <size_t Dim>
      25           1 : struct NeighborMesh : db::SimpleTag {
      26           0 :   using type = DirectionalIdMap<Dim, ::Mesh<Dim>>;
      27             : };
      28             : }  // namespace domain::Tags

Generated by: LCOV version 1.14