You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can be optimized.
Those positions and weights in the reference element are fixed, the arrays dG and dW should not be allocated for every triangle. Some static arrays can be initialized with actual weights and gauss point locations, why alocate and set for every triangle ?
The text was updated successfully, but these errors were encountered:
In my opinion, the method in here
tempestremap/src/GaussQuadrature.cpp
Line 23 in 60b99ca
can be optimized.
Those positions and weights in the reference element are fixed, the arrays dG and dW should not be allocated for every triangle. Some static arrays can be initialized with actual weights and gauss point locations, why alocate and set for every triangle ?
The text was updated successfully, but these errors were encountered: