NAME
Photonic::NonRetarded::SHChiTensor
VERSION
version 0.003
SYNOPSIS
use Photonic::NonRetarded::SHChiTensor;
my $chi=Photonic::NonRetarded::SHChiTensor->new(geometry=>$g,
$densityA=>$dA, $densityB=>$dB, nh=>$nh, nhf=>$nhf,
filter=>$f, filterflag=>$ff);
my $chiTensor=$chi->evaluate($epsA1, $epsB1, $epsA2, $epsB2);
DESCRIPTION
Calculates the second harmonic susceptibility tensor for a given fixed Photonic::Geometry structure as a function of the dielectric functions of the components.
METHODS
new(geometry=>$g, densityA=>$da, densityB=>$db, nh=>$nh, nhf=>$nhf[, filter=>$ff][, small=>$small])
Initializes the structure.
$g Photonic::Geometry describing the structure
$da, $db number densities for material A and B (in which units?)
$nh is the maximum number of Haydock coefficients to use.
$nhf is the maximum number of Haydock coefficients for the field calculation.
$ff is a (maybe smooth) cutoff function in reciprocal space to smothen the geometry.
$small is the criteria of convergence (default 1e-7)
evaluate($epsA1, $epsB1, $epsA2, $epsB2)
Returns the macroscopic second Harmonic susceptibility function for a given value of the dielectric functions of the host $epsA and the =particle $epsB at the fundamental 1 and second harmonic 2 frequency.
ACCESORS (read only)
epsA1, epsB1, epsA2, epsB2
Dielectric functions of components A and B at fundamental and SH frequency
nrshp
Array of Photonic::NonRetarded::SHP Haydock SH polarization calculators, one for each direction
chiTensor
The dielectric tensor
nh
The maximum number of Haydock coefficients to use.
nhActual
The actual number of Haydock coefficients used in the last calculation
converged
Flags that the last calculation converged before using up all coefficients
small
Criteria of convergence. 0 means don't check.
ACCESORS (missing)
u1, u2
Spectral variables