A functor whose evaluation relies on querying a map where the keys are face info ids and the values correspond to the face values. More...
#include <FaceCenteredMapFunctor.h>
Public Types | |
| using | ElemArg = Moose::ElemArg |
| using | FaceArg = Moose::FaceArg |
| using | ElemQpArg = Moose::ElemQpArg |
| using | ElemSideQpArg = Moose::ElemSideQpArg |
| using | ElemPointArg = Moose::ElemPointArg |
| using | StateArg = Moose::StateArg |
| using | NodeArg = Moose::NodeArg |
| typedef FunctorBase< T > | FunctorType |
| typedef T | ValueType |
| typedef typename FunctorReturnType< T, FunctorEvaluationKind::Gradient >::type | GradientType |
| typedef ValueType | DotType |
Public Member Functions | |
| FaceCenteredMapFunctor (const MooseMesh &mesh, const std::string &name) | |
| FaceCenteredMapFunctor (const MooseMesh &mesh, const std::set< SubdomainID > &sub_ids, const std::string &name) | |
| bool | hasBlocks (SubdomainID sub_id) const override |
| ValueType | evaluate (const FaceInfo *const fi) const |
| Evaluate the face functor using a FaceInfo argument. | |
| bool | supportsFaceArg () const override final |
| bool | supportsElemSideQpArg () const override final |
| FunctorReturnType< T, FET >::type | genericEvaluate (const Space &r, const State &state) const |
| const MooseFunctorName & | functorName () const |
| virtual void | residualSetup () override |
| virtual void | jacobianSetup () override |
| virtual void | timestepSetup () override |
| virtual void | customSetup (const ExecFlagType &exec_type) override |
| void | setCacheClearanceSchedule (const std::set< ExecFlagType > &clearance_schedule) |
| virtual bool | isExtrapolatedBoundaryFace (const FaceInfo &, const Elem *, const StateArg &) const |
| bool | isInternalFace (const FaceInfo &) const |
| virtual bool | isConstant () const |
| virtual bool | hasFaceSide (const FaceInfo &fi, const bool fi_elem_side) const override |
| void | checkFace (const Moose::FaceArg &face) const |
| ValueType | operator() (const ElemArg &elem, const StateArg &state) const |
| ValueType | operator() (const FaceArg &face, const StateArg &state) const |
| ValueType | operator() (const ElemQpArg &qp, const StateArg &state) const |
| ValueType | operator() (const ElemSideQpArg &qp, const StateArg &state) const |
| ValueType | operator() (const ElemPointArg &elem_point, const StateArg &state) const |
| ValueType | operator() (const NodeArg &node, const StateArg &state) const |
| ValueType | operator() (const PointArg &point, const StateArg &state) const |
| ValueType | operator() (const ElemArg &elem, const StateArg &state) const |
| ValueType | operator() (const FaceArg &face, const StateArg &state) const |
| ValueType | operator() (const ElemQpArg &qp, const StateArg &state) const |
| ValueType | operator() (const ElemSideQpArg &qp, const StateArg &state) const |
| ValueType | operator() (const ElemPointArg &elem_point, const StateArg &state) const |
| ValueType | operator() (const NodeArg &node, const StateArg &state) const |
| ValueType | operator() (const PointArg &point, const StateArg &state) const |
| GradientType | gradient (const ElemArg &elem, const StateArg &state) const |
| GradientType | gradient (const FaceArg &face, const StateArg &state) const |
| GradientType | gradient (const ElemQpArg &qp, const StateArg &state) const |
| GradientType | gradient (const ElemSideQpArg &qp, const StateArg &state) const |
| GradientType | gradient (const ElemPointArg &elem_point, const StateArg &state) const |
| GradientType | gradient (const NodeArg &node, const StateArg &state) const |
| GradientType | gradient (const PointArg &point, const StateArg &state) const |
| GradientType | gradient (const ElemArg &elem, const StateArg &state) const |
| GradientType | gradient (const FaceArg &face, const StateArg &state) const |
| GradientType | gradient (const ElemQpArg &qp, const StateArg &state) const |
| GradientType | gradient (const ElemSideQpArg &qp, const StateArg &state) const |
| GradientType | gradient (const ElemPointArg &elem_point, const StateArg &state) const |
| GradientType | gradient (const NodeArg &node, const StateArg &state) const |
| GradientType | gradient (const PointArg &point, const StateArg &state) const |
| DotType | dot (const ElemArg &elem, const StateArg &state) const |
| DotType | dot (const FaceArg &face, const StateArg &state) const |
| DotType | dot (const ElemQpArg &qp, const StateArg &state) const |
| DotType | dot (const ElemSideQpArg &qp, const StateArg &state) const |
| DotType | dot (const ElemPointArg &elem_point, const StateArg &state) const |
| DotType | dot (const NodeArg &node, const StateArg &state) const |
| DotType | dot (const PointArg &point, const StateArg &state) const |
| DotType | dot (const ElemArg &elem, const StateArg &state) const |
| DotType | dot (const FaceArg &face, const StateArg &state) const |
| DotType | dot (const ElemQpArg &qp, const StateArg &state) const |
| DotType | dot (const ElemSideQpArg &qp, const StateArg &state) const |
| DotType | dot (const ElemPointArg &elem_point, const StateArg &state) const |
| DotType | dot (const NodeArg &node, const StateArg &state) const |
| DotType | dot (const PointArg &point, const StateArg &state) const |
| GradientType | gradDot (const ElemArg &elem, const StateArg &state) const |
| GradientType | gradDot (const FaceArg &face, const StateArg &state) const |
| GradientType | gradDot (const ElemQpArg &qp, const StateArg &state) const |
| GradientType | gradDot (const ElemSideQpArg &qp, const StateArg &state) const |
| GradientType | gradDot (const ElemPointArg &elem_point, const StateArg &state) const |
| GradientType | gradDot (const NodeArg &node, const StateArg &state) const |
| GradientType | gradDot (const PointArg &point, const StateArg &state) const |
| GradientType | gradDot (const ElemArg &elem, const StateArg &state) const |
| GradientType | gradDot (const FaceArg &face, const StateArg &state) const |
| GradientType | gradDot (const ElemQpArg &qp, const StateArg &state) const |
| GradientType | gradDot (const ElemSideQpArg &qp, const StateArg &state) const |
| GradientType | gradDot (const ElemPointArg &elem_point, const StateArg &state) const |
| GradientType | gradDot (const NodeArg &node, const StateArg &state) const |
| GradientType | gradDot (const PointArg &point, const StateArg &state) const |
Private Member Functions | |
| ValueType | evaluate (const ElemArg &, const StateArg &) const override final |
| ValueType | evaluate (const FaceArg &, const StateArg &) const override final |
| ValueType | evaluate (const ElemPointArg &, const StateArg &) const override |
| ValueType | evaluate (const ElemQpArg &, const StateArg &) const override |
| ValueType | evaluate (const ElemSideQpArg &, const StateArg &) const override |
| ValueType | evaluate (const NodeArg &, const StateArg &) const override final |
| void | clearCacheData () |
| ValueType | queryQpCache (unsigned int qp, const libMesh::QBase &qrule, std::vector< std::pair< bool, T > > &qp_cache_data, const SpaceArg &space, const StateArg &state) const |
| ValueType | queryFVArgCache (std::map< SpaceArg, ValueType > &cache_data, const SpaceArg &space) const |
Private Attributes | |
| const MooseMesh & | _mesh |
| The mesh that this functor lives on. | |
| const std::set< SubdomainID > | _sub_ids |
| The subdomain IDs that this functor lives on. | |
| std::set< ExecFlagType > | _clearance_schedule |
| bool | _always_evaluate |
| dof_id_type | _current_qp_map_key |
| std::vector< std::pair< bool, ValueType > > * | _current_qp_map_value |
| std::unordered_map< dof_id_type, std::vector< std::pair< bool, ValueType > > > | _qp_to_value |
| dof_id_type | _current_side_qp_map_key |
| std::vector< std::vector< std::pair< bool, ValueType > > > * | _current_side_qp_map_value |
| std::unordered_map< dof_id_type, std::vector< std::vector< std::pair< bool, ValueType > > > > | _side_qp_to_value |
| std::map< ElemArg, ValueType > | _elem_arg_to_value |
| std::map< FaceArg, ValueType > | _face_arg_to_value |
| std::map< NodeArg, ValueType > | _node_arg_to_value |
| MooseFunctorName | _functor_name |
A functor whose evaluation relies on querying a map where the keys are face info ids and the values correspond to the face values.
The primary purpose of this functor is to store face based fields (face flux, face velocity, normal gradient) often encountered in fluid dynamics problems using the finite volume method
Definition at line 25 of file FaceCenteredMapFunctor.h.
| using FaceCenteredMapFunctor< T, Map >::ElemArg = Moose::ElemArg |
Definition at line 31 of file FaceCenteredMapFunctor.h.
| using FaceCenteredMapFunctor< T, Map >::ElemPointArg = Moose::ElemPointArg |
Definition at line 35 of file FaceCenteredMapFunctor.h.
| using FaceCenteredMapFunctor< T, Map >::ElemQpArg = Moose::ElemQpArg |
Definition at line 33 of file FaceCenteredMapFunctor.h.
| using FaceCenteredMapFunctor< T, Map >::ElemSideQpArg = Moose::ElemSideQpArg |
Definition at line 34 of file FaceCenteredMapFunctor.h.
| using FaceCenteredMapFunctor< T, Map >::FaceArg = Moose::FaceArg |
Definition at line 32 of file FaceCenteredMapFunctor.h.
| using FaceCenteredMapFunctor< T, Map >::NodeArg = Moose::NodeArg |
Definition at line 37 of file FaceCenteredMapFunctor.h.
| using FaceCenteredMapFunctor< T, Map >::StateArg = Moose::StateArg |
Definition at line 36 of file FaceCenteredMapFunctor.h.
| FaceCenteredMapFunctor< T, Map >::FaceCenteredMapFunctor | ( | const MooseMesh & | mesh, |
| const std::string & | name | ||
| ) |
Definition at line 75 of file FaceCenteredMapFunctor.h.
| FaceCenteredMapFunctor< T, Map >::FaceCenteredMapFunctor | ( | const MooseMesh & | mesh, |
| const std::set< SubdomainID > & | sub_ids, | ||
| const std::string & | name | ||
| ) |
Definition at line 82 of file FaceCenteredMapFunctor.h.
|
finaloverrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 43 of file FaceCenteredMapFunctor.C.
|
overrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 100 of file FaceCenteredMapFunctor.h.
|
overrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 107 of file FaceCenteredMapFunctor.h.
|
overrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 114 of file FaceCenteredMapFunctor.h.
|
finaloverrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 127 of file FaceCenteredMapFunctor.C.
| FaceCenteredMapFunctor< T, Map >::ValueType FaceCenteredMapFunctor< T, Map >::evaluate | ( | const FaceInfo *const | fi | ) | const |
Evaluate the face functor using a FaceInfo argument.
| fi | The object containing the face information |
Definition at line 134 of file FaceCenteredMapFunctor.C.
Referenced by RhieChowMassFlux::getMassFlux(), and INSFVRhieChowInterpolatorSegregated::getVelocity().
|
finaloverrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 121 of file FaceCenteredMapFunctor.h.
|
overridevirtual |
Reimplemented from Moose::FunctorBase< T >.
Reimplemented in FictionalFaceCenteredMapFunctor< T, Map >.
Definition at line 93 of file FaceCenteredMapFunctor.h.
|
inlinefinaloverridevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 54 of file FaceCenteredMapFunctor.h.
|
inlinefinaloverridevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 53 of file FaceCenteredMapFunctor.h.
|
private |
The mesh that this functor lives on.
Definition at line 58 of file FaceCenteredMapFunctor.h.
|
private |
The subdomain IDs that this functor lives on.
If empty, then we consider the functor to live on all subdomains
Definition at line 62 of file FaceCenteredMapFunctor.h.