33 mooseError(
"MaterialPropertyRegistry: Property '" +
name +
"' is not declared");
37 std::optional<unsigned int>
50 mooseError(
"MaterialPropertyRegistry: Property with ID ",
id,
" is not declared");
std::string name(const ElemQuality q)
std::vector< std::string > _id_to_name
Map of material property id -> material property name.
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
std::unordered_map< std::string, unsigned int > _name_to_id
Map of material property name -> material property id.
bool hasProperty(const std::string &name) const
Key that restricts writing data to the registry.
unsigned int addOrGetID(const std::string &name, const WriteKey)
const std::string & getName(const unsigned int id) const
unsigned int getID(const std::string &name) const
std::optional< unsigned int > queryID(const std::string &name) const