section-properties icon indicating copy to clipboard operation
section-properties copied to clipboard

Speed up by calculating shape functions once!

Open robbievanleeuwen opened this issue 2 years ago • 1 comments

We are constantly recalculating shape functions and associated values throughout a geometric & warping analysis. Would it be faster just to pre-calculate these on initialisation of the finite element and store them for use later?

robbievanleeuwen avatar Jun 29 '22 12:06 robbievanleeuwen

Also add Tri3 elements and compare results!

robbievanleeuwen avatar Jul 01 '22 07:07 robbievanleeuwen

It is possible to make shape function related funtions as methods of element class. The result can be cached based on the input coordinates. I can make the changes if you do not mind?

TLCFEM avatar Sep 27 '23 00:09 TLCFEM

Hi @TLCFEM, happy for you to put together a PR for review :rocket:

robbievanleeuwen avatar Sep 28 '23 06:09 robbievanleeuwen