Action to programatically add PorousFlowJoiner materials without having to manually enter them in the input file. More...
#include <PorousFlowAddMaterialJoiner.h>
Public Types | |
typedef DataFileName | DataFileParameterType |
Public Member Functions | |
PorousFlowAddMaterialJoiner (const InputParameters ¶ms) | |
virtual void | act () override |
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 |
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 ¶meter_name) const |
const InputParameters & | parameters () const |
MooseObjectName | uniqueName () 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 &nm) const |
void | paramError (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 |
void | connectControllableParams (const std::string ¶meter, 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 ¶m) const |
std::string | getDataFileNameByName (const std::string &relative_path) const |
std::string | getDataFilePath (const std::string &relative_path) const |
PerfGraph & | perfGraph () |
const Parallel::Communicator & | comm () const |
processor_id_type | n_processors () const |
processor_id_type | processor_id () const |
Static Public Member Functions | |
static InputParameters | validParams () |
Public Attributes | |
const ConsoleStream | _console |
Static Public Attributes | |
static constexpr auto | SYSTEM |
static constexpr auto | NAME |
Protected Member Functions | |
void | addJoiner (bool at_nodes, bool is_ad, const std::string &material_property, const std::string &output_name) |
Adds a PorousFlowJoiner for the given material property. More... | |
bool | hasJoiner (std::string property) |
Helper method to determine if a PorousFLowJoiner material is already present in the input file for the given material property. More... | |
bool | addRelationshipManagers (Moose::RelationshipManagerType when_type, const InputParameters &moose_object_pars) |
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 |
Static Protected Member Functions | |
static std::string | meshPropertyName (const std::string &data_name, const std::string &prefix) |
Protected Attributes | |
std::string | _dictator_name |
Name of the PorousFlowDictator. More... | |
bool | _block_restricted |
whether the Material that is currently being Joined is block-restricted More... | |
std::vector< SubdomainName > | _blocks |
if _block_restricted == true, then these are the blocks that the Joiner will be restricted to More... | |
std::vector< std::string > | _already_joined |
Vector of already joined materials (to avoid joining them again) More... | |
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 |
const std::string | _type |
const std::string | _name |
const InputParameters & | _pars |
Factory & | _factory |
ActionFactory & | _action_factory |
MooseApp & | _pg_moose_app |
const std::string | _prefix |
const Parallel::Communicator & | _communicator |
Action to programatically add PorousFlowJoiner materials without having to manually enter them in the input file.
Definition at line 18 of file PorousFlowAddMaterialJoiner.h.
PorousFlowAddMaterialJoiner::PorousFlowAddMaterialJoiner | ( | const InputParameters & | params | ) |
Definition at line 29 of file PorousFlowAddMaterialJoiner.C.
|
overridevirtual |
Implements Action.
Definition at line 35 of file PorousFlowAddMaterialJoiner.C.
|
protected |
Adds a PorousFlowJoiner for the given material property.
at_nodes | if true: produce a nodal material, otherwise: produce a qp material |
is_ad | if true: join AD materials, otherwise: join normal material |
material_property | join this PorousFlow material property |
output_name | The unique name given to this PorousFlowJoiner in the input file |
Definition at line 188 of file PorousFlowAddMaterialJoiner.C.
Referenced by act().
|
protected |
Helper method to determine if a PorousFLowJoiner material is already present in the input file for the given material property.
property | the material property to check |
Definition at line 221 of file PorousFlowAddMaterialJoiner.C.
Referenced by addJoiner().
|
static |
Definition at line 21 of file PorousFlowAddMaterialJoiner.C.
|
protected |
Vector of already joined materials (to avoid joining them again)
Definition at line 59 of file PorousFlowAddMaterialJoiner.h.
Referenced by addJoiner().
|
protected |
whether the Material that is currently being Joined is block-restricted
Definition at line 53 of file PorousFlowAddMaterialJoiner.h.
Referenced by act(), and addJoiner().
|
protected |
if _block_restricted == true, then these are the blocks that the Joiner will be restricted to
Definition at line 56 of file PorousFlowAddMaterialJoiner.h.
Referenced by act(), and addJoiner().
|
protected |
Name of the PorousFlowDictator.
Definition at line 50 of file PorousFlowAddMaterialJoiner.h.
Referenced by act(), and addJoiner().