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

Enhancement for the Integrate() function #25

Merged
merged 3 commits into from
Sep 22, 2017

Conversation

Balavarun5
Copy link
Contributor

In the previous PR #16 , To compute the integrals in the code an Integrate() function which takes in the analytical form of the function to compute the integral using quadrature method was implemented.

Integrations in the code were not vectorized and hence the code was slow(1.1 iterations/second on Inspiron-3542).

This PR uses an Integrate function which takes in the coefficients of the integrands and returns the integral. This implementation is vectorized and is faster (40 iterations/second).

The 1D wave equation bug #6 is still present, however it's nature hasn't been confirmed.

… and the number of quadrature points needed and scheme implemented in the code. The wave blows up after some time. It is faster than the previous implementation.
… integral for a special case of N_LGL = N_quad for lobatto quadrature
@Balavarun5 Balavarun5 changed the title Enhancement for the Integrate() function [WIP] Enhancement for the Integrate() function Sep 21, 2017
@mchandra mchandra merged commit 36f72a8 into QuazarTech:master Sep 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants