NAME
Photonic::LE::NR2::SH
VERSION
version 0.023
COPYRIGHT NOTICE
Photonic - A perl package for calculations on photonics and metamaterials.
Copyright (C) 2016 by W. Luis Mochán
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
mochan@fis.unam.mx
Instituto de Ciencias Físicas, UNAM
Apartado Postal 48-3
62251 Cuernavaca, Morelos
México
SYNOPSIS
use Photonic::LE::NR2::SH;
my $nrsh=Photonic::LE::NR2::SH->new(shp=>$shp, epsA1=>$epsA1, epsB1=>$epsB1,
- epsA2=>$epsA2, epsB2=>$epsB2);
my $PL_G=$nrsh->selfConsistentL_G;
DESCRIPTION
Calculates the non retarded SH polarizations and fields of arbitrary a periodic composite made up of centrosymmetric isotropic component materials, using the continuous dipolium model.
METHODS
item * new(shp=>$shp, epsA1=>$epsA1, epsB1=>$epsB1, epsA2=>$epsA2, epsB2=>epsB2);
Initializes the structure
$shp is a Photonic::LE::NR2::SHP object with the invariant part of the data structures for the calculations
$epsA1, $epsB1, $epsA2, $epsB2 are the dielectric functions of the A -and B materials at the fundamental and the second harmonic frequency
ACCESSORS (read only)
shp
Invariant part of SHG calculator.
ndims densityA densityB density haydock nh filter
Accessors handled by shp
epsA1, epsB1
Dielectric functions of materials A and B at the fundamental frequency
epsA2, epsB2
Dielectric functions of materials A and B at the second harmonic frequency
alpha1
Polarizabity field at the fundamental frequency
alpha2
Polarizabity field at the second harmonic frequency
u1
Spectral variable at fundamental frequency
u2
Spectral variable at second harmonic frequency
field1
longitudinal field at fundamental
field2
longitudinal field at second harmonic
dipolar
Dipolar contribution to SH polarization field
quadrupolar
SH quadrupolar contribution to SH polarization field
epsL2
Longitudinal dielectric function at 2w
external
External contribution to SH polarization field (quadrupolar + dipolar)
external_G
External SH polarization field in reciprocal space
externalL_G
Longitudinal projection of external polarization field in reciprocal space
HP
Photonic::LE::NR2::Haydock structure to calculate Haydock basis for non linear polarization
externalL_n
External SH polarization field represented in Haydock basis
selfConsistentL_n
SH self consistent longitudinal polarization in Haydock representation
selfConsistentL_G
SH self consistent longitudinal polarization components in reciprocal space
selfConsistentVecL_G
SH self consistent longitudinal polarization vector field projection in reciprocal space
selfConsistentVecL
SH self consistent longitudinal polarization vector projection field in real space
P2
SH self consistent total polarization vector field in real space
ACCESSORS (read/write)
filterflag
Flag to filter results in reciprocal space to smooth non linear polarization using the field (nrf) filter.