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

NAME

Photonic::Retarded::AllH

VERSION

version 0.010

SYNOPSIS

   use Photonic::Retarded::AllH;
   my $iter=Photonic::Retarded::AllH->new(metric=>$metric,
            nh=>$Nh, polarization=>$p, keepStates=>$save); 
   $iter->run;
   my $haydock_as=$iter->as;
   my $haydock_bs=$iter->bs;
   my $haydock_b2s=$iter->b2s;
   my $haydock_b2s=$iter->b2s;
   my $haydock_b2s=$iter->b2s;
   my $haydock_cs=$iter->cs;
   my $haydock_bcs=$iter->bcs;
   my $haydock_gs=$iter->gs;
   my $haydock_states=$iter->states;

DESCRIPTION

Iterates the calculation of Haydock coefficients and states in the retarded regime and saves them for later retrieval.

METHODS

  • new(metric=>$m, polarization=>$p, nh=>$nh[, keepStates=>$k, smallH=>$s])

    Initializes an Ph::NR::AllH object. $m is the retarded metric to use, $p is the polarization of the field, $nh is the maximum number of desired coefficients to calculate, $k is a flag, non zero to save the Haydock states, $s is a number to be considered negligible. Other arguments are as in Photonic::Retarded::OneH.

  • run

    Runs the iteration to completion

  • All the Photonic::Retarded::OneH methods

ACCESORS (read only)

  • nh

    Maximum number of desired Haydock 'a' coefficients and states. The number of b coefficients is one less.

  • keepStates

    Flag to keep (1) or discard (0) Haydock states

  • states

    Array of Haydock states

  • as

    Array of Haydock a coefficients

  • bs

    Array of Haydock b coefficients

  • b2s

    Array of Haydock b coefficients squared

  • cs

    Array of Haydock c coefficients

  • bcs

    Array of Haydock b times c coefficients

  • gs

    Array of Haydock g coefficients

  • All the Photonic::Retarded::OneH methods