26 vector_tag_enum = vtags;
29 "variable",
"The name of the variable that this boundary condition applies to");
58 _subproblem(*getCheckedPointerParam<
SubProblem *>(
"_subproblem")),
59 _mesh(_subproblem.
mesh()),
60 _fv_problem(*getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base")),
61 _var(*mooseLinearVariableFV()),
63 _var_num(_var.number()),
64 _sys_num(_sys.number())
82 const bool correct_skewness)
const 84 mooseAssert(fi,
"FaceInfo should not be null!");
85 return makeFace(*fi, limiter_type,
true, correct_skewness);
99 const auto defined_on_elem =
101 if (is_on_mesh_boundary)
An interface for accessing Moose::Functors for systems that do not care about automatic differentiati...
virtual bool hasFaceSide(const FaceInfo &fi, bool fi_elem_side) const override
RealVectorValue computeCellToFaceVector() const
Computes the vector connecting the cell and boundary face centers.
MetaPhysicL::DualNumber< V, D, asd > abs(const MetaPhysicL::DualNumber< V, D, asd > &a)
A class for requiring an object to be boundary restricted.
Real computeCellToFaceDistance() const
Compute the distance between the cell center and the face.
const unsigned int _sys_num
Cache for the system number.
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
const Point & faceCentroid() const
Returns the coordinates of the face centroid.
const Point & neighborCentroid() const
static InputParameters validParams()
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
static InputParameters validParams()
Interface for objects that needs transient capabilities.
This data structure is used to store geometric and variable related metadata about each cell face in ...
const Elem * neighborPtr() const
Interface for notifications that the mesh has changed.
const Point & elemCentroid() const
Returns the element centroids of the elements on the elem and neighbor sides of the face...
A structure defining a "face" evaluation calling argument for Moose functors.
Every object that can be built by the factory should be derived from this class.
An interface for producers of functor face arguments, e.g.
Interface for objects that need to use distributions.
VarKindType
Framework-wide stuff.
LinearFVBoundaryCondition(const InputParameters ¶meters)
Class constructor.
FaceInfo::VarFaceNeighbors _current_face_type
Face ownership information for the current face.
const unsigned int _var_num
Cache for the variable number.
Interface for objects that need to use UserObjects.
const Point & normal() const
Returns the unit normal vector for the face oriented outward from the face's elem element...
MooseLinearVariableFV< Real > & _var
Reference to the linear finite volume variable object.
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Generic class for solving transient nonlinear problems.
const FaceInfo * _current_face_info
Pointer to the face info we are operating on right now.
Interface for objects that need to get values of MooseVariables.
static InputParameters validParams()
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type...
Moose::FaceArg singleSidedFaceArg(const FaceInfo *fi, Moose::FV::LimiterType limiter_type=Moose::FV::LimiterType::CentralDifference, bool correct_skewness=false) const
Determine the single sided face argument when evaluating a functor on a face.
static InputParameters validParams()
static InputParameters validParams()
Interface for objects that need to use functions.
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.
const Point & dCN() const
Interface class for classes which interact with Postprocessors.
static InputParameters validParams()
VarFaceNeighbors faceType(const std::pair< unsigned int, unsigned int > &var_sys) const
Returns which side(s) the given variable-system number pair is defined on for this face...