Closed ztdepztdep closed 4 months ago
We do have computeGradient (https://amrex-codes.github.io/amrex/doxygen/namespaceamrex.html#af1f7462a23b5cde85daacbd1d3a357f9) and computeDivergence (https://amrex-codes.github.io/amrex/doxygen/namespaceamrex.html#ab36700aa1e60f78cbb544a7593de37af). If they do not do exactly what you want, it should be easy to write your own functions.
For the solver, you might want to look at https://amrex-codes.github.io/amrex/docs_html/LinearSolvers_Chapter.html
We do have computeGradient (https://amrex-codes.github.io/amrex/doxygen/namespaceamrex.html#af1f7462a23b5cde85daacbd1d3a357f9) and computeDivergence (https://amrex-codes.github.io/amrex/doxygen/namespaceamrex.html#ab36700aa1e60f78cbb544a7593de37af). If they do not do exactly what you want, it should be easy to write your own functions.
For the solver, you might want to look at https://amrex-codes.github.io/amrex/docs_html/LinearSolvers_Chapter.html
thanks. but it seems there are no source code link for the computegradient functions?
Maybe you can git grep
?
I'm interested in using AMRex for simulations involving the Helmholtz equation. Does AMRex offer built-in functionalities to compute:
Any insights or code examples would be greatly appreciated!