Base class for ActionComponents that build THM components. More...
#include <THMActionComponent.h>
Public Types | |
| typedef DataFileName | DataFileParameterType |
Public Member Functions | |
| THMActionComponent (const InputParameters ¶ms) | |
| virtual void | act () override final |
| const std::vector< MeshGeneratorName > & | meshGeneratorNames () const |
| MeshGeneratorName | getCurrentTopLevelMeshGeneratorName () const |
| void | setCurrentTopLevelMeshGeneratorName (const MeshGeneratorName &mg_name) |
| const std::vector< SubdomainName > & | blocks () const |
| virtual const std::vector< BoundaryName > & | outerSurfaceBoundaries () const |
| virtual Real | volume () const |
| virtual Real | outerSurfaceArea () const |
| unsigned int | dimension () const |
| void | addConnectedComponent (ActionComponent &component) |
| const std::set< ActionComponent *> & | getConnectedComponents () const |
| void | timedAct () |
| virtual void | addRelationshipManagers (Moose::RelationshipManagerType when_type) |
| MooseObjectName | uniqueActionName () const |
| const std::string & | specificTaskName () const |
| const std::set< std::string > & | getAllTasks () const |
| void | appendTask (const std::string &task) |
| 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 | haveParameter (const std::string &name) 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 |
| PerfGraph & | perfGraph () |
| void | assertParamDefined (const std::string &libmesh_dbg_var(param)) 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 | 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 | unique_action_name_param |
| 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 |
| static constexpr auto | SYSTEM |
| static constexpr auto | NAME |
Protected Member Functions | |
| virtual void | actOnAdditionalTasks () override |
| virtual void | addTHMComponents () |
| virtual void | addClosures () |
| virtual void | addControlLogic () |
| void | addTHMComponent (const std::string &class_name, const std::string &obj_name, InputParameters ¶ms) |
| Adds a THM component. More... | |
| void | addClosuresObject (const std::string &class_name, const std::string &obj_name, InputParameters ¶ms) |
| Adds a Closures object. More... | |
| void | addControlLogicObject (const std::string &class_name, const std::string &obj_name, InputParameters ¶ms) |
| Adds a ControlLogic object. More... | |
| THMProblem & | getTHMProblem () |
| Gets the THM problem. More... | |
| bool | addRelationshipManagers (Moose::RelationshipManagerType when_type, const InputParameters &moose_object_pars) |
| void | assertParamDefined (const std::string ¶m) const |
| virtual void | addMeshGenerators () |
| virtual void | addPositionsObject () |
| virtual void | addUserObjects () |
| virtual void | setupComponent () |
| virtual void | addSolverVariables () |
| virtual void | addPhysics () |
| virtual void | addMaterials () |
| virtual void | checkIntegrity () |
| void | addRequiredTask (const std::string &task) |
| void | checkRequiredTasks () const |
| FEProblemBase & | getProblem () |
| Factory & | getFactory () const |
| void | associateWithParameter (const std::string ¶m_name, InputParameters ¶ms) const |
| void | associateWithParameter (const InputParameters &from_params, const std::string ¶m_name, InputParameters ¶ms) 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 §ion_name, const unsigned int level) const |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const |
| std::string | timedSectionName (const std::string §ion_name) const |
| void | flagInvalidSolutionInternal (const InvalidSolutionID invalid_solution_id) const |
| InvalidSolutionID | registerInvalidSolutionInternal (const std::string &message, const bool warning) const |
| void | checkParamsBothSetOrNotSet (const std::string ¶m1, const std::string ¶m2) const |
| void | checkSecondParamSetOnlyIfFirstOneTrue (const std::string ¶m1, const std::string ¶m2) const |
| void | checkSecondParamSetOnlyIfFirstOneSet (const std::string ¶m1, const std::string ¶m2) const |
| void | checkSecondParamNotSetIfFirstOneSet (const std::string ¶m1, const std::string ¶m2) const |
| void | checkVectorParamsSameLength (const std::string ¶m1, const std::string ¶m2) const |
| void | checkVectorParamAndMultiMooseEnumLength (const std::string ¶m1, const std::string ¶m2) const |
| void | checkTwoDVectorParamsSameLength (const std::string ¶m1, const std::string ¶m2) const |
| void | checkVectorParamsNoOverlap (const std::vector< std::string > ¶m_vecs) const |
| void | checkTwoDVectorParamsNoRespectiveOverlap (const std::vector< std::string > ¶m_vecs) const |
| void | checkTwoDVectorParamInnerSameLengthAsOneDVector (const std::string ¶m1, const std::string ¶m2) const |
| void | checkTwoDVectorParamMultiMooseEnumSameLength (const std::string ¶m1, const std::string ¶m2, const bool error_for_param2) const |
| void | checkVectorParamNotEmpty (const std::string ¶m1) const |
| void | checkVectorParamsSameLengthIfSet (const std::string ¶m1, const std::string ¶m2, const bool ignore_empty_default_param2=false) const |
| void | checkVectorParamLengthSameAsCombinedOthers (const std::string ¶m1, const std::string ¶m2, const std::string ¶m3) const |
| void | checkBlockwiseConsistency (const std::string &block_param_name, const std::vector< std::string > ¶meter_names) const |
| bool | parameterConsistent (const InputParameters &other_param, const std::string ¶m_name) const |
| void | warnInconsistent (const InputParameters ¶meters, const std::string ¶m_name) const |
| void | errorDependentParameter (const std::string ¶m1, const std::string &value_not_set, const std::vector< std::string > &dependent_params) const |
| void | errorInconsistentDependentParameter (const std::string ¶m1, const std::string &value_set, const std::vector< std::string > &dependent_params) const |
Static Protected Member Functions | |
| static std::string | meshPropertyName (const std::string &data_name, const std::string &prefix) |
Protected Attributes | |
| unsigned int | _dimension |
| std::vector< MeshGeneratorName > | _mg_names |
| MeshGeneratorName | _top_mg_name |
| std::vector< SubdomainName > | _blocks |
| std::vector< BoundaryName > | _outer_boundaries |
| const bool | _verbose |
| std::set< std::string > | _required_tasks |
| std::shared_ptr< std::set< ActionComponent *> > | _connected_components |
| std::string | _registered_identifier |
| std::string | _specific_task_name |
| std::set< std::string > | _all_tasks |
| ActionWarehouse & | _awh |
| const std::string & | _current_task |
| std::shared_ptr< MooseMesh > & | _mesh |
| std::shared_ptr< MooseMesh > & | _displaced_mesh |
| std::shared_ptr< FEProblemBase > & | _problem |
| PerfID | _act_timer |
| MooseApp & | _app |
| Factory & | _factory |
| ActionFactory & | _action_factory |
| const std::string & | _type |
| const std::string & | _name |
| const InputParameters & | _pars |
| MooseApp & | _pg_moose_app |
| const std::string | _prefix |
| const Parallel::Communicator & | _communicator |
Base class for ActionComponents that build THM components.
Definition at line 23 of file THMActionComponent.h.
| THMActionComponent::THMActionComponent | ( | const InputParameters & | params | ) |
Definition at line 20 of file THMActionComponent.C.
|
overrideprotectedvirtual |
Reimplemented from ActionComponent.
Definition at line 23 of file THMActionComponent.C.
|
inlineprotectedvirtual |
Reimplemented in WellBase.
Definition at line 32 of file THMActionComponent.h.
Referenced by actOnAdditionalTasks().
|
protected |
Adds a Closures object.
Definition at line 55 of file THMActionComponent.C.
Referenced by WellBase::addClosures().
|
inlineprotectedvirtual |
Reimplemented in InjectionWell, and ProductionWell.
Definition at line 33 of file THMActionComponent.h.
Referenced by actOnAdditionalTasks().
|
protected |
Adds a ControlLogic object.
Definition at line 66 of file THMActionComponent.C.
Referenced by InjectionWell::addControlLogic(), and ProductionWell::addControlLogic().
|
protected |
Adds a THM component.
Definition at line 45 of file THMActionComponent.C.
Referenced by WellBase::addFlowChannel(), InjectionWell::addInlet(), WellBase::addJunction(), WellBase::addJunctionFlux(), ProductionWell::addOutlet(), and WellBase::addWall().
|
inlineprotectedvirtual |
Reimplemented in InjectionWell, and ProductionWell.
Definition at line 31 of file THMActionComponent.h.
Referenced by actOnAdditionalTasks().
|
protected |
Gets the THM problem.
Definition at line 34 of file THMActionComponent.C.
Referenced by addClosuresObject(), addControlLogicObject(), and addTHMComponent().
|
static |
Definition at line 14 of file THMActionComponent.C.
Referenced by WellBase::validParams().
1.8.14