diff options
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralFieldData.H')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralFieldData.H | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralFieldData.H b/Source/FieldSolver/SpectralSolver/SpectralFieldData.H index 9b748a048..4f0ad1c20 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralFieldData.H +++ b/Source/FieldSolver/SpectralSolver/SpectralFieldData.H @@ -50,13 +50,16 @@ class SpectralFieldIndex * div(B) = 0 law (new field G in the update equations) * \param[in] pml whether the indices are used to access spectral data * for the PML spectral solver + * \param[in] pml_rz whether the indices are used to access spectral data + * for the RZ PML spectral solver */ SpectralFieldIndex (const bool update_with_rho, const bool time_averaging, const bool do_multi_J, const bool dive_cleaning, const bool divb_cleaning, - const bool pml); + const bool pml, + const bool pml_rz = false); /** * \brief Default constructor @@ -97,6 +100,9 @@ class SpectralFieldIndex // PML with div(E) and/or div(B) cleaning int Exx = -1, Eyy = -1, Ezz = -1, Bxx = -1, Byy = -1, Bzz = -1; int Fx = -1, Fy = -1, Fz = -1, Gx = -1, Gy = -1, Gz = -1; + + // PML RZ + int Er_pml = -1, Et_pml = -1, Br_pml = -1, Bt_pml = -1; }; /** \brief Class that stores the fields in spectral space, and performs the |