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.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolver.H b/Source/FieldSolver/SpectralSolver/SpectralSolver.H
index 06d53a2a9..363ac7bd8 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralSolver.H
+++ b/Source/FieldSolver/SpectralSolver/SpectralSolver.H
@@ -19,14 +19,14 @@ class SpectralSolver
SpectralSolver( const amrex::BoxArray& realspace_ba,
const amrex::DistributionMapping& dm,
const int norder_x, const int norder_y, const int norder_z,
- const amrex::RealVect dx, const amrex::Real dt )
+ const bool nodal, const amrex::RealVect dx, const amrex::Real dt )
{
// Initialize all structures using the same distribution mapping dm
// - Initialize k space (Contains size of each box in spectral space,
// and corresponding values of the k vectors)
const SpectralKSpace k_space = SpectralKSpace( realspace_ba, dm, dx );
// - Initialize algorithm (coefficients) over this space
- algorithm = PsatdAlgorithm( k_space, dm, norder_x, norder_y, norder_z, dt );
+ algorithm = PsatdAlgorithm( k_space, dm, norder_x, norder_y, norder_z, nodal, dt );
// - Initialize arrays for fields in Fourier space + FFT plans
field_data = SpectralFieldData( realspace_ba, k_space, dm );
};