A functor whose evaluation relies on querying a map where the keys are element ids and the values correspond to the element/cell values. More...
#include <CellCenteredMapFunctor.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 | |
CellCenteredMapFunctor (const MooseMesh &mesh, const std::string &name, const bool extrapolated_boundary) | |
Use this constructor when you want the object to live everywhere on the mesh. More... | |
CellCenteredMapFunctor (const MooseMesh &mesh, const std::set< SubdomainID > &sub_ids, const std::string &name, const bool extrapolated_boundary) | |
Use this constructor if you want to potentially restrict this object to a specified set of subdomains/blocks. More... | |
bool | isExtrapolatedBoundaryFace (const FaceInfo &fi, const Elem *elem, const StateArg &state) const override |
bool | hasBlocks (SubdomainID sub_id) const override |
bool | hasBlocks (const Elem *elem) const |
Checks whether we are defined on the provided element. More... | |
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) |
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 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 |
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 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 |
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 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 |
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 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 |
Private Member Functions | |
ValueType | evaluate (const ElemArg &elem_arg, const StateArg &) const override |
ValueType | evaluate (const ElemPointArg &elem_point, const StateArg &state) const override |
ValueType | evaluate (const FaceArg &face, const StateArg &) const override |
ValueType | evaluate (const ElemQpArg &, const StateArg &) const override |
ValueType | evaluate (const ElemSideQpArg &, const StateArg &) const override |
ValueType | evaluate (const NodeArg &elem_arg, const StateArg &) const override |
GradientType | evaluateGradient (const ElemArg &elem_arg, const StateArg &state) const override |
GradientType | evaluateGradient (const FaceArg &face, const StateArg &state) const override |
Private Attributes | |
const MooseMesh & | _mesh |
The mesh that this functor lives on. More... | |
const std::set< SubdomainID > | _sub_ids |
The subdomain IDs that this functor lives on. More... | |
const bool | _extrapolated_boundary |
A functor whose evaluation relies on querying a map where the keys are element ids and the values correspond to the element/cell values.
This is a very useful data type for storing the result of (possibly repeated) interpolation and reconstruction
Definition at line 26 of file CellCenteredMapFunctor.h.
using CellCenteredMapFunctor< T, Map >::ElemArg = Moose::ElemArg |
Definition at line 32 of file CellCenteredMapFunctor.h.
using CellCenteredMapFunctor< T, Map >::ElemPointArg = Moose::ElemPointArg |
Definition at line 36 of file CellCenteredMapFunctor.h.
using CellCenteredMapFunctor< T, Map >::ElemQpArg = Moose::ElemQpArg |
Definition at line 34 of file CellCenteredMapFunctor.h.
using CellCenteredMapFunctor< T, Map >::ElemSideQpArg = Moose::ElemSideQpArg |
Definition at line 35 of file CellCenteredMapFunctor.h.
using CellCenteredMapFunctor< T, Map >::FaceArg = Moose::FaceArg |
Definition at line 33 of file CellCenteredMapFunctor.h.
using CellCenteredMapFunctor< T, Map >::NodeArg = Moose::NodeArg |
Definition at line 38 of file CellCenteredMapFunctor.h.
using CellCenteredMapFunctor< T, Map >::StateArg = Moose::StateArg |
Definition at line 37 of file CellCenteredMapFunctor.h.
CellCenteredMapFunctor< T, Map >::CellCenteredMapFunctor | ( | const MooseMesh & | mesh, |
const std::string & | name, | ||
const bool | extrapolated_boundary | ||
) |
Use this constructor when you want the object to live everywhere on the mesh.
Definition at line 92 of file CellCenteredMapFunctor.h.
CellCenteredMapFunctor< T, Map >::CellCenteredMapFunctor | ( | const MooseMesh & | mesh, |
const std::set< SubdomainID > & | sub_ids, | ||
const std::string & | name, | ||
const bool | extrapolated_boundary | ||
) |
Use this constructor if you want to potentially restrict this object to a specified set of subdomains/blocks.
Definition at line 100 of file CellCenteredMapFunctor.h.
|
overrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 145 of file CellCenteredMapFunctor.h.
|
overrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 172 of file CellCenteredMapFunctor.h.
|
overrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 182 of file CellCenteredMapFunctor.h.
|
overrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 218 of file CellCenteredMapFunctor.h.
|
overrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 225 of file CellCenteredMapFunctor.h.
|
overrideprivatevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 232 of file CellCenteredMapFunctor.h.
|
overrideprivatevirtual |
Reimplemented from Moose::FunctorBase< T >.
Definition at line 239 of file CellCenteredMapFunctor.h.
|
overrideprivatevirtual |
Reimplemented from Moose::FunctorBase< T >.
Definition at line 247 of file CellCenteredMapFunctor.h.
|
overridevirtual |
Reimplemented from Moose::FunctorBase< T >.
Definition at line 138 of file CellCenteredMapFunctor.h.
bool CellCenteredMapFunctor< T, Map >::hasBlocks | ( | const Elem * | elem | ) | const |
Checks whether we are defined on the provided element.
Definition at line 128 of file CellCenteredMapFunctor.h.
|
overridevirtual |
Reimplemented from Moose::FunctorBase< T >.
Definition at line 113 of file CellCenteredMapFunctor.h.
|
inlinefinaloverridevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 67 of file CellCenteredMapFunctor.h.
|
inlinefinaloverridevirtual |
Implements Moose::FunctorBase< T >.
Definition at line 66 of file CellCenteredMapFunctor.h.
|
private |
Definition at line 77 of file CellCenteredMapFunctor.h.
|
private |
The mesh that this functor lives on.
Definition at line 71 of file CellCenteredMapFunctor.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 75 of file CellCenteredMapFunctor.h.