Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
ThermocoupleSensorPostprocessor Class Referenceabstract

A Thermocouple Sensor Postprocessor that allows the user to characterize a thermocouple's response by imposing noise, delay, drift, efficiency and uncertainty. More...

#include <ThermocoupleSensorPostprocessor.h>

Inheritance diagram for ThermocoupleSensorPostprocessor:
[legend]

Public Types

typedef DataFileName DataFileParameterType
 
typedef FunctorBase< RealFunctorType
 
typedef Real ValueType
 
typedef typename FunctorReturnType< Real, FunctorEvaluationKind::Gradient >::type GradientType
 
typedef ValueType DotType
 

Public Member Functions

 ThermocoupleSensorPostprocessor (const InputParameters &parameters)
 
virtual void initialize () override
 
virtual void execute () override
 
virtual PostprocessorValue getValue () const override
 
virtual PostprocessorValue getValue () const =0
 
virtual void finalize () override
 
SubProblemgetSubProblem () const
 
bool shouldDuplicateInitialExecution () const
 
virtual Real spatialValue (const Point &) const
 
virtual const std::vector< Point > spatialPoints () const
 
void gatherSum (T &value)
 
void gatherMax (T &value)
 
void gatherMin (T &value)
 
void gatherProxyValueMax (T1 &proxy, T2 &value)
 
void gatherProxyValueMin (T1 &proxy, T2 &value)
 
void setPrimaryThreadCopy (UserObject *primary)
 
UserObjectprimaryThreadCopy ()
 
std::set< UserObjectName > getDependObjects () const
 
virtual bool needThreadedCopy () const
 
const std::set< std::string > & getRequestedItems () override
 
const std::set< std::string > & getSuppliedItems () override
 
unsigned int systemNumber () const
 
virtual bool enabled () const
 
std::shared_ptr< MooseObjectgetSharedPtr ()
 
std::shared_ptr< const MooseObjectgetSharedPtr () const
 
MooseAppgetMooseApp () const
 
const std::string & type () const
 
virtual const std::string & name () const
 
std::string typeAndName () const
 
std::string errorPrefix (const std::string &error_type) const
 
void callMooseError (std::string msg, const bool with_prefix) const
 
MooseObjectParameterName uniqueParameterName (const std::string &parameter_name) const
 
const InputParametersparameters () const
 
MooseObjectName uniqueName () const
 
const T & getParam (const std::string &name) const
 
std::vector< std::pair< T1, T2 > > getParam (const std::string &param1, const std::string &param2) const
 
const T & getRenamedParam (const std::string &old_name, const std::string &new_name) const
 
getCheckedPointerParam (const std::string &name, const std::string &error_string="") const
 
bool isParamValid (const std::string &name) const
 
bool isParamSetByUser (const std::string &nm) const
 
void paramError (const std::string &param, Args... args) const
 
void paramWarning (const std::string &param, Args... args) const
 
void paramInfo (const std::string &param, Args... args) const
 
void connectControllableParams (const std::string &parameter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const
 
void mooseError (Args &&... args) const
 
void mooseErrorNonPrefixed (Args &&... args) const
 
void mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const
 
void mooseWarning (Args &&... args) const
 
void mooseWarningNonPrefixed (Args &&... args) const
 
void mooseDeprecated (Args &&... args) const
 
void mooseInfo (Args &&... args) const
 
std::string getDataFileName (const std::string &param) const
 
std::string getDataFileNameByName (const std::string &relative_path) const
 
std::string getDataFilePath (const std::string &relative_path) const
 
virtual void initialSetup ()
 
virtual void timestepSetup ()
 
virtual void timestepSetup () override
 
virtual void jacobianSetup ()
 
virtual void jacobianSetup () override
 
virtual void residualSetup ()
 
virtual void residualSetup () override
 
virtual void customSetup (const ExecFlagType &)
 
virtual void customSetup (const ExecFlagType &exec_type) override
 
const ExecFlagEnumgetExecuteOnEnum () const
 
UserObjectName getUserObjectName (const std::string &param_name) const
 
const T & getUserObject (const std::string &param_name, bool is_dependency=true) const
 
const T & getUserObjectByName (const UserObjectName &object_name, bool is_dependency=true) const
 
const UserObjectgetUserObjectBase (const std::string &param_name, bool is_dependency=true) const
 
const UserObjectgetUserObjectBaseByName (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
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, MaterialData &material_data, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, MaterialData &material_data, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, const unsigned int state=0)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name, MaterialData &material_data)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data, const unsigned int state)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name)
 
