-
Notifications
You must be signed in to change notification settings - Fork 44
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
simulation.subsection to include PML #1836
Conversation
One test still errored. So I think this implementation is not robust. I'll try the custom grid idea. |
c908456
to
37e22bc
Compare
Please check out the new implementation. |
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 will make things so much easier! Thanks @weiliangjin2021
Dont forget changelog
Maybe I can validate it in simulation's root validator: sim.simulation_bounds align with the grid coords? |
a2cd344
to
b7f1421
Compare
@dbochkov-flexcompute now that I added the validator to validate the simulation domain boundaries match the grid boundaries, |
hmm, not sure if that would resolve the issue. I think we should make |
Well, that can be achieved with
No postprocessing is currently performed. The coordinate must span exactly the simulation domain size. |
You are right. There is something wrong in my test setup. I'll refactor it to optionally construct pml layers. |
98b364d
to
96387a5
Compare
Now |
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.
Looks great! Thanks for fixing this and making it more robust. Just a few minor comments below
566e3dd
to
c96c5fa
Compare
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.
couple minor things.
c96c5fa
to
e5c24f9
Compare
9265fc1
to
d214195
Compare
CustomGridBoundaries to precisely replicate grids from a simulation of identical size
d214195
to
9d211b9
Compare
ElectromagneticFieldData.dot to reindex coords for aligning almost identical coordinates