7#ifndef IPPL_STANDARD_FDTD_SOLVER_H
8#define IPPL_STANDARD_FDTD_SOLVER_H
32 template <
typename EMField,
typename SourceField, fdtd_bc boundary_conditions = periodic>
44 constexpr static unsigned Dim = EMField::dim;
45 using scalar =
typename EMField::value_type::value_type;
50 typename SourceField::value_type;
55 virtual void step()
override;
Impelmentation of the StandardFDTDSolver class functions.
FDTDSolverBase(SourceField &source, EMField &E, EMField &B)
typename SourceField::value_type SourceVector_t
typename EMField::value_type::value_type scalar
static constexpr unsigned Dim
virtual void step() override
Advances the simulation by one time step.
virtual void initialize() override
Initializes the solver.
Vector< typename EMField::value_type::value_type, Dim > Vector_t
StandardFDTDSolver(SourceField &source, EMField &E, EMField &B)
Constructs a StandardFDTDSolver.