Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
reduce storage for matrix-free gmg #3291
Reduce the storage of the matrix-free GMG Stokes setup by only storing one viscosity value for each cell instead of one viscosity value for each quadrature point. This was left over from old code where I was querying viscosity values from some functional representation on each level, not using averaging. When we update the code in the future to not requiring averaging, this may look different. In the meantime, this greatly reduces storage for the case of cell-wise coefficient averaging.
I did not create any new tests since this is not a new feature, and all tests currently using GMG should pass.
For all pull requests:
I just finished defending my thesis. Now I will have much more time to work on the coefficient averaging. The new averaging is the top priority now. Timo and I will discuss this soon and I'll be able to give you a better answer, but I would like to have significant progress on it by the middle of December.
The idea is still the same: Cellwise averaging where the viscosity is discontinuous, Q2 or DGQ2 interpolation where the viscosity is continuous. For all the other coefficients (density etc), we never need to touch them so I imagine leaving them as quadrature point representations is ok?
I would like to add that viscosity averaging is high on our list, but there is other important stuff that will keep us busy for the rest of the year.