This repository contains the C++ source code for simulating metamaterial backward wave propagation using the Finite-Difference Time-Domain (FDTD) method.
To run the simulation, execute the drive.cpp
file. You can do this by compiling the file with a C++ compiler like g++, and then running the executable:
g++ -o drive drive.cpp
./drive
This project is licensed under the GPL License. For more information, see the LICENSE.md file in this repository.
This code has been developed and analyzed based on the principles outlined in the following paper:
Wang, X., Li, J. and Fang, Z., 2018. Development and analysis of Crank‐Nicolson scheme for metamaterial Maxwell's equations on nonuniform rectangular grids. Numerical Methods for Partial Differential Equations, 34(6), pp.2040-2059.