Photonic::Retarded::Metric
version 0.010
use Photonic::Retarded::Metric; my $gGG=Photonic::Retarded::Metric->new( geometry=>$geometry, epsilon=>$eps, wavenumber => $q, $wavevector=>k); f($gGG->value);
Calculates the retarded metric tensor g_{GG'}^{ij} for use in the calculation of the retarded Haydock coefficients.
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.
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.
To install Photonic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Photonic
CPAN shell
perl -MCPAN -e shell install Photonic
For more information on module installation, please visit the detailed CPAN module installation guide.