From 76ebee96eeabd7336c49c1250e255db59ec0d971 Mon Sep 17 00:00:00 2001 From: Michael E Rowan <38045958+mrowan137@users.noreply.github.com> Date: Tue, 16 Mar 2021 11:35:07 -0700 Subject: Add timers in routines that depend on cell-related work (#1692) * Add timers * eol * AtomicAdd * lev argument for getCosts * style * style * wip * eol * .ipynb * passing down lev * eol * passing lev * eol * Update Source/Particles/Collision/PairWiseCoulombCollision.cpp Co-authored-by: Axel Huebl * Add for QED and ionization routines * eol * remove unneeded * mfi-->pti * move cost * eol Co-authored-by: Axel Huebl --- .../SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp') diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp index 6b9397807..aafa3ba8d 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp @@ -226,7 +226,8 @@ void PMLPsatdAlgorithm::InitializeSpectralCoefficients ( } void -PMLPsatdAlgorithm::CurrentCorrection (SpectralFieldData& /*field_data*/, +PMLPsatdAlgorithm::CurrentCorrection (const int /*lev*/, + SpectralFieldData& /*field_data*/, std::array,3>& /*current*/, const std::unique_ptr& /*rho*/) { @@ -234,7 +235,8 @@ PMLPsatdAlgorithm::CurrentCorrection (SpectralFieldData& /*field_data*/, } void -PMLPsatdAlgorithm::VayDeposition (SpectralFieldData& /*field_data*/, +PMLPsatdAlgorithm::VayDeposition (const int /*lev*/, + SpectralFieldData& /*field_data*/, std::array,3>& /*current*/) { amrex::Abort("Vay deposition not implemented for PML PSATD"); -- cgit v1.2.3