37 "variable",
"The name of the variable that this boundary condition applies to");
38 params.
addParam<
bool>(
"use_displaced_mesh",
40 "Whether or not this object should use the " 41 "displaced mesh for computation. Note that " 42 "in the case this is true but no " 43 "displacements are provided in the Mesh block " 44 "the undisplaced mesh will still be used.");
73 _var(*mooseVariableFV()),
74 _subproblem(*getCheckedPointerParam<
SubProblem *>(
"_subproblem")),
75 _fv_problem(*getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base")),
76 _sys(changeSystem(parameters, _var)),
78 _assembly(_subproblem.assembly(_tid, _var.kind() ==
Moose::
VAR_SOLVER ? _sys.number() : 0)),
79 _mesh(_subproblem.
mesh())
88 const bool correct_skewness,
94 return makeFace(*fi, limiter_type,
true, correct_skewness, state_limiter);
A class for requiring an object to be boundary restricted.
const FaceInfo * _face_info
Holds information for the face we are currently examining.
virtual void haveADObjects(bool have_ad_objects)
Method for setting whether we have any ad objects.
unsigned int number() const
Get variable number coming from libMesh.
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
static InputParameters validParams()
Moose::FaceArg singleSidedFaceArg(const FaceInfo *fi=nullptr, Moose::FV::LimiterType limiter_type=Moose::FV::LimiterType::CentralDifference, bool correct_skewness=false, const Moose::StateArg *state_limiter=nullptr) const
Determine the single sided face argument when evaluating a functor on a face.
MooseVariableFV< Real > & _var
static InputParameters validParams()
Base class for a system (of equations)
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
An interface for accessing Moose::Functors for systems that care about automatic differentiation, e.g.
Interface for objects that needs transient capabilities.
This data structure is used to store geometric and variable related metadata about each cell face in ...
Interface for notifications that the mesh has changed.
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.
bool hasFaceSide(const FaceInfo &fi, bool fi_elem_side) const override
SubProblem & _subproblem
Reference to SubProblem.
Interface for objects that need to use distributions.
VarKindType
Framework-wide stuff.
FVBoundaryCondition(const InputParameters ¶meters)
Class constructor.
Interface for objects that need to use UserObjects.
unsigned int number() const
Gets the number of this system.
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.
Interface for objects that need to get values of MooseVariables.
State argument for evaluating functors.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
static InputParameters validParams()
static InputParameters validParams()
static InputParameters validParams()
SystemBase & sys()
Get the system this variable is part of.
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.
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...