Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gauss quadrature #92

Open
iulian787 opened this issue Nov 2, 2021 · 0 comments
Open

gauss quadrature #92

iulian787 opened this issue Nov 2, 2021 · 0 comments

Comments

@iulian787
Copy link
Contributor

In my opinion, the method in here

void GaussQuadrature::GetPoints(

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant