Open tjhei opened 4 years ago
So I think the equation you are looking in paper https://doi.org/10.1093/gji/ggz183, section 2.3, equation 14, 15 and 16, where J^{uu} is replaced by the equation in the top of section 2.5, where H is replaced by H^{spd} (H == H^{spd} when alpha=1.
I think we need to store
Table<2,VectorizedArray<SymmetricTensor<2>>> strain_rate;
Table<2,VectorizedArray<double>> viscosity_derivative_wrt_strain_rate; // * derivative_scaling_factor * alpha
Table<2,VectorizedArray<double>> viscosity_derivative_wrt_pressure; // * derivative_scaling_factor
and the same on each level (basically a MGLevelObject< ....> each)
We should implement the Newton terms for the GMG formulation.
@MFraters can you post a formula for the matrix terms that need to be added?