When compositional fields are used to track parameters other than lithology, say elastic stress, they are masked in the material model. However, the user still needs to provide material parameters for them, like diffusion prefactor, density etc. For 9 elastic stresses + lithologies, this can lead to long lists of parameters. The function parse_map_to_double_array used to read in the lists of parameters has a flag allow_missing_keys. Maybe we can allow missing values for masked fields?
Also, viscosity and other properties are still computed for masked fields, but they have a zero contribution to the average value because their volume fraction is zero. Can we avoid computing material properties for masked fields?
As discussed with @naliboff, @bobmyhill, @erinheilman and @elodie-kendall.
When compositional fields are used to track parameters other than lithology, say elastic stress, they are masked in the material model. However, the user still needs to provide material parameters for them, like diffusion prefactor, density etc. For 9 elastic stresses + lithologies, this can lead to long lists of parameters. The function
parse_map_to_double_array
used to read in the lists of parameters has a flag allow_missing_keys. Maybe we can allow missing values for masked fields?Also, viscosity and other properties are still computed for masked fields, but they have a zero contribution to the average value because their volume fraction is zero. Can we avoid computing material properties for masked fields?
As discussed with @naliboff, @bobmyhill, @erinheilman and @elodie-kendall.