15 const bool elem_is_upwind,
16 const bool correct_skewness,
19 const bool defined_on_elem_side =
hasFaceSide(fi,
true);
20 const bool defined_on_neighbor_side =
hasFaceSide(fi,
false);
21 const Elem *
const elem = defined_on_elem_side && defined_on_neighbor_side
25 if (!defined_on_elem_side && !defined_on_neighbor_side)
28 return {&fi, limiter_type, elem_is_upwind, correct_skewness, elem, state_limiter};
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
const Elem & elem() const
This data structure is used to store geometric and variable related metadata about each cell face in ...
const Elem * neighborPtr() const
A structure defining a "face" evaluation calling argument for Moose functors.
State argument for evaluating functors.
virtual bool hasFaceSide(const FaceInfo &fi, const bool fi_elem_side) const =0
Moose::FaceArg makeFace(const FaceInfo &fi, const Moose::FV::LimiterType limiter_type, const bool elem_is_upwind, const bool correct_skewness=false, const Moose::StateArg *state_limiter=nullptr) const
Create a functor face argument from provided component arguments.