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

2d solver A matrix. #44

Merged
merged 53 commits into from
Dec 6, 2017
Merged

Conversation

amanabt
Copy link
Member

@amanabt amanabt commented Oct 2, 2017

Implementation of function for calculation of A matrix for 2D wave equation solver.

Known issues

Checklist:

@amanabt amanabt added this to the 2D Wave equation solver. milestone Oct 2, 2017
@amanabt amanabt self-assigned this Oct 2, 2017
- Unit test for dx_dxi added.
    - Currently the difference between the dx_dxi and dx_dxi_reference is maximum of 1e-8.
    - Threshold should be less than 1e-14 because both the derivatives were calculated analyticaly.
- csv_to_numpy functions added.
… bugfix.

- Unit tests for 2d_wave_equation derivative functions added. [PASSING]
- utils.csv_to_numpy was using a hardcoded filename instead of using the `filename` argument. Bug fixed.
- tests/2d_wave_equation renamed
- dg_maxwell/tests/2d_wave_equation/files/* added to .gitignore.
…tion_2d

- test_2d_wave_equation renamed to test_wave_equation_2d.
- gitignore modified following the renaming
- dg_maxwell/tests/2d_wave_equation/files/circle.msh added.
- Documentation added and checked.
- Unit test not written.
- Now it checks the memory location of the passed variables. If it
matches, then both the variables are allocated a new memory.
- Documented.
- Algo not properly documented
- Unit test written
- Example written
Issues
- Unit test for test_wave_equation_2d.py::test_A_matrix and
  test_waveEqn.py::test_volume_integral_flux FAILING when using opencl as backend.
  Works fine on cpu and cuda backend.
@amanabt amanabt changed the title 2d solver A matrix.[WIP] 2d solver A matrix. Oct 22, 2017
@amanabt amanabt changed the title 2d solver A matrix. 2d solver A matrix.[WIP] Oct 22, 2017
@amanabt amanabt changed the title 2d solver A matrix.[WIP] 2d solver A matrix. Oct 22, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 55aa39b on amanabt:2d_solver_A_matrix into ** on QuazarTech:master**.

- The reference values being calculated using the LGL points with accuracy of 1e-4,
  whereas, the unit test was using LGL points with accuracy of machine error. The
  difference in accuracy of the LGL points lead to huge errors b/w reference and test
  A matrix.
- The bug is fixed.
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 8fb5302 on amanabt:2d_solver_A_matrix into ** on QuazarTech:master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 8fb5302 on amanabt:2d_solver_A_matrix into ** on QuazarTech:master**.

@Balavarun5 Balavarun5 changed the title 2d solver A matrix. 2d solver A matrix.[WIP] Nov 5, 2017
@amanabt amanabt changed the title 2d solver A matrix.[WIP] 2d solver A matrix. Nov 10, 2017
@Balavarun5 Balavarun5 merged commit 8fb5302 into QuazarTech:master Dec 6, 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.

None yet

3 participants