-
Notifications
You must be signed in to change notification settings - Fork 1
t8code Pi computation example files #6
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
Open
holke
wants to merge
9
commits into
main
Choose a base branch
from
t8ComputePi
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
ad8f6fb
Add video for Pi computation
holke dbfbc93
Add paraview State for compute pi example
holke f7f073a
moved view to subfolder
holke 79e422e
Add vtu files for compute pi example
holke 7215292
Add screenshot
holke db715e3
add readme
holke ed1c38b
add gitattributes
holke 4461a3b
Update README.md
holke a256afc
Update README.md
holke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,18 @@ | ||
| Use this directory for large pictures | ||
|
|
||
| - aircraft_curved_tets_gif | ||
|
|
||
| https://github.com/DLR-AMR/t8data/blob/t8ComputePi/pictures/aircraft_curved_tets_gif/README.md | ||
|
|
||
| A gif of a curved airplane mesh with dynamic refinement moving through the mesh. | ||
|
|
||
| - release_2_0 | ||
|
|
||
| A mesh and pictures of a mesh modelling the text "V2.0" which we used for our 2.0 release | ||
|
|
||
| - compute_pi | ||
|
|
||
| VTK files, video and screenshot of a t8code example that computes Pi. | ||
| https://github.com/DLR-AMR/t8data/blob/t8ComputePi/pictures/compute_pi/README.md | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| *.mp4 filter=lfs diff=lfs merge=lfs -text | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we really need this file or is it enough to add mp4 and jpeg to the central .gitattributes file? |
||
| *.pvsm filter=lfs diff=lfs merge=lfs -text | ||
| *.pvtu filter=lfs diff=lfs merge=lfs -text | ||
| *.vtu filter=lfs diff=lfs merge=lfs -text | ||
| *.jpeg filter=lfs diff=lfs merge=lfs -text | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,17 @@ | ||||||
| Compute Pi example | ||||||
|
|
||||||
| With https://github.com/DLR-AMR/t8code/pull/1800 we added an example that approximates Pi to t8code. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| On Pi approximation day 2025, i.e. July 22nd, we posted a video to LinkedIn showcasing this example. | ||||||
| We approximate Pi by computing the area of the unit circle. To do so we iteratively refine at the boundary of the unit circle and | ||||||
| compute the area of all triangles inside of it. | ||||||
|
|
||||||
| <p align="center"> | ||||||
| <img width="1000px" src=ComputePi.jpeg> | ||||||
| </p> | ||||||
|
|
||||||
| This data repo consists of: | ||||||
|
|
||||||
| - The screenshot above: https://github.com/DLR-AMR/t8data/blob/t8ComputePi/pictures/compute_pi/ComputePi.jpeg | ||||||
| - The video that we posted: https://github.com/DLR-AMR/t8data/tree/t8ComputePi/pictures/compute_pi/video | ||||||
| - A paraview state from which we created the screenshot and video: https://github.com/DLR-AMR/t8data/blob/t8ComputePi/pictures/compute_pi/compute_pi_pvstate.pvsm | ||||||
| - The paraview "pvtu" and "vtu" files that we used for the video. The paraview state uses these files: https://github.com/DLR-AMR/t8data/tree/t8ComputePi/pictures/compute_pi/vtu | ||||||
Git LFS file not shown
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_0.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_0_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_1.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_10.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_10_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_11.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_11_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_12.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_12_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_13.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_13_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_1_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_2.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_2_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_3.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_3_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_4.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_4_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_5.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_5_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_6.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_6_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_7.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_7_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_8.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_8_0.vtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_9.pvtu
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
pictures/compute_pi/vtu/t8_compute_Pi__Triangle_x_1p000000_level_9_0.vtu
Git LFS file not shown
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not part of this PR but can you maybe change the typo in the global README is currenctly under dev to currently?