This series of MATLAB scripts allows the user to create cloaks for arbitrary shaped objects using the numerical transformation optics method.
-
TransformationOptics.m: Main simulation file, object and cloak are defined here. Script outputs transformed coordinate space along with dielectric tensors for transofming said space.
-
fdder.m: Finite Difference Derivative Matrix function. Given grid, resolution, and boundary condition parameters, the function outputs 4 derivative matrices (Dx, Dx2, Dy, Dy2).
In the case of a simple squared cloak enclosing a triangular object, the output of the script is as follows:
Name | Output |
---|---|
CLOAK | ![]() |
ECLOAK | ![]() |
OBJECT | ![]() |
EOBJ | ![]() |
FORCE | ![]() |
INTERMEDIATE | ![]() |
TRANSFORMED | ![]() |
ER | ![]() |