-
Notifications
You must be signed in to change notification settings - Fork 20
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
Mesh Refinement #261
Mesh Refinement #261
Conversation
693127d
to
3f50b0c
Compare
6eca627
to
5215ddd
Compare
e52ae59
to
6b32cc8
Compare
b3a8b15
to
2b625bd
Compare
41a10b9
to
4f60c28
Compare
e8872be
to
4b8b941
Compare
9220955
to
dcc9b18
Compare
- update test example - add Jupyter notebook for testing - add todo's for SyncRho to fill coarser patches with charge from finer patches Co-authored-by: Remi Lehe <[email protected]>
Prepare for filters, too.
In AMReX, even partially covering levels still use the same prob domain as the lower levels
dcc9b18
to
1748852
Compare
- [x] AMReX inputs file with 1 MR level - [ ] Python script with 1 MR level
- [x] AMReX inputs file with 1 MR level - [x] Python script with 1 MR level
Resetting before `initGrids` does not yet work.
[](ImpactX & ix){ return ix.maxLevel(); }, | ||
[](ImpactX & /* ix */, int max_level) { | ||
throw std::runtime_error("setting n_cell is not yet implemented"); |
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 yet working, needs a bit of a quirk in ImpactX.cpp
as in #402 that I have not yet figured out :)
sim = ImpactX() | ||
|
||
# set numerical parameters and IO control | ||
sim.n_cell = [56, 56, 48] | ||
sim.n_cell = [16, 16, 20] | ||
# sim.max_level = 1 # TODO: not yet implemented |
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 yet working, needs a bit of a quirk in ImpactX.cpp
as in #402 that I have not yet figured out :)
6ec3303
to
b921983
Compare
Used for local tests during development.
Close #102
This implements one-level static MR.
sync_rho
from coarse to finer levelsDepends on: