SpECTRE  v2024.05.11
domain::Tags::InterfaceCompute< Tags::BoundaryDirectionsExterior< VolumeDim >, UnnormalizedFaceNormalCompute< VolumeDim, Frame > > Struct Template Reference

Specialisation of UnnormalizedFaceNormal for the external boundaries which inverts the normals. Since ExternalBoundariesDirections are meant to represent ghost elements, the normals should correspond to the normals in said element, which are inverted with respect to the current element. More...

#include <FaceNormal.hpp>

Public Types

using base = Tags::Interface< Tags::BoundaryDirectionsExterior< VolumeDim >, Tags::UnnormalizedFaceNormal< VolumeDim, Frame > >
 
using dirs = BoundaryDirectionsExterior< VolumeDim >
 
using return_type = std::unordered_map<::Direction< VolumeDim >, tnsr::i< DataVector, VolumeDim, Frame > >
 
using argument_tags = tmpl::list< Tags::Interface< dirs, Mesh< VolumeDim - 1 > >, Tags::ElementMap< VolumeDim, Frame > >
 
- Public Types inherited from domain::Tags::Interface< Tags::BoundaryDirectionsExterior< VolumeDim >, Tags::UnnormalizedFaceNormal< VolumeDim, Frame > >
using tag = Tags::UnnormalizedFaceNormal< VolumeDim, Frame >
 
using type = std::unordered_map<::Direction< DirectionsTag::volume_dim >, typename Tag::type >
 

Static Public Member Functions

static std::string name ()
 
static void function (const gsl::not_null< return_type * > normals, const std::unordered_map<::Direction< VolumeDim >, ::Mesh< VolumeDim - 1 > > &meshes, const ::ElementMap< VolumeDim, Frame > &map)
 
- Static Public Member Functions inherited from domain::Tags::Interface< Tags::BoundaryDirectionsExterior< VolumeDim >, Tags::UnnormalizedFaceNormal< VolumeDim, Frame > >
static std::string name ()
 

Detailed Description

template<size_t VolumeDim, typename Frame>
struct domain::Tags::InterfaceCompute< Tags::BoundaryDirectionsExterior< VolumeDim >, UnnormalizedFaceNormalCompute< VolumeDim, Frame > >

Specialisation of UnnormalizedFaceNormal for the external boundaries which inverts the normals. Since ExternalBoundariesDirections are meant to represent ghost elements, the normals should correspond to the normals in said element, which are inverted with respect to the current element.


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