aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-05-01 08:20:32 -0700
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-05-01 08:20:32 -0700
commite4985aa4188ce6f9605171db2a1c621ecc730e26 (patch)
treedf186acee203e94ee986418c6172bdf921ccf19b /Source/FieldSolver/SpectralSolver/SpectralSolver.cpp
parent91f27c7e814666aed85f505094635128a80dade6 (diff)
downloadWarpX-e4985aa4188ce6f9605171db2a1c621ecc730e26.tar.gz
WarpX-e4985aa4188ce6f9605171db2a1c621ecc730e26.tar.zst
WarpX-e4985aa4188ce6f9605171db2a1c621ecc730e26.zip
Add comments
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralSolver.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralSolver.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp b/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp
index 5da39a7c7..c21c3cfb1 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp
+++ b/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp
@@ -2,7 +2,11 @@
#include <SpectralSolver.H>
#include <PsatdAlgorithm.H>
-/* \brief TODO Description
+/* \brief Initialize the spectral Maxwell solver
+ *
+ * This function selects the spectral algorithm to be used, allocates the
+ * corresponding coefficients for the discretized field update equation,
+ * and prepares the structures that store the fields in spectral space.
*/
SpectralSolver::SpectralSolver(
const amrex::BoxArray& realspace_ba,