The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Photonic::NonRetarded::SH

VERSION

version 0.009

SYNOPSIS

   use Photonic::NonRetarded::SH;
   my $nrsh=Photonic::NonRetarded::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

  • new(shp=>$shp, epsA1=>$epsA1, epsB1=>$epsB1, epsA2=>$epsA2, epsB2=>epsB2);

    Initializes the structure

    $shp is a Photonic::NonRetarded::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

ACCESORS (read only)

  • shp

    Invariant part of SHG calculator.

  • ndims nrf densityA densityB density nr

    Accesors 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

  • 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::NonRetarded::AllH 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

ACCESORS (read/write)

  • filterflag

    Flag to filter results in reciprocal space to smooth non linear polarization using the field (nrf) filter.

#=begin Pod::Coverage # #=head2 BUILD # #=end Pod::Coverage