aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralSolver.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralSolver.H')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralSolver.H12
1 files changed, 3 insertions, 9 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolver.H b/Source/FieldSolver/SpectralSolver/SpectralSolver.H
index 78fdc16f8..0953996fa 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralSolver.H
+++ b/Source/FieldSolver/SpectralSolver/SpectralSolver.H
@@ -123,16 +123,10 @@ class SpectralSolver
* defined in the base class SpectralBaseAlgorithm and possibly overridden
* by its derived classes (e.g. PsatdAlgorithm, PsatdAlgorithmComoving, etc.), from
* objects of class SpectralSolver through the private unique pointer \c algorithm
- *
- * \param[in] lev The mesh refinement level
- * \param[in,out] current three-dimensional array of unique pointers to MultiFab
- * storing the three components of the current density
- * \param[in] rho unique pointer to MultiFab storing the charge density
*/
- void CurrentCorrection ( const int lev,
- std::array<std::unique_ptr<amrex::MultiFab>,3>& current,
- const std::unique_ptr<amrex::MultiFab>& rho ) {
- algorithm->CurrentCorrection( lev, field_data, current, rho );
+ void CurrentCorrection ()
+ {
+ algorithm->CurrentCorrection(field_data);
}
/**