19 #include "libmesh/string_to_enum.h" 24 "setup_projected_properties");
37 MooseEnum(
"LAGRANGE MONOMIAL L2_LAGRANGE L2_HIERARCHIC",
"LAGRANGE"),
38 "Finite element variable family to project the material properties onto");
42 "Finite element variable order to project the material properties onto");
47 params.addParam<std::vector<MaterialPropertyName>>(
48 "projected_props", {},
"Material properties to project for stateful storage");
55 _prop_names(getParam<
std::vector<MaterialPropertyName>>(
"projected_props")),
57 _fe_type({Utility::string_to_enum<Order>(
_order),
58 Utility::string_to_enum<FEFamily>(params.
get<
MooseEnum>(
"family"))}),
77 Moose::typeLoop<ProcessProperty>(
SupportedTypes{},
this, prop_name);
Set up AuxKernels and AuxVariables for projected material property storage (PoMPS).
const MooseEnum _order
Variable order to project the properties into.
RelationshipManagerType
Main types of Relationship Managers.
registerMooseAction("MooseApp", ProjectedStatefulMaterialStorageAction, "setup_projected_properties")
static InputParameters validParams()
const std::vector< MaterialPropertyName > & _prop_names
Property names for which we will do stateful material property projection.
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
static InputParameters validParams()
static InputParameters validParams()
virtual void addRelationshipManagers(Moose::RelationshipManagerType input_rm_type) override
Method to add a relationship manager for the objects being added to the system.
static InputParameters validParams()
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
static std::string variableType(const libMesh::FEType &fe_type, const bool is_fv=false, const bool is_array=false)
Determines a variable type.
ProjectedStatefulMaterialStorageAction(const InputParameters ¶meters)
static MooseEnum getAuxVariableOrders()
Returns available orders for AuxVariables.
static MooseEnum getTypeEnum()
get an enum with all supported types
Helper structure to hold a list of types.