Photonic::NonRetarded::AllH
version 0.010
use Photonic::NonRetarded::AllH; my $iter=Photonic::NonRetarded::AllH->new(geometry=>$geometry,nh=>$Nh, keepStates=>$save); $iter->run; my $haydock_as=$iter->as; my $haydock_bs=$iter->bs; my $haydock_b2s=$iter->b2s; my $haydock_states=$iter->states;
Iterates the calculation of Haydock coefficients and states and saves them for later retrieval.
new(geometry=>$g, nh=>$nh, keepStates=>$k)
Initializes an Ph::NR::AllH object. $nh is the maximum number of desired coefficients, $k is a flag, non zero to save the Haydock states. All other arguments are as in Photonic::NonRetarded::OneH.
run
Runs the iteration to completion
All the Photonic::NonRetarded::OneH methods
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
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.