Changeset [917c7020f6ea09e471bba8ca183e417fb5c3f5ee] by Jed Brown
Revision 917c7020f6ea09e471bba8ca183e417fb5c3f5ee,
committed by Jed Brown
· May 22nd, 2011 @ 05:57 PM
Use deferred evaluation for manufactured solutions.
Speeds up code generation some, speeds up run-time by 30% or so
for
elasticity and Stokes. Code generation and compilation could be
further
sped up by noting that the physics part of the manufactured
solutions
are now independent of the exact solution, therefore it would be
enough
to compute the values, gradient, and Hessian for each exact
solution,
but only do the physics part of the manufactured solution once.
https://github.com/jedbrown/dohp/commit/917c7020f6ea09e471bba8ca183...
3 changed files
-
M
src/fs/tests/dohpexact.py -
M
src/fs/tests/elastexact.py -
M
src/fs/tests/stokesexact.py