The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Photonic - A perl package for calculations on photonics and metamaterials.

VERSION

Version 0.007

SYNOPSIS

use Photonic::Geometry;
use Photonic::NonRetarded::EpsTensor;

my $g=Photonic::Geometry->new(B=>$b);
my $eps=Photonic::Nonretarded::EpsTensor->new(geometry=>$g, nh=>$N);
my $epsValue=$eps->evaluate($epsA, $epsB);

Calculates the dielectric tensor of a metamaterial made up of two materials with dielectric functions $epsA and $epsB with a geometry $g corresponding to a characteristic funcion $b and using $N Haydock coefficients.

DESCRIPTION

Set of packages for the calculation of optical properties of metamaterials. The included packages are:

Photonic::CharacteristicFunctions

Some examples of characteriztic functions.

Photonic::ExtraUtils

Some useful fortran routines from linpack.

Photonic::Geometry

Object to hold the geometry of the metamaterial.

Photonic::Geometry::FromImage2D

Obtain the geometry from a black and white 2D image.

Photonic::Types

Definition of some types.

Photonic::Utils

Some useful functions.

Photonic::NonRetarded::One

Object to calculate one Haydock coefficient.

Photonic::Nonretarded::AllH

Object to calculate all Haydock coeffficients.

Photonic::NonRetarded::EpsL

Object to calculate the longitudinal dielectric response in the non retarded regime.

Photonic::NonRetarded::EpsTensor

Object to calculate all components of the dielectric tensor in the non retarded regime.

Photonic::NonRetarded::FieldH

Object to calculate the microscopic electromagnetic fields in the non retarded regime.

Photonic::NonRetarded::SHP

Object to prepare the data for the calculation of the SH polarization in the non retarded regime using the dipolium model.

Photonic::NonRetarded::SH

Object to calculate the second harmonic polarization in the nonretarded regime.

Photonic::NonRetarded::SHChiTensor

Object to calculate the second harmonic susceptibility tensor in the non retarded regime using the dipolium model.

Photonic::Roles::EpsParams

Fields that are factored as they are common in different packages.

Photonic::Roles::KeepStates

Flag that is factored as it is common in different packages.

AUTHORS

  • W. Luis Mochán, Instituto de Ciencias Físicas, UNAM, México mochan@fis.unam.mx

  • Guillermo Ortiz, Departamento de Física - FCENA, Universidad Nacional del Nordeste, Argentina gortiz@exa.unne.edu.ar

  • Bernardo S. Mendoza, Department of Photonics, Centro de Investigaciones en Óptica, México bms@cio.mx

  • José Samuel Pérez-Huerta, Unidad Académica de Física, Universidad Autónoma de Zacatecas, México jsperez@fisica.uaz.edu.mx

ACKNOWLEDGMENTS

This work was partially supported by DGAPA-UNAM under grants IN108413 and IN113016.