Programming, Cpp, Cpp11, Compile Times, Simulation.
below defines constexpr variables for a two-dimensional grid. Maxwell’s equations describe how electric and magnetic fields evolve. To find an approximate solution to Maxwell’s differential equations, I use the Finite-difference time-domain or Yee’s method. The values of an electric field in each