SpECTRE  v2021.10.04
elliptic::dg::NormalizeFaceNormal< Dim, InvMetricTag > Struct Template Reference

Normalize face normals, possibly using a background metric. Set InvMetricTag to void to normalize face normals with the Euclidean magnitude. More...

#include <Initialization.hpp>

Public Types

using return_tags = tmpl::list< domain::Tags::FaceNormal< Dim >, domain::Tags::UnnormalizedFaceNormalMagnitude< Dim > >
 
using argument_tags = tmpl::conditional_t< std::is_same_v< InvMetricTag, void >, tmpl::list<>, tmpl::list< InvMetricTag > >
 

Public Member Functions

template<typename... InvMetric>
void operator() (const gsl::not_null< tnsr::i< DataVector, Dim > * > face_normal, const gsl::not_null< Scalar< DataVector > * > face_normal_magnitude, const InvMetric &... inv_metric) const
 

Detailed Description

template<size_t Dim, typename InvMetricTag>
struct elliptic::dg::NormalizeFaceNormal< Dim, InvMetricTag >

Normalize face normals, possibly using a background metric. Set InvMetricTag to void to normalize face normals with the Euclidean magnitude.


The documentation for this struct was generated from the following file: