jackhamel16 / Acoustics

Acoustic integral equation solver
1 stars 0 forks source link

Performance Research on static arrays and parameters package and implement #40

Closed jackhamel16 closed 3 years ago

jackhamel16 commented 3 years ago

Usage of static arrays is not clear yet, but was recommended by Eric. Parameters package could potentially clean up the passing of mesh parameters to functions.

jackhamel16 commented 3 years ago

So in testing out static arrays in gaussQuadrature and integrateTriangle, I have realized that I should precompute the function evaluation points because I only need to do it 2N times where N is the number of elements. Currently I do it 2N+N^2 times by doing the conversion in integrateTriangle.

jackhamel16 commented 3 years ago

Changes for this were made in #43 so closing issue