OISEAU
A modern DGTD framework
Loading...
Searching...
No Matches
oiseau::dg::DGIntegration::FaceRule Struct Reference

Integration data for one physical cell face. More...

#include <dg_integration.hpp>

Public Member Functions

std::size_t point_count () const
double physical_weight (std::size_t q) const
 Returns a quadrature weight scaled by the physical face measure ratio.
double physical_lift (std::size_t q, std::size_t node) const
 Returns an entry of the physical lift for the local cell.
bool is_boundary () const

Public Attributes

std::array< double, 3 > outward_normal {}
 Outward unit normal, padded to three coordinates.
std::size_t neighbor_cell = DGConnectivity::no_neighbor
 Mesh index of the neighbor cell, or DGConnectivity::no_neighbor on a boundary.
std::shared_ptr< const ReferenceFaceRule > minus
 Reference face rule for the local cell.
std::shared_ptr< const ReferenceFaceRule > plus
 Reference face rule for the neighbor cell, or nullptr on a boundary.
double weight_scale = 0.0
 Ratio of physical face measure to canonical face measure.
double lift_scale = 0.0
 The face weight scale divided by \(|\det J|\) to scale the reference lift.

Detailed Description

Integration data for one physical cell face.

Member Function Documentation

◆ is_boundary()

bool oiseau::dg::DGIntegration::FaceRule::is_boundary ( ) const
inline
Returns
True if the face has no neighbor cell.

◆ physical_lift()

double oiseau::dg::DGIntegration::FaceRule::physical_lift ( std::size_t q,
std::size_t node ) const
inline

Returns an entry of the physical lift for the local cell.

Parameters
qQuadrature point index.
nodeLocal test node index.

◆ physical_weight()

double oiseau::dg::DGIntegration::FaceRule::physical_weight ( std::size_t q) const
inline

Returns a quadrature weight scaled by the physical face measure ratio.

Parameters
qQuadrature point index.

◆ point_count()

std::size_t oiseau::dg::DGIntegration::FaceRule::point_count ( ) const
inline
Returns
Number of quadrature points on the face.

Member Data Documentation

◆ plus

std::shared_ptr<const ReferenceFaceRule> oiseau::dg::DGIntegration::FaceRule::plus

Reference face rule for the neighbor cell, or nullptr on a boundary.

On interior faces, both traces evaluate at the same physical points in the same order. The plus trace uses the neighbor's nodes.


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