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

1D wave equation solver.[WIP] #16

Merged
merged 20 commits into from
Sep 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
ea3a7b5
Push changes into lax_friedrichs_flux
Balavarun5 Aug 1, 2017
b8526a2
Added functions to obtain the lax-friedrichs-flux and surface term.
Balavarun5 Aug 2, 2017
3f92f4a
Time evolution of wave equation obtained.
Balavarun5 Aug 4, 2017
1014ef4
Simulating for higher wave speeds.
Balavarun5 Aug 5, 2017
c5d0a2f
The images would be created in 1D_Wave_images folder, stitch them to …
Balavarun5 Aug 5, 2017
bc14e39
Changed amplitude from being represented as an N_Elements x N_LGL x t…
Balavarun5 Aug 7, 2017
0011aaf
Resolving wave speed abnormality.
Balavarun5 Aug 8, 2017
64f414c
-Wave is moving at the expected speed by taking c_lax to be the wave …
Balavarun5 Aug 11, 2017
7507b3d
Unit tests working.
Balavarun5 Aug 11, 2017
756c8f6
Unit tests working.
Balavarun5 Aug 11, 2017
bdffc6c
Edits in the documentation.
Balavarun5 Aug 26, 2017
88b04d0
Minor edits
Balavarun5 Aug 26, 2017
6c5c3d0
Documentations edited. Tabs converted to spaces.
Balavarun5 Aug 31, 2017
4b5b4a7
Cleanup of the code, Unit tests working. Iteration speed unchanged (d…
Balavarun5 Sep 8, 2017
8d38457
Minor edits in documentation of functions.
Balavarun5 Sep 8, 2017
457f42d
Change in note for developers in readme.md
Balavarun5 Sep 8, 2017
28729c3
Merge branch 'master' into lax_friedrichs_flux
Balavarun5 Sep 8, 2017
f82df88
Temporary commit. Not all changes have been implemented. Code is to b…
Balavarun5 Sep 15, 2017
e6b5c71
Code reffactored to use Integrate() function. Unit tests passing. Doc…
Balavarun5 Sep 17, 2017
f79ceb9
Edited the documentation. Examples need to be added.
Balavarun5 Sep 18, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,28 @@
__pycache__/
*.py[cod]
*$py.class

*.mp4
*.m4p
*.m4v
*.mpg
*.mp2
*.mpeg
*.mpe
*.mpv
*.mpg
*.mpeg
*.m2v
*.m4v
*.3gp
*.flv
*.f4v
*.f4p
*.f4a
*.f4b
*.jpeg
*.jpg
*.png
*.svg
# C extensions
*.so

Expand Down
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,29 @@ cd DG_Maxwell
* Arrayfire
* Numpy
* Matplotlib
* tqdm
* pytest

## Usage:
```
cd DG_Maxwell/code
python3 main.py
```
* The parameters of the simulation are stored in global_variables.py in
the app folder, These can be changed accordingly.

* The images of the wave are stored in the folder 1D_wave_images folder.

* To stitch the images in the folder and obtain a video of the simulation,
use the command in the terminal -
`ffmpeg -f image2 -i %04d.png -vcodec mpeg4 -mbd rd -trellis 2 -cmp 2 -g 300 -pass 1 -r 25 -b 18000000 movie.mp4`

## Authors

* **Balavarun P** - [GitHub Profile](https://github.com/Balavarun5)
* **Balavarun P** - [GitHub Profile](https://github.com/Balavarun5)
* **Aman Abhishek Tiwari** - [GitHub Profile](https://github.com/amanabt)
* **Mani Chandra** - [GitHub Profile](https://github.com/mchandra)
* **Mani Chandra** - [GitHub Profile](https://github.com/mchandra)

## Note for developers:
* Use tab spaces for indentation.

Empty file removed code/app/__init__.py
Empty file.
255 changes: 0 additions & 255 deletions code/app/global_variables.py

This file was deleted.

Loading