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

NAME

Photonic::Retarded::Metric

VERSION

version 0.010

SYNOPSIS

    use Photonic::Retarded::Metric;
    my $gGG=Photonic::Retarded::Metric->new(
            geometry=>$geometry, epsilon=>$eps, 
            wavenumber => $q, $wavevector=>k);
    f($gGG->value);

DESCRIPTION

Calculates the retarded metric tensor g_{GG'}^{ij} for use in the calculation of the retarded Haydock coefficients.

METHODS

  • new(geometry=>$g, epsilon=>$e, $wavenumber=>$q, $wavevector=>$k);

    Create a new Ph::R::Metric object with Geometry $g, dielectric function of the host $e, vacuum wavenumber $q=omega/c and wavevector $k. $q and $k may be real or complex.

ACCESORS (read only)

  • value

    The actual metric tensor as a complex PDL (2,d,d,n1,n2..nd) where the first index identifies real or imaginary part, the second and third run over cartesian indices for 0 to d-1 in d dimensions, the next d indicen1,n2...nd identify the wavevector G.