|
SpECTRE
2021.08.02
|
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 noexcept |
Normalize face normals, possibly using a background metric. Set InvMetricTag to void to normalize face normals with the Euclidean magnitude.