std::pair< const MaterialProperty< T > *, std::set< SubdomainID > > getBlockMaterialProperty (const MaterialPropertyName &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialProperty (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialProperty ()
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialPropertyByName (const std::string &prop_name)
 
const MaterialProperty< T > & getZeroMaterialProperty (Ts... args)
 
std::set< SubdomainIDgetMaterialPropertyBlocks (const std::string &name)
 
std::vector< SubdomainName > getMaterialPropertyBlockNames (const std::string &name)
 
std::set< BoundaryIDgetMaterialPropertyBoundaryIDs (const std::string &name)
 
std::vector< BoundaryName > getMaterialPropertyBoundaryNames (const std::string &name)
 
void checkBlockAndBoundaryCompatibility (std::shared_ptr< MaterialBase > discrete)
 
std::unordered_map< SubdomainID, std::vector< MaterialBase *> > buildRequiredMaterials (bool allow_stateful=true)
 
void statefulPropertiesAllowed (bool)
 
bool getMaterialPropertyCalled () const
 
const std::unordered_set< unsigned int > & getMatPropDependencies () const
 
virtual void resolveOptionalProperties ()
 
const GenericMaterialProperty< T, is_ad > & getPossiblyConstantGenericMaterialPropertyByName (const MaterialPropertyName &prop_name, MaterialData &material_data, const unsigned int state)
 
bool isImplicit ()
 
Moose::StateArg determineState () const
 
const PostprocessorValuegetCurrentValue () const
 
const std::string & PPName () const
 
virtual bool hasBlocks (SubdomainID) const override
 
bool supportsFaceArg () const override final
 
bool supportsElemSideQpArg () const override final
 
void buildOutputHideVariableList (std::set< std::string > variable_names)
 
const std::set< OutputName > & getOutputs ()
 
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
 
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
 
virtual void threadJoin (const UserObject &) override
 
virtual void threadJoin (const UserObject &) override
 
virtual void subdomainSetup () override
 
virtual void subdomainSetup () override
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_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
 
const GenericOptionalMaterialProperty< T, is_ad > & getGenericOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const GenericOptionalMaterialProperty< T, is_ad > & getGenericOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalMaterialProperty< T > & getOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalMaterialProperty< T > & getOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalADMaterialProperty< T > & getOptionalADMaterialProperty (const std::string &name)
 
const OptionalADMaterialProperty< T > & getOptionalADMaterialProperty (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOld (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOld (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOlder (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOlder (const std::string &name)
 
MaterialBasegetMaterial (const std::string &name)
 
MaterialBasegetMaterial (const std::string &name)
 
MaterialBasegetMaterialByName (const std::string &name, bool no_warn=false)
 
MaterialBasegetMaterialByName (const std::string &name, bool no_warn=false)
 
bool hasMaterialProperty (const std::string &name)
 
bool hasMaterialProperty (const std::string &name)
 
bool hasMaterialPropertyByName (const std::string &name)
 
bool hasMaterialPropertyByName (const std::string &name)
 
bool hasADMaterialProperty (const std::string &name)
 
bool hasADMaterialProperty (const std::string &name)
 
bool hasADMaterialPropertyByName (const std::string &name)
 
bool hasADMaterialPropertyByName (const std::string &name)
 
bool hasGenericMaterialProperty (const std::string &name)
 
bool hasGenericMaterialProperty (const std::string &name)
 
bool hasGenericMaterialPropertyByName (const std::string &name)
 
bool hasGenericMaterialPropertyByName (const std::string &name)
 
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
 
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
 
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 FunctiongetFunction (const std::string &name) const
 
const FunctiongetFunctionByName (const FunctionName &name) const
 
bool hasFunction (const std::string &param_name) const
 
bool hasFunctionByName (const FunctionName &name) const
 
bool isDefaultPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
bool hasPostprocessor (const std::string &param_name, const unsigned int index=0) const
 
bool hasPostprocessorByName (const PostprocessorName &name) const
 
std::size_t coupledPostprocessors (const std::string &param_name) const
 
const PostprocessorName & getPostprocessorName (const std::string &param_name, const unsigned int index=0) const
 
const VectorPostprocessorValuegetVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
bool hasVectorPostprocessor (const std::string &param_name, const std::string &vector_name) const
 
bool hasVectorPostprocessor (const std::string &param_name) const
 
bool hasVectorPostprocessorByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
bool hasVectorPostprocessorByName (const VectorPostprocessorName &name) const
 
const VectorPostprocessorName & getVectorPostprocessorName (const std::string &param_name) const
 
T & getSampler (const std::string &name)
 
SamplergetSampler (const std::string &name)
 
T & getSamplerByName (const SamplerName &name)
 
SamplergetSamplerByName (const SamplerName &name)
 
virtual void meshChanged ()
 
PerfGraphperfGraph ()
 
const PostprocessorValuegetPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOld (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOld (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOlder (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOlder (const std::string &param_name, const unsigned int index=0) const
 
virtual const PostprocessorValuegetPostprocessorValueByName (const PostprocessorName &name) const
 
virtual const PostprocessorValuegetPostprocessorValueByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOldByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOldByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOlderByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOlderByName (const PostprocessorName &name) const
 
bool isVectorPostprocessorDistributed (const std::string &param_name) const
 
bool isVectorPostprocessorDistributed (const std::string &param_name) const
 
bool isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const
 
bool isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const
 
const DistributiongetDistribution (const std::string &name) const
 
const T & getDistribution (const std::string &name) const
 
const DistributiongetDistribution (const std::string &name) const
 
const T & getDistribution (const std::string &name) const
 
const DistributiongetDistributionByName (const DistributionName &name) const
 
const T & getDistributionByName (const std::string &name) const
 
const DistributiongetDistributionByName (const DistributionName &name) const
 
const T & getDistributionByName (const std::string &name) const
 
const Parallel::Communicator & comm () const
 
processor_id_type n_processors () const
 
processor_id_type processor_id () const
 

Static Public Member Functions

static InputParameters validParams ()
 
static void sort (typename std::vector< T > &vector)
 
static void sortDFS (typename std::vector< T > &vector)
 
static void cyclicDependencyError (CyclicDependencyException< T2 > &e, const std::string &header)
 
static std::string deduceFunctorName (const std::string &name, const InputParameters &params)
 

Public Attributes

const ConsoleStream _console
 

Static Public Attributes

static constexpr PropertyValue::id_type default_property_id
 
static constexpr PropertyValue::id_type zero_property_id
 
static constexpr auto SYSTEM
 
static constexpr auto NAME
 

Protected Member Functions

virtual vector< RealgetRVector () override
 Function to calculate R vector. More...
 
std::vector< RealelementwiseMultiply (std::vector< Real > &vec1, std::vector< Real > &vec2)
 Function for element-wise multiplication of vectors. More...
 
Real getDelayedInputSignal ()
 Function to calculate delayed input signal. More...
 
Real getIntegral (std::vector< Real > integrand)
 Function to calculate integral term. More...
 
std::string deduceFunctorName (const std::string &name) const
 
virtual void addPostprocessorDependencyHelper (const PostprocessorName &name) const override
 
virtual void addVectorPostprocessorDependencyHelper (const VectorPostprocessorName &name) const override
 
virtual void addUserObjectDependencyHelper (const UserObject &uo) const override
 
void addReporterDependencyHelper (const ReporterName &reporter_name) override
 
const ReporterNamegetReporterName (const std::string &param_name) 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
 
const T & getMeshProperty (const std::string &data_name, const std::string &prefix)
 
const T & getMeshProperty (const std::string &data_name)
 
bool hasMeshProperty (const std::string &data_name, const std::string &prefix) const
 
bool hasMeshProperty (const std::string &data_name, const std::string &prefix) const
 
bool hasMeshProperty (const std::string &data_name) const
 
bool hasMeshProperty (const std::string &data_name) const
 
std::string meshPropertyName (const std::string &data_name) const
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level) const
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const
 
std::string timedSectionName (const std::string &section_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 VariableValuecoupledScalarValue (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledScalarValue (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 VariableValuecoupledVectorTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const
 
const VariableValuecoupledMatrixTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const
 
const VariableValuecoupledScalarValueOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarValueOlder (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDot (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledScalarDot (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDot (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDu (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDotDu (const std::string &var_name, unsigned int comp=0) const
 
const MooseVariableScalargetScalarVar (const std::string &var_name, unsigned int comp) const
 
virtual void checkMaterialProperty (const std::string &name, const unsigned int state)
 
void markMatPropRequested (const std::string &)
 
MaterialPropertyName getMaterialPropertyName (const std::string &name) const
 
void checkExecutionStage ()
 
const Moose::Functor< T > & getFunctor (const std::string &name)
 
const Moose::Functor< T > & getFunctor (const std::string &name, THREAD_ID tid)
 
const Moose::Functor< T > & getFunctor (const std::string &name, SubProblem &subproblem)
 
const Moose::Functor< T > & getFunctor (const std::string &name, SubProblem &subproblem, THREAD_ID tid)
 
bool isFunctor (const std::string &name) const
 
bool isFunctor (const std::string &name, const SubProblem &subproblem) const
 
Moose::ElemArg makeElemArg (const Elem *elem, bool correct_skewnewss=false) const
 
void checkFunctorSupportsSideIntegration (const std::string &name, bool qp_integration)
 
const T & getReporterValue (const std::string &param_name, const std::size_t time_index=0)
 
const T & getReporterValue (const std::string &param_name, ReporterMode mode, const std::size_t time_index=0)
 
const T & getReporterValue (const std::string &param_name, const std::size_t time_index=0)
 
const T & getReporterValue (const std::string &param_name, ReporterMode mode, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0)
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
const GenericMaterialProperty< T, is_ad > * defaultGenericMaterialProperty (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > * defaultGenericMaterialProperty (const std::string &name)
 
const MaterialProperty< T > * defaultMaterialProperty (const std::string &name)
 
const MaterialProperty< T > * defaultMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > * defaultADMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > * defaultADMaterialProperty (const std::string &name)
 
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
 
virtual ValueType evaluate (const ElemArg &elem, const StateArg &state) const =0
 
virtual ValueType evaluate (const FaceArg &face, const StateArg &state) const =0
 
virtual ValueType evaluate (const ElemQpArg &qp, const StateArg &state) const =0
 
virtual ValueType evaluate (const ElemSideQpArg &side_qp, const StateArg &state) const =0
 
virtual ValueType evaluate (const ElemPointArg &elem_point, const StateArg &state) const =0
 
virtual ValueType evaluate (const NodeArg &node, const StateArg &state) const =0
 
virtual GradientType evaluateGradient (const ElemArg &, const StateArg &) const
 
virtual GradientType evaluateGradient (const FaceArg &, const StateArg &) const
 
virtual GradientType evaluateGradient (const ElemQpArg &, const StateArg &) const
 
virtual GradientType evaluateGradient (const ElemSideQpArg &, const StateArg &) const
 
virtual GradientType evaluateGradient (const ElemPointArg &, const StateArg &) const
 
virtual GradientType evaluateGradient (const NodeArg &, const StateArg &) const
 
virtual DotType evaluateDot (const ElemArg &, const StateArg &) const
 
virtual DotType evaluateDot (const FaceArg &, const StateArg &) const
 
virtual DotType evaluateDot (const ElemQpArg &, const StateArg &) const
 
virtual DotType evaluateDot (const ElemSideQpArg &, const StateArg &) const
 
virtual DotType evaluateDot (const ElemPointArg &, const StateArg &) const
 
virtual DotType evaluateDot (const NodeArg &, const StateArg &) const
 

Static Protected Member Functions

static std::string meshPropertyName (const std::string &data_name, const std::string &prefix)
 

Protected Attributes

const PostprocessorValue_input_signal
 A postprocessor used as the sensor input signal. More...
 
const Function_drift_function
 The drift function to be evaluated and returned. More...
 
const Real _vector_size
 Size of vector to be stored. More...
 
const PostprocessorValue_pp_old
 The old value of the postprocessor. More...
 
const Function_efficiency_function
 Efficiency function. More...
 
const Function_noise_std_dev_function
 Noise standard deviation function. More...
 
const Function_delay_function
 Delay function. More...
 
const Function_signalToNoise_function
 Signal to noise function. More...
 
const Function_uncertainty_std_dev_function
 Uncertainty std dev function. More...
 
const Function_R_function
 Function R for integration term. More...
 
const Real _proportional_weight
 A weighing factor for the proportional term. More...
 
const Real _integral_weight
 A weighing factor for the integral term. More...
 
std::vector< Real > & _time_values
 Time vector for calculating delay. More...
 
std::vector< Real > & _input_signal_values
 Input Signal vector for calculating delay. More...
 
std::vector< Real > & _integrand
 Vector to store integrand data for numerical integration. More...
 
std::vector< Real > & _R_function_values
 vector to store R function values More...
 
const unsigned int _seed
 To get fixed seed random numbers. More...
 
MooseRandom _rng
 
Real _sensor_value
 for getValue() output More...
 
Real _integration_value
 the output of the integrand More...
 
Real _delay_value
 Variable to store delay value. More...
 
SubProblem_subproblem
 
FEProblemBase_fe_problem
 
SystemBase_sys
 
const THREAD_ID _tid
 
Assembly_assembly
 
const Moose::CoordinateSystemType_coord_sys
 
const bool _duplicate_initial_execution
 
std::set< std::string > _depend_uo
 
const bool & _enabled
 
MooseApp_app
 
const std::string _type
 
const std::string _name
 
const InputParameters_pars
 
Factory_factory
 
ActionFactory_action_factory
 
const ExecFlagEnum_execute_enum
 
const ExecFlagType_current_execute_flag
 
MooseApp_restartable_app
 
const std::string _restartable_system_name
 
const THREAD_ID _restartable_tid
 
const bool _restartable_read_only
 
FEProblemBase_mci_feproblem
 
MooseApp_pg_moose_app
 
const std::string _prefix
 
FEProblemBase_sc_fe_problem
 
const THREAD_ID _sc_tid
 
const Real_real_zero
 
const VariableValue_scalar_zero
 
const Point & _point_zero
 
const InputParameters_mi_params
 
const std::string _mi_name
 
const MooseObjectName _mi_moose_object_name
 
FEProblemBase_mi_feproblem
 
SubProblem_mi_subproblem
 
const THREAD_ID _mi_tid
 
const Moose::MaterialDataType _material_data_type
 
MaterialData_material_data
 
bool _stateful_allowed
 
bool _get_material_property_called
 
std::vector< std::unique_ptr< PropertyValue > > _default_properties
 
std::unordered_set< unsigned int_material_property_dependencies
 
const MaterialPropertyName _get_suffix
 
const bool _use_interpolated_state
 
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
 
const std::string & _pp_name
 
const PostprocessorValue_current_value
 
const Parallel::Communicator & _communicator
 

Static Protected Attributes

static const std::string _interpolated_old
 
static const std::string _interpolated_older
 

Detailed Description

A Thermocouple Sensor Postprocessor that allows the user to characterize a thermocouple's response by imposing noise, delay, drift, efficiency and uncertainty.

Definition at line 18 of file ThermocoupleSensorPostprocessor.h.

Constructor & Destructor Documentation

◆ ThermocoupleSensorPostprocessor()

ThermocoupleSensorPostprocessor::ThermocoupleSensorPostprocessor ( const InputParameters parameters)

Definition at line 30 of file ThermocoupleSensorPostprocessor.C.

32 {
33  if (isParamSetByUser("R_function"))
34  mooseError("In thermocouple postprocessor R function is fixed. If you want to change it, use "
35  "GeneralSensorPostprocessor.");
36 }
bool isParamSetByUser(const std::string &nm) const
void mooseError(Args &&... args) const
const InputParameters & parameters() const
GeneralSensorPostprocessor(const InputParameters &parameters)

Member Function Documentation

◆ elementwiseMultiply()

std::vector< Real > GeneralSensorPostprocessor::elementwiseMultiply ( std::vector< Real > &  vec1,
std::vector< Real > &  vec2 
)
protectedinherited

Function for element-wise multiplication of vectors.

Definition at line 134 of file GeneralSensorPostprocessor.C.

Referenced by GeneralSensorPostprocessor::getIntegral().

135 {
136  // Ensure both vectors have the same size
137  mooseAssert(vec1.size() == vec2.size(),
138  "Vectors must have the same size for element-wise multiplication.");
139  // Create a result vector
140  std::vector<Real> result;
141  // Perform element-wise multiplication
142  result.reserve(vec1.size());
143  for (const auto i : index_range(vec1))
144  result.push_back(vec1[i] * vec2[i]);
145  return result;
146 }
auto index_range(const T &sizable)

◆ execute()

virtual void ThermocoupleSensorPostprocessor::execute ( )
inlineoverridevirtual

Reimplemented from GeneralSensorPostprocessor.

Definition at line 26 of file ThermocoupleSensorPostprocessor.h.

26 {}

◆ getDelayedInputSignal()

Real GeneralSensorPostprocessor::getDelayedInputSignal ( )
protectedinherited

Function to calculate delayed input signal.

Definition at line 149 of file GeneralSensorPostprocessor.C.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

150 {
151  // delayed input signal
152  Real t_desired = _t - _delay_value;
153  Real input_signal_delayed;
154 
155  if (t_desired < _time_values[0])
156  input_signal_delayed = 0;
157 
158  else if (t_desired == _time_values[0])
159  input_signal_delayed = _input_signal;
160 
161  // linear interpolation
162  else if (t_desired > _time_values[0] && t_desired <= _t && t_desired >= _t - _dt)
163  input_signal_delayed = _input_signal + (t_desired - _t) * (_pp_old - _input_signal) / (-_dt);
164 
165  else if (t_desired > _time_values[0] && t_desired < _t - _dt)
166  {
167  LinearInterpolation time_and_input_signal(_time_values, _input_signal_values);
168  input_signal_delayed = time_and_input_signal.sample(t_desired);
169  }
170 
171  else
172  mooseError("Unhandled case in interpolation values.");
173 
174  return input_signal_delayed;
175 }
std::vector< Real > & _input_signal_values
Input Signal vector for calculating delay.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const PostprocessorValue & _pp_old
The old value of the postprocessor.
Real _delay_value
Variable to store delay value.
const PostprocessorValue & _input_signal
A postprocessor used as the sensor input signal.
void mooseError(Args &&... args) const
std::vector< Real > & _time_values
Time vector for calculating delay.

◆ getIntegral()

Real GeneralSensorPostprocessor::getIntegral ( std::vector< Real integrand)
protectedinherited

Function to calculate integral term.

Definition at line 185 of file GeneralSensorPostprocessor.C.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

186 {
187  Real integration_value;
188  getRVector();
189  // calculate the total integrand vector including previous integrand and exponential terms
191 
192  // if there are more than two datapoints, do simpson's 3/8 rule for integration
193  // else do trapezoidal rule
194  if (_time_values.size() > 2)
195  {
196  SplineInterpolation spline(_time_values, integrand);
197  // number of intervals
198  Real n;
199 
200  // if number of datapoints is less than 30, use spline interpolation to get 30 intervals
201  if (_time_values.size() < 30)
202  n = 30;
203  else
204  {
205  n = _time_values.size();
206  // if interval is not a multiple of 3, make it
207  while (static_cast<int>(n) % 3 != 0)
208  n = n + 1;
209  }
210 
211  Real h = (_time_values.back() - _time_values[0]) / n; // distance between time values
212  // time vector for simpson integration
213  vector<Real> time_vec_simp;
214  // integrand vector for simpson integration
215  vector<Real> integrand_vec_simp;
216 
217  for (Real i = 0; i < n + 1; i++)
218  {
219  Real new_time = _time_values[0] + i * h;
220  time_vec_simp.push_back(new_time);
221  Real new_integrand = spline.SplineInterpolation::sample(new_time);
222  integrand_vec_simp.push_back(new_integrand);
223  }
224 
225  // initialize integral with endpoints
226  integration_value = integrand_vec_simp[0] + integrand_vec_simp[n];
227 
228  // Sum for points not at endpoints
229  for (int i = 1; i < n; ++i)
230  {
231  if (i % 3 == 0)
232  // Every third point
233  integration_value += 2 * integrand_vec_simp[i];
234  else
235  integration_value += 3 * integrand_vec_simp[i];
236  }
237 
238  // Multiply by 3h/8
239  integration_value *= (3 * h) / 8.0;
240  }
241 
242  else
243  {
244  // performing integration by trapezoidal rule, not accurate
245  // LinearInterpolation object with two vectors
246  LinearInterpolation integral(_time_values, integrand);
247  // integrate the vectors
248  integration_value = integral.integrate();
249  }
250 
251  return integration_value;
252 }
std::vector< Real > elementwiseMultiply(std::vector< Real > &vec1, std::vector< Real > &vec2)
Function for element-wise multiplication of vectors.
Real integrand(const Point &p)
virtual vector< Real > getRVector()
Function to calculate R vector.
std::vector< Real > & _R_function_values
vector to store R function values
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< Real > & _time_values
Time vector for calculating delay.

◆ getRVector()

vector< Real > ThermocoupleSensorPostprocessor::getRVector ( )
overrideprotectedvirtual

Function to calculate R vector.

Reimplemented from GeneralSensorPostprocessor.

Definition at line 94 of file ThermocoupleSensorPostprocessor.C.

95 {
96  _R_function_values.clear();
97  // computing vector of exponential term
98  for (const auto i : index_range(_time_values))
100  return _R_function_values;
101 }
auto exp(const T &)
std::vector< Real > & _R_function_values
vector to store R function values
Real _delay_value
Variable to store delay value.
std::vector< Real > & _time_values
Time vector for calculating delay.
auto index_range(const T &sizable)

◆ getValue() [1/2]

virtual PostprocessorValue Postprocessor::getValue

◆ getValue() [2/2]

PostprocessorValue ThermocoupleSensorPostprocessor::getValue ( ) const
overridevirtual

Reimplemented from GeneralSensorPostprocessor.

Definition at line 88 of file ThermocoupleSensorPostprocessor.C.

89 {
90  return _sensor_value;
91 }
Real _sensor_value
for getValue() output

◆ initialize()

void ThermocoupleSensorPostprocessor::initialize ( )
overridevirtual

Reimplemented from GeneralSensorPostprocessor.

Definition at line 39 of file ThermocoupleSensorPostprocessor.C.

40 {
41  // setting seed for random number generator
42  _rng.seed(_seed);
43  Real drift_value = _drift_function.value(_t);
44  Real efficiency_value = _efficiency_function.value(_t);
45  Real signalToNoise_value = _signalToNoise_function.value(_t);
46  Real noise_std_dev = _noise_std_dev_function.value(_t);
47  Real noise_value = _rng.randNormal(0, noise_std_dev);
48  Real uncertainty_std_dev = _uncertainty_std_dev_function.value(_t);
49  Real uncertainty_value = _rng.randNormal(0, uncertainty_std_dev);
50 
51  // if the problem is steady-state
52  if (!_fe_problem.isTransient())
53  _sensor_value = drift_value +
54  efficiency_value * (_input_signal + signalToNoise_value * noise_value) +
55  uncertainty_value;
56 
57  // if the problem is transient
58  else
59  {
61  _time_values.push_back(_t);
63 
64  // Check if the size is greater than 500
65  if (_time_values.size() > 500 && _input_signal_values.size() > _vector_size)
66  {
67  // Remove the first 10 elements
68  _time_values.erase(_time_values.begin(), _time_values.begin() + 10);
70  }
71  Real _input_signal_delayed = getDelayedInputSignal();
72 
73  // computing integral term
74  Real term_for_integration = _input_signal + signalToNoise_value * noise_value;
75  _integrand.push_back(term_for_integration);
77 
78  // output
79  Real proportional_value = _input_signal_delayed + signalToNoise_value * noise_value;
80  _sensor_value = drift_value +
81  efficiency_value * (_proportional_weight * proportional_value +
83  uncertainty_value;
84  }
85 }
const Function & _signalToNoise_function
Signal to noise function.
std::vector< Real > & _input_signal_values
Input Signal vector for calculating delay.
const Function & _uncertainty_std_dev_function
Uncertainty std dev function.
void seed(std::size_t i, unsigned int seed)
const Function & _efficiency_function
Efficiency function.
Real randNormal(std::size_t i, Real mean, Real sigma)
const Function & _drift_function
The drift function to be evaluated and returned.
const Function & _noise_std_dev_function
Noise standard deviation function.
Real getIntegral(std::vector< Real > integrand)
Function to calculate integral term.
std::vector< Real > & _integrand
Vector to store integrand data for numerical integration.
Real _sensor_value
for getValue() output
const Real _proportional_weight
A weighing factor for the proportional term.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real _delay_value
Variable to store delay value.
FEProblemBase & _fe_problem
const PostprocessorValue & _input_signal
A postprocessor used as the sensor input signal.
std::vector< Real > & _time_values
Time vector for calculating delay.
virtual bool isTransient() const override
virtual Real value(Real t, const Point &p) const
Real _integration_value
the output of the integrand
const Real _integral_weight
A weighing factor for the integral term.
const Real _vector_size
Size of vector to be stored.
const unsigned int _seed
To get fixed seed random numbers.
const Function & _delay_function
Delay function.
Real getDelayedInputSignal()
Function to calculate delayed input signal.

◆ validParams()

InputParameters ThermocoupleSensorPostprocessor::validParams ( )
static

Definition at line 20 of file ThermocoupleSensorPostprocessor.C.

21 {
23  params.addClassDescription("This is a ThermocoupleSensorPostprocessor for various classes of "
24  "thermocouples, described by the 'thermocouple_type' parameter");
25  params.addParam<Real>("proportional_weight", 0, "The weight assigned to the proportional term");
26  params.addParam<Real>("integral_weight", 1, "The weight assigned to the integral term");
27  return params;
28 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()

Member Data Documentation

◆ _delay_function

const Function& GeneralSensorPostprocessor::_delay_function
protectedinherited

Delay function.

Definition at line 55 of file GeneralSensorPostprocessor.h.

Referenced by initialize().

◆ _delay_value

Real GeneralSensorPostprocessor::_delay_value
protectedinherited

Variable to store delay value.

Definition at line 82 of file GeneralSensorPostprocessor.h.

Referenced by GeneralSensorPostprocessor::getDelayedInputSignal(), getRVector(), and initialize().

◆ _drift_function

const Function& GeneralSensorPostprocessor::_drift_function
protectedinherited

The drift function to be evaluated and returned.

Definition at line 45 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

◆ _efficiency_function

const Function& GeneralSensorPostprocessor::_efficiency_function
protectedinherited

Efficiency function.

Definition at line 51 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

◆ _input_signal

const PostprocessorValue& GeneralSensorPostprocessor::_input_signal
protectedinherited

A postprocessor used as the sensor input signal.

Definition at line 43 of file GeneralSensorPostprocessor.h.

Referenced by GeneralSensorPostprocessor::getDelayedInputSignal(), initialize(), and GeneralSensorPostprocessor::initialize().

◆ _input_signal_values

std::vector<Real>& GeneralSensorPostprocessor::_input_signal_values
protectedinherited

Input Signal vector for calculating delay.

Definition at line 69 of file GeneralSensorPostprocessor.h.

Referenced by GeneralSensorPostprocessor::getDelayedInputSignal(), initialize(), and GeneralSensorPostprocessor::initialize().

◆ _integral_weight

const Real GeneralSensorPostprocessor::_integral_weight
protectedinherited

A weighing factor for the integral term.

Definition at line 65 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

◆ _integrand

std::vector<Real>& GeneralSensorPostprocessor::_integrand
protectedinherited

Vector to store integrand data for numerical integration.

Definition at line 71 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

◆ _integration_value

Real GeneralSensorPostprocessor::_integration_value
protectedinherited

the output of the integrand

Definition at line 80 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

◆ _noise_std_dev_function

const Function& GeneralSensorPostprocessor::_noise_std_dev_function
protectedinherited

Noise standard deviation function.

Definition at line 53 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

◆ _pp_old

const PostprocessorValue& GeneralSensorPostprocessor::_pp_old
protectedinherited

The old value of the postprocessor.

Definition at line 49 of file GeneralSensorPostprocessor.h.

Referenced by GeneralSensorPostprocessor::getDelayedInputSignal().

◆ _proportional_weight

const Real GeneralSensorPostprocessor::_proportional_weight
protectedinherited

A weighing factor for the proportional term.

Definition at line 63 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

◆ _R_function

const Function& GeneralSensorPostprocessor::_R_function
protectedinherited

Function R for integration term.

Definition at line 61 of file GeneralSensorPostprocessor.h.

Referenced by GeneralSensorPostprocessor::getRVector().

◆ _R_function_values

std::vector<Real>& GeneralSensorPostprocessor::_R_function_values
protectedinherited

vector to store R function values

Definition at line 73 of file GeneralSensorPostprocessor.h.

Referenced by GeneralSensorPostprocessor::getIntegral(), getRVector(), and GeneralSensorPostprocessor::getRVector().

◆ _rng

MooseRandom GeneralSensorPostprocessor::_rng
protectedinherited

◆ _seed

const unsigned int GeneralSensorPostprocessor::_seed
protectedinherited

To get fixed seed random numbers.

Definition at line 75 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

◆ _sensor_value

Real GeneralSensorPostprocessor::_sensor_value
protectedinherited

◆ _signalToNoise_function

const Function& GeneralSensorPostprocessor::_signalToNoise_function
protectedinherited

Signal to noise function.

Definition at line 57 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

◆ _time_values

std::vector<Real>& GeneralSensorPostprocessor::_time_values
protectedinherited

◆ _uncertainty_std_dev_function

const Function& GeneralSensorPostprocessor::_uncertainty_std_dev_function
protectedinherited

Uncertainty std dev function.

Definition at line 59 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().

◆ _vector_size

const Real GeneralSensorPostprocessor::_vector_size
protectedinherited

Size of vector to be stored.

Definition at line 47 of file GeneralSensorPostprocessor.h.

Referenced by initialize(), and GeneralSensorPostprocessor::initialize().


The documentation for this class was generated from the following files: