On 12/8/22 12:13, blais...@gmail.com wrote:
For example, I try to avoid doing as much work as possible during the
double loop over DOFs which is the inner most loop. Sometimes
pre-calculating things in the outer loop really speeds-up the
calculation. This also depends on the polynomials you are
I am a bit surprised that your assembly is really 100x more expensive than
your linear solver.
Maybe your assembly code is not optimized?
For example, I try to avoid doing as much work as possible during the
double loop over DOFs which is the inner most loop. Sometimes
pre-calculating things in