Skip to content

Conversation

@anekslen
Copy link
Collaborator

Add Standard and Non-Standard Finite Difference Time Domain Solvers to IPPL.

This replaces the Solver part of pullrequest #289.

There are two testcases for both the solvers in test/solvers/. One of them is the convergence test. The results for both solvers can be seen in the images below:

NonStandardFDTDSolver_convergence
StandardFDTDSolver_convergence

anekslen and others added 4 commits June 17, 2025 15:37
…g BC (Absorbing BC are not implemented very nicely, this could be improved, base code from Manuel)
@anekslen anekslen requested review from aaadelmann and s-mayani June 17, 2025 14:25
@anekslen anekslen linked an issue Jun 17, 2025 that may be closed by this pull request
Copy link
Collaborator

@s-mayani s-mayani Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we move all the FDTD tests to a new solver directory called electromagnetism or maxwell_solver or something like that? what do you think @aaadelmann?

Copy link
Collaborator

@s-mayani s-mayani Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having seen the readme below, I think it might make sense to just make a separate directory called fdtd_solver with the tests and put the readme there, as this readme does not concern any of the other tests in test/solver.

Copy link
Collaborator

@s-mayani s-mayani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments.
In general, I think the IPPL clang formatting needs to be applied.
Also, I am not sure about the error computation in the tests.

@anekslen
Copy link
Collaborator Author

After correcting the error calculation, these are the two new convergence plots:

NonStandardFDTDSolver_convergence
StandardFDTDSolver_convergence

@anekslen anekslen merged commit 7ab9ba6 into IPPL-framework:master Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants