Photonic - A perl package for calculations on photonics and metamaterials.
Copyright (C) 1916 by W. Luis Mochán
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
firstname.lastname@example.org Instituto de Ciencias Físicas, UNAM Apartado Postal 48-3 62251 Cuernavaca, Morelos México
use Photonic::LE::NR2::AllH; my $iter=Photonic::LE::NR2::AllH->new(geometry=>$geometry,nh=>$Nh); $iter->run; my $haydock_as=$iter->as; my $haydock_bs=$iter->bs; my $haydock_b2s=$iter->b2s;
Implements the calculation of Haydock coefficients and saves them for later retrieval for the nonretarded calculation of the macroscopic longitudinal in a binary metamaterial.
Initializes an Ph::LE::NR2::AllH object. $nh is the maximum number of desired coefficients. All other arguments are as in Photonic::LE::NR2::OneH.
Runs the iteration to completion. Calculates and saves Haydock coefficients and states (if desired).
All the Photonic::LE::NR2::OneH methods
They implement the calculation of one Haydock coefficient and state at a time. See Photonic::LE::NR2::OneH methods.
All the Photonic::Roles::AllH methods
Iterate the calculation of Haydock coefficients and states. See Photonic::Roles::AllH
Maximum number of desired Haydock 'a' coefficients and states. The number of b coefficients is one less.
Array of Haydock a coefficients
Array of Haydock b coefficients
Array of Haydock b coefficients squared