The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Photonic::Retarded::Wave

VERSION

version 0.008

SYNOPSIS

use Photonic::Retarded::Wave;
my $W=Photonic::Retarded::Wave->new(metric=>$m, nh=>$nh);
my $WaveTensor=$W->evaluate($epsB);

DESCRIPTION

Calculates the macroscopic wave operator for a given fixed Photonic::Retarded::Metric structure as a function of the dielectric functions of the components.

METHODS

  • new(metric=>$m, nh=>$nh, smallH=>$smallH, smallE=>$smallE, keepStates=>$k)

    Initializes the structure.

    $m Photonic::Retarded::Metric describing the structure and some parametres.

    $nh is the maximum number of Haydock coefficients to use.

    $smallH and $smallE are the criteria of convergence (default 1e-7) for Haydock coefficients and for continued fraction.

    $k is a flag to keep states in Haydock calculations (default 0)

  • evaluate($epsB)

    Returns the macroscopic wave operator for a given value of the dielectric functions of the particle $epsB. The host's response $epsA is taken from the metric.

ACCESORS (read only)

  • waveOperator

    The macroscopic wave operator of the last operation

  • All accesors of Photonic::Retarded::Green