/TransformationOptics

This MATLAB script implements transformation optics to cloak an object.

Primary LanguageMATLAB

TransformationOptics

This series of MATLAB scripts allows the user to create cloaks for arbitrary shaped objects using the numerical transformation optics method.

Included Files

  1. TransformationOptics.m: Main simulation file, object and cloak are defined here. Script outputs transformed coordinate space along with dielectric tensors for transofming said space.

  2. fdder.m: Finite Difference Derivative Matrix function. Given grid, resolution, and boundary condition parameters, the function outputs 4 derivative matrices (Dx, Dx2, Dy, Dy2).

Sample Ouput

In the case of a simple squared cloak enclosing a triangular object, the output of the script is as follows:

Name Output
CLOAK CLOAK
ECLOAK ECLK
OBJECT OBJ
EOBJ EOBJ
FORCE FORCE
INTERMEDIATE INT
TRANSFORMED XBYB
ER ER