SpECTRE Documentation Coverage Report
Current view: top level - Elliptic/Systems/Xcts - Tags.hpp Hit Total Coverage
Commit: b1342d46f40e2d46bbd11d0cef68fd973031a24b Lines: 3 7 42.9 %
Date: 2020-09-24 20:24:42
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 <string>
       7             : 
       8             : #include "DataStructures/DataBox/Tag.hpp"
       9             : #include "DataStructures/Tensor/TypeAliases.hpp"
      10             : 
      11             : /*!
      12             :  * \ingroup EllipticSystemsGroup
      13             :  * \brief Items related to solving the Extended Conformal Thin Sandwich (XCTS)
      14             :  * equations.
      15             :  */
      16           1 : namespace Xcts {
      17           0 : namespace Tags {
      18             : 
      19             : /*!
      20             :  * \brief The conformal factor \f$\psi(x)\f$ that rescales the spatial metric
      21             :  * \f$\gamma_{ij}=\psi^4\overline{\gamma}_{ij}\f$.
      22             :  */
      23             : template <typename DataType>
      24           1 : struct ConformalFactor : db::SimpleTag {
      25           0 :   using type = Scalar<DataType>;
      26             : };
      27             : 
      28             : /*!
      29             :  * \brief The gradient of the conformal factor \f$\psi(x)\f$
      30             :  *
      31             :  * \details This quantity can be used as an auxiliary variable in a first-order
      32             :  * formulation of the XCTS equations.
      33             :  */
      34             : template <size_t Dim, typename Frame, typename DataType>
      35           1 : struct ConformalFactorGradient : db::SimpleTag {
      36           0 :   using type = tnsr::I<DataType, Dim, Frame>;
      37             : };
      38             : 
      39             : }  // namespace Tags
      40             : }  // namespace Xcts

Generated by: LCOV version 1.14