- COPYRIGHT NOTICE
- ACCESORS (read only)
- ACCESORS (read/write)
Photonic - A perl package for calculations on photonics and metamaterials.
Copyright (C) 1916 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
firstname.lastname@example.org Instituto de Ciencias Físicas, UNAM Apartado Postal 48-3 62251 Cuernavaca, Morelos México
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;
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.
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
Invariant part of SHG calculator.
ndims nrf densityA densityB density nr
Accesors handled by shp
Dielectric functions of materials A and B at the fundamental frequency
Dielectric functions of materials A and B at the second harmonic frequency
Polarizabity field at the fundamental frequency
Polarizabity field at the second harmonic frequency
Spectral variable at fundamental frequency
Spectral variable at second harmonic frequency
longitudinal field at fundamental
longitudinal field at second harmonic
Dipolar contribution to SH polarization field
SH quadrupolar contribution to SH polarization field
External contribution to SH polarization field (quadrupolar + dipolar)
External SH polarization field in reciprocal space
Longitudinal projection of external polarization field in reciprocal space
Photonic::LE::NR2::AllH structure to calculate Haydock basis for non linear polarization
External SH polarization field represented in Haydock basis
SH self consistent longitudinal polarization in Haydock representation
SH self consistent longitudinal polarization components in reciprocal space
SH self consistent longitudinal polarization vector field projection in reciprocal space
SH self consistent longitudinal polarization vector projection field in real space
SH self consistent total polarization vector field in real space
Flag to filter results in reciprocal space to smooth non linear polarization using the field (nrf) filter.