This class uses implementations of CompositeSeriesBasisInterface to generate a function based on convolved function series. More...
#include <FunctionSeries.h>
Public Types | |
| typedef DataFileName | DataFileParameterType |
| typedef FunctorBase< Real > | FunctorType |
| typedef Real | ValueType |
| typedef typename FunctorReturnType< Real, FunctorEvaluationKind::Gradient >::type | GradientType |
| typedef ValueType | DotType |
Public Member Functions | |
| FunctionSeries (const InputParameters ¶meters) | |
| virtual Real | evaluateValue (Real t, const Point &p) override |
| Used in derived classes, equivalent to Function::value() | |
| Real | expand () |
| Expand the function series at the current location and with the current coefficients. | |
| Real | expand (const std::vector< Real > &coefficients) |
| Expand the function using the provided coefficients at the current location. | |
| std::size_t | getNumberOfTerms () const |
| Returns the number of terms (coefficients) in the underlying function series. | |
| Real | getStandardizedFunctionVolume () const |
| Returns the volume of evaluation in the functional series standardized space. | |
| const std::vector< std::size_t > & | getOrders () const |
| Returns a vector of the functional orders in the underlying functional series. | |
| const std::vector< Real > & | getGeneration () |
| Returns a vector of the generation-evaluated functional series at the current location. | |
| const std::vector< Real > & | getExpansion () |
| Returns a vector of the expansion-evaluated functional series at the current location. | |
| bool | isInPhysicalBounds (const Point &point) const |
| Returns true if the provided point is within the set physical boundaries. | |
| void | setLocation (const Point &point) |
| Set the current evaluation location. | |
| virtual void | meshChanged () override |
| void | useCache (bool use) |
| Enable/disable the cache. | |
| virtual Real | value (Real time, const Point &point) const final |
| virtual ADReal | value (const ADReal &time, const ADPoint &point) const final |
| virtual Real | value (Real t, const Point &p) const |
| virtual ADReal | value (const ADReal &t, const ADPoint &p) const |
| ChainedReal | value (const ChainedReal &t) const |
| auto | value (const U &t) const |
| auto | value (const U &t, const U &x, const U &y=0, const U &z=0) const |
| ChainedReal | value (const ChainedReal &t) const |
| auto | value (const U &t) const |
| auto | value (const U &t, const U &x, const U &y=0, const U &z=0) const |
| virtual RealVectorValue | vectorValue (Real t, const Point &p) const |
| virtual RealVectorValue | curl (Real t, const Point &p) const |
| virtual Real | div (Real t, const Point &p) const |
| virtual RealGradient | gradient (Real t, const Point &p) 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 |
| 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 |
| virtual Real | timeDerivative (Real t, const Point &p) const |
| auto | timeDerivative (const U &t) const |
| auto | timeDerivative (const U &t, const U &x, const U &y=0, const U &z=0) const |
| auto | timeDerivative (const U &t) const |
| auto | timeDerivative (const U &t, const U &x, const U &y=0, const U &z=0) const |
| virtual Real | integral () const |
| virtual Real | average () const |
| virtual Real | timeIntegral (Real t1, Real t2, const Point &p) const |
| void | timestepSetup () override |
| void | residualSetup () override final |
| void | jacobianSetup () override final |
| void | customSetup (const ExecFlagType &exec_type) override final |
| bool | hasBlocks (SubdomainID) const override |
| bool | supportsFaceArg () const override final |
| bool | supportsElemSideQpArg () const override final |
| virtual bool | enabled () const |
| std::shared_ptr< MooseObject > | getSharedPtr () |
| std::shared_ptr< const MooseObject > | getSharedPtr () const |
| bool | isKokkosObject () const |
| MooseApp & | getMooseApp () const |
| const std::string & | type () const |
| const std::string & | name () const |
| std::string | typeAndName () const |
| MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
| MooseObjectName | uniqueName () const |
| const InputParameters & | parameters () const |
| const hit::Node * | getHitNode () const |
| bool | hasBase () const |
| const std::string & | getBase () const |
| const T & | getParam (const std::string &name) const |
| std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
| const T * | queryParam (const std::string &name) const |
| const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
| T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
| bool | isParamValid (const std::string &name) const |
| bool | isParamSetByUser (const std::string &name) const |
| void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
| void | paramError (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramInfo (const std::string ¶m, Args... args) const |
| std::string | messagePrefix (const bool hit_prefix=true) const |
| std::string | errorPrefix (const std::string &) const |
| void | mooseError (Args &&... args) const |
| void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
| void | mooseErrorNonPrefixed (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseDeprecatedNoTrace (Args &&... args) const |
| void | mooseInfo (Args &&... args) const |
| void | callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr, const bool show_trace=true) const |
| std::string | getDataFileName (const std::string ¶m) const |
| std::string | getDataFileNameByName (const std::string &relative_path) const |
| std::string | getDataFilePath (const std::string &relative_path) const |
| virtual void | initialSetup () |
| virtual void | subdomainSetup () |
| const ExecFlagEnum & | getExecuteOnEnum () const |
| bool | isImplicit () |
| Moose::StateArg | determineState () const |
| bool | isDefaultPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
| bool | hasPostprocessor (const std::string ¶m_name, const unsigned int index=0) const |
| bool | hasPostprocessorByName (const PostprocessorName &name) const |
| std::size_t | coupledPostprocessors (const std::string ¶m_name) const |
| const PostprocessorName & | getPostprocessorName (const std::string ¶m_name, const unsigned int index=0) const |
| UserObjectName | getUserObjectName (const std::string ¶m_name) const |
| const T & | getUserObject (const std::string ¶m_name, bool is_dependency=true) const |
| const T & | getUserObjectByName (const UserObjectName &object_name, bool is_dependency=true) const |
| const UserObjectBase & | getUserObjectBase (const std::string ¶m_name, bool is_dependency=true) const |
| const UserObjectBase & | getUserObjectBaseByName (const UserObjectName &object_name, bool is_dependency=true) const |
| const std::vector< MooseVariableScalar * > & | getCoupledMooseScalarVars () |
| const std::set< TagID > & | getScalarVariableCoupleableVectorTags () const |
| const std::set< TagID > & | getScalarVariableCoupleableMatrixTags () const |
| FunctorReturnType< Real, FET >::type | genericEvaluate (const Space &r, const State &state) const |
| const MooseFunctorName & | functorName () const |
| void | setCacheClearanceSchedule (const std::set< ExecFlagType > &clearance_schedule) |
| virtual bool | isExtrapolatedBoundaryFace (const FaceInfo &, const Elem *, const StateArg &) const |
| 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 |
| const PostprocessorValue & | getPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
| const PostprocessorValue & | getPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
| const PostprocessorValue & | getPostprocessorValueOld (const std::string ¶m_name, const unsigned int index=0) const |
| const PostprocessorValue & | getPostprocessorValueOld (const std::string ¶m_name, const unsigned int index=0) const |
| const PostprocessorValue & | getPostprocessorValueOlder (const std::string ¶m_name, const unsigned int index=0) const |
| const PostprocessorValue & | getPostprocessorValueOlder (const std::string ¶m_name, const unsigned int index=0) const |
| virtual const PostprocessorValue & | getPostprocessorValueByName (const PostprocessorName &name) const |
| virtual const PostprocessorValue & | getPostprocessorValueByName (const PostprocessorName &name) const |
| const PostprocessorValue & | getPostprocessorValueOldByName (const PostprocessorName &name) const |
| const PostprocessorValue & | getPostprocessorValueOldByName (const PostprocessorName &name) const |
| const PostprocessorValue & | getPostprocessorValueOlderByName (const PostprocessorName &name) const |
| const PostprocessorValue & | getPostprocessorValueOlderByName (const PostprocessorName &name) const |
| bool | hasUserObject (const std::string ¶m_name) const |
| bool | hasUserObject (const std::string ¶m_name) const |
| bool | hasUserObject (const std::string ¶m_name) const |
| bool | hasUserObject (const std::string ¶m_name) const |
| bool | hasUserObjectByName (const UserObjectName &object_name) const |
| bool | hasUserObjectByName (const UserObjectName &object_name) const |
| bool | hasUserObjectByName (const UserObjectName &object_name) const |
| bool | hasUserObjectByName (const UserObjectName &object_name) 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| const Parallel::Communicator & | comm () const |
| processor_id_type | n_processors () const |
| processor_id_type | processor_id () const |
| Real | operator[] (std::size_t index) const |
| Get the value of the coefficient at the corresponding index. | |
| const std::vector< std::size_t > & | getCharacteristics () const |
| Get a reference to the characteristics array. | |
| const std::vector< Real > & | getCoefficients () const |
| Get a read-only reference to the vector of coefficients. | |
| std::vector< Real > & | getCoefficients () |
| Get a writeable reference to the vector of coefficients. | |
| std::string | getCoefficientsTable () const |
| Get a formatted string of the coefficients. | |
| std::size_t | getSize () const |
| Get the size, aka number of coefficients. | |
| bool | isCompatibleWith (const MutableCoefficientsInterface &other) const |
| Checks to see if another instance is compatible. | |
| bool | isSizeEnforced () const |
| Returns true if the size of the coefficient array is fixed and enforced. | |
| void | enforceSize (bool enforce) |
| Toggle whether the size of the coefficient array can be changed. | |
| void | importCoefficients (const MutableCoefficientsInterface &other) |
| Import the coefficients from another instance. | |
| void | resize (std::size_t size, Real fill=0.0, bool fill_out_to_size=true) |
| Resize the array, using the value for fill if the new size is larger. | |
| void | setCharacteristics (const std::vector< std::size_t > &new_characteristics) |
| Sets the characteristics array. | |
| void | setCoefficients (const std::vector< Real > &new_coefficients) |
| Set the coefficients using a copy operation. | |
| void | setCoefficients (std::vector< Real > &&dropin_coefficients) |
| Set the coefficients using a move operation (only works with temp objects) | |
Static Public Member Functions | |
| static InputParameters | validParams () |
| static FunctionSeries & | checkAndConvertFunction (const Function &function, const std::string &typeName, const std::string &objectName) |
| Static function to cast a Function to SeriesFunction. | |
| static void | callMooseError (MooseApp *const app, const InputParameters ¶ms, std::string msg, const bool with_prefix, const hit::Node *node, const bool show_trace=true) |
Public Attributes | |
| usingCombinedWarningSolutionWarnings | |
| const ConsoleStream | _console |
Static Public Attributes | |
| static const std::string | type_param |
| static const std::string | name_param |
| static const std::string | unique_name_param |
| static const std::string | app_param |
| static const std::string | moose_base_param |
| static const std::string | kokkos_object_param |
Protected Member Functions | |
| virtual void | coefficientsChanged () override |
| Called when the coefficients have been changed. | |
| void | invalidateCache () |
| Called by derived classes to invalidate the cache, perhaps due to a state change. | |
| void | flagInvalidSolutionInternal (const InvalidSolutionID invalid_solution_id) const |
| InvalidSolutionID | registerInvalidSolutionInternal (const std::string &message, const bool warning) const |
| virtual void | addPostprocessorDependencyHelper (const PostprocessorName &) const |
| virtual void | addUserObjectDependencyHelper (const UserObjectBase &) const |
| T & | declareRestartableData (const std::string &data_name, Args &&... args) |
| ManagedValue< T > | declareManagedRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args) |
| const T & | getRestartableData (const std::string &data_name) const |
| T & | declareRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args) |
| T & | declareRecoverableData (const std::string &data_name, Args &&... args) |
| T & | declareRestartableDataWithObjectName (const std::string &data_name, const std::string &object_name, Args &&... args) |
| T & | declareRestartableDataWithObjectNameWithContext (const std::string &data_name, const std::string &object_name, void *context, Args &&... args) |
| std::string | restartableName (const std::string &data_name) const |
| bool | isCoupledScalar (const std::string &var_name, unsigned int i=0) const |
| unsigned int | coupledScalarComponents (const std::string &var_name) const |
| unsigned int | coupledScalar (const std::string &var_name, unsigned int comp=0) const |
| libMesh::Order | coupledScalarOrder (const std::string &var_name, unsigned int comp=0) const |
| const VariableValue & | coupledScalarValue (const std::string &var_name, unsigned int comp=0) const |
| const ADVariableValue & | adCoupledScalarValue (const std::string &var_name, unsigned int comp=0) const |
| const GenericVariableValue< is_ad > & | coupledGenericScalarValue (const std::string &var_name, unsigned int comp=0) const |
| const GenericVariableValue< false > & | coupledGenericScalarValue (const std::string &var_name, const unsigned int comp) const |
| const GenericVariableValue< true > & | coupledGenericScalarValue (const std::string &var_name, const unsigned int comp) const |
| const VariableValue & | coupledVectorTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const |
| const VariableValue & | coupledMatrixTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const |
| const VariableValue & | coupledScalarValueOld (const std::string &var_name, unsigned int comp=0) const |
| const VariableValue & | coupledScalarValueOlder (const std::string &var_name, unsigned int comp=0) const |
| const VariableValue & | coupledScalarDot (const std::string &var_name, unsigned int comp=0) const |
| const ADVariableValue & | adCoupledScalarDot (const std::string &var_name, unsigned int comp=0) const |
| const VariableValue & | coupledScalarDotDot (const std::string &var_name, unsigned int comp=0) const |
| const VariableValue & | coupledScalarDotOld (const std::string &var_name, unsigned int comp=0) const |
| const VariableValue & | coupledScalarDotDotOld (const std::string &var_name, unsigned int comp=0) const |
| const VariableValue & | coupledScalarDotDu (const std::string &var_name, unsigned int comp=0) const |
| const VariableValue & | coupledScalarDotDotDu (const std::string &var_name, unsigned int comp=0) const |
| const MooseVariableScalar * | getScalarVar (const std::string &var_name, unsigned int comp) const |
| virtual GradientType | evaluateGradDot (const ElemArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const FaceArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemQpArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemSideQpArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemPointArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const NodeArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const FaceArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemQpArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemSideQpArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemPointArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const NodeArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const FaceArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemQpArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemSideQpArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const ElemPointArg &, const StateArg &) const |
| virtual GradientType | evaluateGradDot (const NodeArg &, const StateArg &) const |
| const Function & | getFunction (const std::string &name) const |
| const Function & | getFunctionByName (const FunctionName &name) const |
| bool | hasFunction (const std::string ¶m_name) const |
| bool | hasFunctionByName (const FunctionName &name) const |
| Moose::Kokkos::Function | getKokkosFunction (const std::string &name) const |
| const T & | getKokkosFunction (const std::string &name) const |
| Moose::Kokkos::Function | getKokkosFunctionByName (const FunctionName &name) const |
| const T & | getKokkosFunctionByName (const FunctionName &name) const |
| bool | hasKokkosFunction (const std::string ¶m_name) const |
| bool | hasKokkosFunctionByName (const FunctionName &name) const |
Protected Attributes | |
| const std::vector< std::size_t > | _orders |
| The vector holding the orders of each single series. | |
| const std::vector< Real > | _physical_bounds |
| The physical bounds of the function series. | |
| std::unique_ptr< CompositeSeriesBasisInterface > | _series_type |
| Stores a pointer to the functional series object. | |
| const MooseEnum & | _series_type_name |
| Stores the name of the current functional series type. | |
| const MooseEnum & | _x |
| Stores the name of the single function series to use in the x direction. | |
| const MooseEnum & | _y |
| Stores the name of the single function series to use in the y direction. | |
| const MooseEnum & | _z |
| Stores the name of the single function series to use in the z direction. | |
| const MooseEnum & | _disc |
| Stores the name of the single function series to use for a unit disc. | |
| const MooseEnum & | _expansion_type |
| The normalization type for expansion. | |
| const MooseEnum & | _generation_type |
| The normalization type for generation. | |
| const bool & | _enabled |
| MooseApp & | _app |
| Factory & | _factory |
| ActionFactory & | _action_factory |
| const std::string & | _type |
| const std::string & | _name |
| const InputParameters & | _pars |
| const ExecFlagEnum & | _execute_enum |
| const ExecFlagType & | _current_execute_flag |
| const InputParameters & | _ti_params |
| FEProblemBase & | _ti_feproblem |
| bool | _is_implicit |
| Real & | _t |
| const Real & | _t_old |
| int & | _t_step |
| Real & | _dt |
| Real & | _dt_old |
| bool | _is_transient |
| MooseApp & | _restartable_app |
| const std::string | _restartable_system_name |
| const THREAD_ID | _restartable_tid |
| const bool | _restartable_read_only |
| FEProblemBase & | _mci_feproblem |
| FEProblemBase & | _sc_fe_problem |
| const THREAD_ID | _sc_tid |
| const Real & | _real_zero |
| const VariableValue & | _scalar_zero |
| const Point & | _point_zero |
| const Parallel::Communicator & | _communicator |
| std::vector< std::size_t > & | _characteristics |
| An array of integer characteristics that can be used to check compatibility. | |
| std::vector< Real > & | _coefficients |
| The coefficient array. | |
| bool | _enforce_size |
| Boolean that locks or allows resizing of the coefficient array. | |
| const bool | _print_coefficients |
| Boolean to flag if the coefficients should be printed when set. | |
Private Types | |
| typedef Moose::ElemArg | ElemArg |
| typedef Moose::ElemQpArg | ElemQpArg |
| typedef Moose::ElemSideQpArg | ElemSideQpArg |
| typedef Moose::FaceArg | FaceArg |
| typedef Moose::ElemPointArg | ElemPointArg |
| typedef Moose::NodeArg | NodeArg |
Private Member Functions | |
| ValueType | evaluateHelper (const R &r, const Moose::StateArg &state) const |
| ValueType | evaluate (const ElemArg &elem, const Moose::StateArg &state) const override final |
| ValueType | evaluate (const FaceArg &face, const Moose::StateArg &state) const override final |
| ValueType | evaluate (const ElemQpArg &qp, const Moose::StateArg &state) const override final |
| ValueType | evaluate (const ElemSideQpArg &elem_side_qp, const Moose::StateArg &state) const override final |
| ValueType | evaluate (const ElemPointArg &elem_point, const Moose::StateArg &state) const override final |
| ValueType | evaluate (const NodeArg &node, const Moose::StateArg &state) const override final |
| GradientType | evaluateGradientHelper (const R &r, const Moose::StateArg &state) const |
| GradientType | evaluateGradient (const ElemArg &elem, const Moose::StateArg &state) const override final |
| GradientType | evaluateGradient (const FaceArg &face, const Moose::StateArg &state) const override final |
| GradientType | evaluateGradient (const ElemQpArg &qp, const Moose::StateArg &state) const override final |
| GradientType | evaluateGradient (const ElemSideQpArg &elem_side_qp, const Moose::StateArg &state) const override final |
| GradientType | evaluateGradient (const ElemPointArg &elem_point, const Moose::StateArg &state) const override final |
| GradientType | evaluateGradient (const NodeArg &node, const Moose::StateArg &state) const override final |
| DotType | evaluateDotHelper (const R &r, const Moose::StateArg &state) const |
| DotType | evaluateDot (const ElemArg &elem, const Moose::StateArg &state) const override final |
| DotType | evaluateDot (const FaceArg &face, const Moose::StateArg &state) const override final |
| DotType | evaluateDot (const ElemQpArg &qp, const Moose::StateArg &state) const override final |
| DotType | evaluateDot (const ElemSideQpArg &elem_side_qp, const Moose::StateArg &state) const override final |
| DotType | evaluateDot (const ElemPointArg &elem_point, const Moose::StateArg &state) const override final |
| DotType | evaluateDot (const NodeArg &node, const Moose::StateArg &state) const override final |
| const PostprocessorName & | getPostprocessorNameInternal (const std::string ¶m_name, const unsigned int index, const bool allow_default_value=true) const |
| bool | isDefaultPostprocessorValueByName (const PostprocessorName &name) const |
| PostprocessorValue | getDefaultPostprocessorValueByName (const PostprocessorName &name) const |
| void | checkParam (const std::string ¶m_name, const unsigned int index=std::numeric_limits< unsigned int >::max()) const |
| bool | postprocessorsAdded () const |
| const UserObjectBase & | getUserObjectFromFEProblem (const UserObjectName &object_name, const THREAD_ID tid=0) const |
| const T & | castUserObject (const UserObjectBase &uo_base, const std::string ¶m_name="") const |
| void | mooseObjectError (const std::string ¶m_name, std::stringstream &oss) const |
| const std::string & | userObjectType (const UserObjectBase &uo) const |
| const std::string & | userObjectName (const UserObjectBase &uo) const |
| RestartableDataValue & | registerRestartableDataOnApp (std::unique_ptr< RestartableDataValue > data, THREAD_ID tid) const |
| void | registerRestartableNameWithFilterOnApp (const std::string &name, Moose::RESTARTABLE_FILTER filter) |
| RestartableData< T > & | declareRestartableDataHelper (const std::string &data_name, void *context, Args &&... args) const |
| const VariableValue * | getDefaultValue (const std::string &var_name) const |
| const ADVariableValue * | getADDefaultValue (const std::string &var_name) const |
| void | checkVar (const std::string &var_name) const |
| void | validateExecutionerType (const std::string &name, const std::string &fn_name) const |
| void | clearCacheData () |
| ValueType | queryQpCache (unsigned int qp, const libMesh::QBase &qrule, std::vector< std::pair< bool, Real > > &qp_cache_data, const SpaceArg &space, const StateArg &state) const |
| ValueType | queryFVArgCache (std::map< SpaceArg, ValueType > &cache_data, const SpaceArg &space) const |
| const PostprocessorValue & | getPostprocessorValueInternal (const std::string ¶m_name, unsigned int index, std::size_t t_index) const |
| const PostprocessorValue & | getPostprocessorValueInternal (const std::string ¶m_name, unsigned int index, std::size_t t_index) const |
| const PostprocessorValue & | getPostprocessorValueByNameInternal (const PostprocessorName &name, std::size_t t_index) const |
| const PostprocessorValue & | getPostprocessorValueByNameInternal (const PostprocessorName &name, std::size_t t_index) const |
| const Moose::FunctionBase * | getKokkosFunctionByNameHelper (const FunctionName &name) const |
Static Private Member Functions | |
| static std::vector< std::size_t > | convertOrders (const std::vector< unsigned int > &orders) |
Static function to convert an array of unsigned int to std::size_t. | |
| static const hit::Node * | getHitNode (const InputParameters ¶ms) |
| static std::string | messagePrefix (const InputParameters ¶ms, const bool hit_prefix) |
Private Attributes | |
| std::unordered_map< hashing::HashValue, Real > | _cache |
| Cached evaluations for each point. | |
| Real | _current_time |
| Stores the time evaluation of the cache. | |
| bool | _enable_cache |
| Flag for whether to cache values. | |
| bool | _respect_time |
| Flag for whether changes in time invalidate the cache. | |
| const ParallelParamObject & | _parent |
| const MooseBase & | _si_moose_base |
| const FEProblemBase * | _si_problem |
| ExecFlagEnum | _empty_execute_enum |
| const std::string | _ti_name |
| const MooseObject & | _ppi_moose_object |
| const InputParameters & | _ppi_params |
| const FEProblemBase & | _ppi_feproblem |
| std::map< PostprocessorName, std::unique_ptr< PostprocessorValue > > | _default_values |
| const MooseObject & | _uoi_moose_object |
| const FEProblemBase & | _uoi_feproblem |
| const THREAD_ID | _uoi_tid |
| const RestartableDataMapName | _metaname |
| std::string | _restartable_name |
| const InputParameters & | _sc_parameters |
| const std::string & | _sc_name |
| const bool | _sc_is_implicit |
| std::unordered_map< std::string, std::vector< MooseVariableScalar * > > | _coupled_scalar_vars |
| std::unordered_map< std::string, std::unique_ptr< VariableValue > > | _default_value |
| std::unordered_map< std::string, std::unique_ptr< ADVariableValue > > | _dual_default_value |
| std::vector< MooseVariableScalar * > | _coupled_moose_scalar_vars |
| std::unordered_map< std::string, std::vector< MooseVariableFieldBase * > > | _sc_coupled_vars |
| std::set< TagID > | _sc_coupleable_vector_tags |
| std::set< TagID > | _sc_coupleable_matrix_tags |
| 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 |
| const MooseObject & | _fni_object |
| const InputParameters & | _fni_params |
| FEProblemBase & | _fni_feproblem |
| const THREAD_ID | _fni_tid |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const FunctionSeries &me) |
| Returns a tabularized text stream of the currently stored coefficients. | |
This class uses implementations of CompositeSeriesBasisInterface to generate a function based on convolved function series.
Its inheritance tree includes MutableCoefficientsInterface, which enables easy MultiApp transfers of coefficients.
Definition at line 20 of file FunctionSeries.h.
| FunctionSeries::FunctionSeries | ( | const InputParameters & | parameters | ) |
Definition at line 74 of file FunctionSeries.C.
|
static |
Static function to cast a Function to SeriesFunction.
Definition at line 174 of file FunctionSeries.C.
Referenced by FunctionSeriesToAux::FunctionSeriesToAux(), FXFluxBC::FXFluxBC(), FXValueBC::FXValueBC(), and FXValuePenaltyBC::FXValuePenaltyBC().
|
overrideprotectedvirtualinherited |
Called when the coefficients have been changed.
Reimplemented from MutableCoefficientsInterface.
Definition at line 38 of file MutableCoefficientsFunctionInterface.C.
|
staticprivate |
Static function to convert an array of unsigned int to std::size_t.
The MOOSE parser has issues reading a list of integers in as std::size_t (unsigned long), so this workaround is required in order to set _orders in the constructor initializer list.
Definition at line 289 of file FunctionSeries.C.
|
inherited |
Toggle whether the size of the coefficient array can be changed.
Definition at line 111 of file MutableCoefficientsInterface.C.
Referenced by FunctionSeries(), and MutableCoefficientsFunctionInterface::MutableCoefficientsFunctionInterface().
|
overridevirtual |
Used in derived classes, equivalent to Function::value()
Implements MemoizedFunctionInterface.
Definition at line 249 of file FunctionSeries.C.
| Real FunctionSeries::expand | ( | ) |
Expand the function series at the current location and with the current coefficients.
Definition at line 262 of file FunctionSeries.C.
Referenced by evaluateValue(), and expand().
| Real FunctionSeries::expand | ( | const std::vector< Real > & | coefficients | ) |
Expand the function using the provided coefficients at the current location.
Definition at line 268 of file FunctionSeries.C.
|
inherited |
Get a reference to the characteristics array.
Definition at line 51 of file MutableCoefficientsInterface.C.
|
inherited |
Get a writeable reference to the vector of coefficients.
Definition at line 63 of file MutableCoefficientsInterface.C.
|
inherited |
Get a read-only reference to the vector of coefficients.
Definition at line 57 of file MutableCoefficientsInterface.C.
|
inherited |
Get a formatted string of the coefficients.
Definition at line 69 of file MutableCoefficientsInterface.C.
| const std::vector< Real > & FunctionSeries::getExpansion | ( | ) |
Returns a vector of the expansion-evaluated functional series at the current location.
Definition at line 226 of file FunctionSeries.C.
Referenced by expand().
| const std::vector< Real > & FunctionSeries::getGeneration | ( | ) |
Returns a vector of the generation-evaluated functional series at the current location.
Definition at line 215 of file FunctionSeries.C.
| std::size_t FunctionSeries::getNumberOfTerms | ( | ) | const |
Returns the number of terms (coefficients) in the underlying function series.
Definition at line 198 of file FunctionSeries.C.
Referenced by FunctionSeries(), and FXIntegralBaseUserObject< IntegralBaseVariableUserObject >::FXIntegralBaseUserObject().
| const std::vector< size_t > & FunctionSeries::getOrders | ( | ) | const |
Returns a vector of the functional orders in the underlying functional series.
Definition at line 204 of file FunctionSeries.C.
Referenced by FXIntegralBaseUserObject< IntegralBaseVariableUserObject >::FXIntegralBaseUserObject().
|
inherited |
Get the size, aka number of coefficients.
Definition at line 80 of file MutableCoefficientsInterface.C.
Referenced by MutableCoefficientsInterface::isCompatibleWith().
| Real FunctionSeries::getStandardizedFunctionVolume | ( | ) | const |
Returns the volume of evaluation in the functional series standardized space.
Definition at line 192 of file FunctionSeries.C.
|
inherited |
Import the coefficients from another instance.
Definition at line 117 of file MutableCoefficientsInterface.C.
Referenced by MultiAppFXTransfer::execute().
|
protectedinherited |
Called by derived classes to invalidate the cache, perhaps due to a state change.
Definition at line 89 of file MemoizedFunctionInterface.C.
Referenced by MutableCoefficientsFunctionInterface::coefficientsChanged(), MemoizedFunctionInterface::meshChanged(), MemoizedFunctionInterface::useCache(), and MemoizedFunctionInterface::value().
|
inherited |
Checks to see if another instance is compatible.
Definition at line 86 of file MutableCoefficientsInterface.C.
Referenced by MultiAppFXTransfer::execute(), and MutableCoefficientsInterface::importCoefficients().
| bool FunctionSeries::isInPhysicalBounds | ( | const Point & | point | ) | const |
Returns true if the provided point is within the set physical boundaries.
Definition at line 237 of file FunctionSeries.C.
Referenced by evaluateValue().
|
inherited |
Returns true if the size of the coefficient array is fixed and enforced.
Definition at line 105 of file MutableCoefficientsInterface.C.
|
overridevirtualinherited |
Reimplemented from Function.
Definition at line 39 of file MemoizedFunctionInterface.C.
|
inherited |
Get the value of the coefficient at the corresponding index.
Definition at line 45 of file MutableCoefficientsInterface.C.
|
inherited |
Resize the array, using the value for fill if the new size is larger.
Definition at line 131 of file MutableCoefficientsInterface.C.
Referenced by FunctionSeries(), and FXIntegralBaseUserObject< IntegralBaseVariableUserObject >::FXIntegralBaseUserObject().
|
inherited |
Sets the characteristics array.
Definition at line 149 of file MutableCoefficientsInterface.C.
Referenced by FunctionSeries().
|
inherited |
Set the coefficients using a copy operation.
Definition at line 156 of file MutableCoefficientsInterface.C.
Referenced by MutableCoefficientsFunctionInterface::MutableCoefficientsFunctionInterface().
|
inherited |
Set the coefficients using a move operation (only works with temp objects)
Definition at line 171 of file MutableCoefficientsInterface.C.
| void FunctionSeries::setLocation | ( | const Point & | point | ) |
Set the current evaluation location.
Definition at line 243 of file FunctionSeries.C.
Referenced by evaluateValue().
|
inherited |
Enable/disable the cache.
Definition at line 80 of file MemoizedFunctionInterface.C.
Referenced by FXFluxBC::FXFluxBC(), FXValueBC::FXValueBC(), and FXValuePenaltyBC::FXValuePenaltyBC().
|
static |
Definition at line 20 of file FunctionSeries.C.
Reimplemented from Function.
|
finalvirtualinherited |
Reimplemented from Function.
Definition at line 74 of file MemoizedFunctionInterface.C.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
virtualinherited |
Reimplemented from Function.
|
finalvirtualinherited |
Reimplemented from Function.
Definition at line 46 of file MemoizedFunctionInterface.C.
|
friend |
Returns a tabularized text stream of the currently stored coefficients.
Definition at line 276 of file FunctionSeries.C.
|
mutableprivateinherited |
Cached evaluations for each point.
Definition at line 58 of file MemoizedFunctionInterface.h.
Referenced by MemoizedFunctionInterface::invalidateCache(), and MemoizedFunctionInterface::value().
|
protectedinherited |
An array of integer characteristics that can be used to check compatibility.
Definition at line 108 of file MutableCoefficientsInterface.h.
Referenced by FXIntegralBaseUserObject< IntegralBaseVariableUserObject >::FXIntegralBaseUserObject(), MutableCoefficientsInterface::getCharacteristics(), MutableCoefficientsInterface::isCompatibleWith(), and MutableCoefficientsInterface::setCharacteristics().
|
protectedinherited |
The coefficient array.
Definition at line 111 of file MutableCoefficientsInterface.h.
Referenced by expand(), FXIntegralBaseUserObject< IntegralBaseVariableUserObject >::FXIntegralBaseUserObject(), MutableCoefficientsInterface::getCoefficients(), MutableCoefficientsInterface::getCoefficients(), MutableCoefficientsInterface::getSize(), MutableCoefficientsInterface::importCoefficients(), MutableCoefficientsInterface::operator[](), MutableCoefficientsInterface::resize(), MutableCoefficientsInterface::setCoefficients(), and MutableCoefficientsInterface::setCoefficients().
|
mutableprivateinherited |
Stores the time evaluation of the cache.
Definition at line 61 of file MemoizedFunctionInterface.h.
Referenced by MemoizedFunctionInterface::value().
|
protected |
Stores the name of the single function series to use for a unit disc.
Definition at line 111 of file FunctionSeries.h.
Referenced by FunctionSeries().
|
privateinherited |
Flag for whether to cache values.
Definition at line 64 of file MemoizedFunctionInterface.h.
Referenced by MemoizedFunctionInterface::useCache(), and MemoizedFunctionInterface::value().
|
protectedinherited |
Boolean that locks or allows resizing of the coefficient array.
Definition at line 114 of file MutableCoefficientsInterface.h.
Referenced by MutableCoefficientsInterface::enforceSize(), MutableCoefficientsInterface::isCompatibleWith(), MutableCoefficientsInterface::isSizeEnforced(), MutableCoefficientsInterface::resize(), MutableCoefficientsInterface::setCoefficients(), and MutableCoefficientsInterface::setCoefficients().
|
protected |
The normalization type for expansion.
Definition at line 113 of file FunctionSeries.h.
Referenced by FunctionSeries().
|
protected |
The normalization type for generation.
Definition at line 115 of file FunctionSeries.h.
Referenced by FunctionSeries().
|
protected |
The vector holding the orders of each single series.
Definition at line 89 of file FunctionSeries.h.
Referenced by FunctionSeries(), and getOrders().
|
protected |
The physical bounds of the function series.
Definition at line 92 of file FunctionSeries.h.
Referenced by FunctionSeries().
|
protectedinherited |
Boolean to flag if the coefficients should be printed when set.
Definition at line 117 of file MutableCoefficientsInterface.h.
Referenced by MutableCoefficientsInterface::importCoefficients(), MutableCoefficientsInterface::resize(), MutableCoefficientsInterface::setCoefficients(), and MutableCoefficientsInterface::setCoefficients().
|
privateinherited |
Flag for whether changes in time invalidate the cache.
Definition at line 67 of file MemoizedFunctionInterface.h.
Referenced by MemoizedFunctionInterface::value().
|
protected |
Stores a pointer to the functional series object.
Definition at line 95 of file FunctionSeries.h.
Referenced by FunctionSeries(), getExpansion(), getGeneration(), getNumberOfTerms(), getStandardizedFunctionVolume(), isInPhysicalBounds(), and setLocation().
|
protected |
Stores the name of the current functional series type.
Definition at line 98 of file FunctionSeries.h.
Referenced by FunctionSeries().
|
protected |
Stores the name of the single function series to use in the x direction.
Definition at line 105 of file FunctionSeries.h.
Referenced by FunctionSeries().
|
protected |
Stores the name of the single function series to use in the y direction.
Definition at line 107 of file FunctionSeries.h.
Referenced by FunctionSeries().
|
protected |
Stores the name of the single function series to use in the z direction.
Definition at line 109 of file FunctionSeries.h.
Referenced by FunctionSeries().