29 virtual void act()
override;
43 virtual std::vector<std::string>
materialOutput(
const std::string & property_name,
49 const std::string & property_name,
50 const std::string & var_name_base,
60 bool hasProperty(
const std::string & property_name);
88 const std::string & property_name,
89 const std::string & variable_name,
141 return _problem->hasFunctorWithType<T>(property_name, 0);
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
MaterialBases compute MaterialProperties.
Proxy for accessing MaterialPropertyStorage.
bool haveProperty(const std::string &prop_name) const
Returns true if the regular material property exists - defined by any material.
bool haveADProperty(const std::string &prop_name) const
Returns true if the AD material property exists - defined by any material.
Creates AuxVariables and AuxKernels for automatic output of material properties.
bool hasADProperty(const std::string &property_name)
Helper method for testing if the material exists as a block or boundary material.
virtual std::vector< std::string > materialOutput(const std::string &property_name, const MaterialBase &material, bool get_names_only)
A function to be overriden by derived actions to handle a set of material property types.
bool hasProperty(const std::string &property_name)
Helper method for testing if the material exists as a block or boundary material.
const MaterialData * _block_material_data
Pointer the MaterialData object storing the block restricted materials.
std::set< std::string > _material_variable_names
variables for the current MaterialBase object
std::map< OutputName, std::set< std::string > > _material_variable_names_map
Map of output names and list of variables associated with the output.
const bool _output_only_on_timestep_end
Output only on TIMESTEP_END, not on INITIAL?
InputParameters getParams(const std::string &type, const std::string &property_name, const std::string &variable_name, const MaterialBase &material)
A method for retrieving and partially filling the InputParameters object for an AuxVariable.
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
static InputParameters validParams()
OutputWarehouse & _output_warehouse
Reference to the OutputWarehouse.
std::vector< std::string > outputHelper(const OutputMetaData &metadata, const std::string &property_name, const std::string &var_name_base, const MaterialBase &material, bool get_names_only)
Universal output object setup function.
std::map< std::string, std::set< SubdomainID > > _block_variable_map
Map of variable name that contains the blocks to which the variable should be restricted.
bool hasFunctorProperty(const std::string &property_name)
Helper method for testing if the functor material property exists.
const MaterialData * _boundary_material_data
Pointer the MaterialData object storing the boundary restricted materials.
const std::string & type() const
Get the type of this class.
Class for storing and utilizing output objects.