-
Notifications
You must be signed in to change notification settings - Fork 2
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
PROM DG advection #18
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
fde5ebf
Initialize
siuwuncheung ba8d5bc
example work in progress.
dreamer2368 d4be459
initial translation. not tested yet.
dreamer2368 c3c1384
some minor fix. still needs debugging.
dreamer2368 f4ff23b
mfem binding fixes with PyMFEM interface.
dreamer2368 4ec3034
GNAT example demonstrated.
dreamer2368 63d4a11
libROM with hypre 2.28.0.
dreamer2368 d92abac
updated comments.
dreamer2368 d2d8014
example command and results update.
dreamer2368 68d359f
updated libROM branch.
dreamer2368 93bbebb
Merge branch 'main' into prom_dg_advection
siuwuncheung d2c1ee1
Rename
siuwuncheung 37f50fe
Add options
siuwuncheung 9d0b010
Introduce frequency parameter
siuwuncheung ab4d0cb
Add ROM settings
siuwuncheung 8c0c305
Minor changes
siuwuncheung 13fe722
Change ODE Solver type
siuwuncheung f470fff
Implement FOM implicit solve
siuwuncheung 75bbb82
Add ROM implementation
siuwuncheung 96b598e
Adding timing
siuwuncheung 516a927
Minor changes
siuwuncheung 4087acb
Remove redundant variable
siuwuncheung 573a735
Add rdim/ef options in Basis Reader
siuwuncheung 212f823
Comment on seg fault
siuwuncheung 8b4a043
Merge branch 'nl_prom_example' into prom_dg_advection
siuwuncheung 6fc84d8
Place initial takeSample
siuwuncheung c46a7d9
Update extern
siuwuncheung 3723f8b
some minor fix.
dreamer2368 8604571
Change add
siuwuncheung 96887b5
Assign zeros
siuwuncheung eb011bd
Fix final calculations
siuwuncheung f817621
Debugging
siuwuncheung e06047e
Add some comments
siuwuncheung d85a461
Add example results
siuwuncheung 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 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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,143 @@ | ||
MFEM NURBS mesh v1.0 | ||
|
||
# | ||
# MFEM Geometry Types (see mesh/geom.hpp): | ||
# | ||
# SEGMENT = 1 | ||
# SQUARE = 3 | ||
# CUBE = 5 | ||
# | ||
|
||
dimension | ||
3 | ||
|
||
elements | ||
2 | ||
1 5 0 1 4 5 6 7 10 11 | ||
2 5 1 2 3 4 7 8 9 10 | ||
|
||
boundary | ||
10 | ||
3 3 5 4 1 0 | ||
3 3 0 1 7 6 | ||
3 3 4 5 11 10 | ||
1 3 5 0 6 11 | ||
3 3 6 7 10 11 | ||
3 3 4 3 2 1 | ||
3 3 1 2 8 7 | ||
2 3 2 3 9 8 | ||
3 3 3 4 10 9 | ||
3 3 7 8 9 10 | ||
|
||
edges | ||
20 | ||
0 0 1 | ||
0 5 4 | ||
0 6 7 | ||
0 11 10 | ||
1 1 2 | ||
1 4 3 | ||
1 7 8 | ||
1 10 9 | ||
2 0 5 | ||
2 1 4 | ||
2 2 3 | ||
2 6 11 | ||
2 7 10 | ||
2 8 9 | ||
3 0 6 | ||
3 1 7 | ||
3 2 8 | ||
3 3 9 | ||
3 4 10 | ||
3 5 11 | ||
|
||
vertices | ||
12 | ||
|
||
knotvectors | ||
4 | ||
1 5 0 0 1 2 3 4 4 | ||
1 5 0 0 1 2 3 4 4 | ||
1 2 0 0 1 1 | ||
1 2 0 0 1 1 | ||
|
||
weights | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
1 | ||
|
||
FiniteElementSpace | ||
FiniteElementCollection: NURBS1 | ||
VDim: 3 | ||
Ordering: 1 | ||
|
||
0 0 0 | ||
4 0 0 | ||
8 0 0 | ||
8 1 0 | ||
4 1 0 | ||
0 1 0 | ||
0 0 1 | ||
4 0 1 | ||
8 0 1 | ||
8 1 1 | ||
4 1 1 | ||
0 1 1 | ||
1 0 0 | ||
2 0 0 | ||
3 0 0 | ||
3 1 0 | ||
2 1 0 | ||
1 1 0 | ||
1 0 1 | ||
2 0 1 | ||
3 0 1 | ||
3 1 1 | ||
2 1 1 | ||
1 1 1 | ||
5 0 0 | ||
6 0 0 | ||
7 0 0 | ||
7 1 0 | ||
6 1 0 | ||
5 1 0 | ||
5 0 1 | ||
6 0 1 | ||
7 0 1 | ||
7 1 1 | ||
6 1 1 | ||
5 1 1 |
Oops, something went wrong.
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.
It looks like this change was actually part of #17, but should this be changed to be the head of the main branch of libROM? This commit SHA seems to be outdated since a few PRs have been merged in libROM. Maybe this should be changed in a separate PR to make sure the two repos stay in sync.
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.
I guess we are using a static commit for libROM to keep pylibROM stable and avoid any unpredicted breakdowns due to the actively changing C++ libROM. From time to time I saw Kevin change the SHA, after some necessary changes were made in C++ libROM. @dreamer2368 , may I ask if it is accurate?
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.
This is correct. We'd like to update SHA occasionally, but at the same time specify SHA explicitly which can be information for debugging. I think
mfem_fix
branch is now merged to main branch of the libROM, so it's okay to update this SHA now.