This code forms the supplementary material of the publication
Brambley & Gabard (2014), Journal of Sound and Vibration
Please acknowledge use of this code by citing that publication.

To Compile
==========

Two libraries are needed to compile: LAPACK
(http://www.netlib.org/lapack/), and D.E. Amos' Algorithm 644
(http://www.netlib.org/toms/644).  The relevant part of the second of
these is included in zbsubs.f, together with the relevant machine
description file zbsubs_machcon.c needed.

To compile, type "make" at the command line.  The compilation was
tested with gcc and gfortran versions 4.1.2, 4.7.3 and 4.8.1.


To Run
======

Each program reads its parameters from the command line and prints its
output on stdout.  Run the program without parameters to get a
description of what is needed.  An example script run.sh is provided,
which provides the commands needed to generate the results used in the
accompanying paper.


Licensing
=========

These programs are free software: you can redistribute them and/or
modify them under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

These programs are distributed in the hope that they 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.

A copy of the GNU General Public License is provided in the file
COPYING accompanying these programs.  It can also be obtained from
http://www.gnu.org/licenses/.

Additional permission under GNU GPL version 3 section 7

If you modify these programs, or any covered work, by linking or
combining them with D.E. Amos' Algorithm 644
(http://www.netlib.org/toms/644) (or a modified version of that
library), containing parts covered by the terms of the ACM Software
Copyright and License Agreement
(www.acm.org/publications/policies/softwarecrnotice), the licensors of
these programs grant you additional permission to convey the resulting
works.  Corresponding Source for a non-source form of such a
combination shall include the source code for the parts of Algorithm
644 used as well as that of the covered work.

If you modify these programs, or any covered work, by linking or
combining it with LAPACK (http://www.netlib.org/lapack) (or a modified
version of that library), containing parts covered by the terms of the
LAPACK modified BSD license
(http://www.netlib.org/lapack/LICENSE.txt), the licensors of these
programs grant you additional permission to convey the resulting
works.
