Classes
FaceNormal.hpp File Reference

Declares function unnormalized_face_normal. More...

#include <algorithm>
#include <cstddef>
#include <string>
#include "DataStructures/DataBox/DataBoxTag.hpp"
#include "DataStructures/Tensor/TypeAliases.hpp"
#include "Domain/Tags.hpp"
#include "Utilities/TMPL.hpp"

Go to the source code of this file.

Classes

struct  Tags::UnnormalizedFaceNormal< VolumeDim, Frame >
 The unnormalized face normal one form. More...
 
struct  Tags::InterfaceComputeItem< Tags::BoundaryDirectionsExterior< VolumeDim >, UnnormalizedFaceNormal< 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. More...
 

Functions

template<size_t VolumeDim, typename TargetFrame >
tnsr::i< DataVector, VolumeDim, TargetFrame > unnormalized_face_normal (const Mesh< VolumeDim - 1 > &interface_mesh, const ElementMap< VolumeDim, TargetFrame > &map, const Direction< VolumeDim > &direction) noexcept
 Compute the outward grid normal on a face of an Element. More...
 
template<size_t VolumeDim, typename TargetFrame >
tnsr::i< DataVector, VolumeDim, TargetFrame > unnormalized_face_normal (const Mesh< VolumeDim - 1 > &interface_mesh, const CoordinateMapBase< Frame::Logical, TargetFrame, VolumeDim > &map, const Direction< VolumeDim > &direction) noexcept
 Compute the outward grid normal on a face of an Element. More...
 

Detailed Description

Declares function unnormalized_face_normal.