There are many places where we need to know things like n_material_states. Right now every time we want to loop over the number of material states, we need to cast the enum to unsigned int. Instead this PR defines global variables that do the casting and that we can reuse through the code.
There are many places where we need to know things like
n_material_states
. Right now every time we want to loop over the number of material states, we need to cast theenum
tounsigned int
. Instead this PR defines global variables that do the casting and that we can reuse through the code.CI