In #141 we add support for state variables. As derived variables are handled slightly different in AMReX, we will need to add this feature.