Copyright Notice and License Agreement for QMG 
QMG is Copyright (c) 1996 Cornell University.
This software was developed by Stephen A. Vavasis.  
Email: vavasis@cs.cornell.edu.  Parts of the software
incorporate Tcl/Tk.  The copyright for Tcl/Tk
is shown below.
The algorithms incorporated in the software were developed primarily
by Vavasis, except:  The quadtree/octree mesh generator is based on an
algorithm developed by Scott A. Mitchell and Vavasis.  The 2D Delaunay
mesh generator is based on algorithms developed by Paul Chew, Jim Ruppert, 
Maria-Cecilia Rivara, and William Mitchell.
For more information contact the author directly.
QMG running under Windows uses the random-number generator ranlib
available from netlib (but this is
shipped with QMG, so you don't need to separately install it).
Ranlib is written by Barry Brown and James Lovato but does not
appear to be copyrighted.
 License terms and conditions
- 
  The "Software", below, refers to the QMG system, developed by
    the S. Vavasis  (in either source-code, object-code or executable-code
    form), and related documentation, and a "work based on the Software" means
    a work based on either the Software, on part of the Software, or on any 
    derivative work of the Software under copyright law: that is, a work 
    containing all or a portion of the QMG System, either verbatim or
    with modifications.  Each licensee is addressed as "you" or "Licensee."
- 
  Cornell University as the parent organization of the QMG Project
    holds copyrights in the Software.  The copyright holder reserves all 
    rights except those expressly granted to licensees, and U.S.  Government 
    license rights.
- 
  Permission is hereby granted to use, copy, modify, and to redistribute 
    to others.  If you distribute a copy or copies of the Software, or you 
    modify a copy or copies of the Software or any portion of it, thus
    forming a work based on the Software, and make and/or distribute copies 
    of such work, you must meet the following conditions:
- 
  If you make a copy of the Software (modified or verbatim) it must 
	include the copyright notice and this license.
- 
 You must cause the modified Software to carry prominent notices
	stating that you changed specified portions of the Software.
 
- 
  LICENSEE AGREES THAT THE EXPORT OF GOODS AND/OR TECHNICAL 
    DATA FROM THE UNITED STATES MAY REQUIRE SOME FORM OF EXPORT 
    CONTROL LICENSE FROM THE U.S. GOVERNMENT AND THAT FAILURE TO 
    OBTAIN SUCH EXPORT CONTROL LICENSE MAY RESULT IN CRIMINAL 
    LIABILITY UNDER U.S. LAWS.
- 
  Portions of the Software resulted from work developed under a U.S.
    Government Contract and are subject to the following license: the 
    Government is granted for itself and others acting on its behalf a
    paid-up, nonexclusive, irrevocable worldwide license in this computer 
    software to reproduce, prepare derivative works, and perform publicly 
    and display publicly.
- 
  Disclaimer of warranty: Licensor provides the software on an ``as is''
    basis.  Licensor does not warrant, guarantee, or make any representations
    regarding the use or results of the software with respect to its
    correctness, accuracy, reliability or performance.  The entire risk of
    the use and performance of the software is assumed by licensee.
    ALL WARRANTIES INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF FITNESS
    FOR A PARTICULAR PURPOSE OR MERCHANTABILITY ARE HEREBY EXCLUDED.
- 
  Lack of maintainance or support services:  Licensee understands and
    agrees that licensor is under no obligation to provide maintanance,
    support or update services, notices of latent defects, or correction
    of defects for the software.
- 
  Limitation of liability, indemnification: Even if advised of the
    possibility of damages, under no circumstances shall licensor be liable
    to licensee or any third party for damages of any character, including,
    without limitation, direct, indirect, incidental, consequential or
    special damages, loss of profits, loss of use, loss of goodwill, computer
    failure or malfunction.  Licensee agrees to indemnify and hold harmless
    licensor for any and all liability licensor may incur as a result of
    licensee's use of the software.
 Tcl/Tk copyright and license agreement 
QMG incorporates Tcl/Tk.  Note: parts of Tcl/Tk have been modified
for use with Matlab.  See the Tcl/Tk source code shipped with
QMG for indications of the modifications.
Following is the license agreement for
Tcl/Tk.
This software is copyrighted by the Regents of the University of
California, Sun Microsystems, Inc., and other parties.  The following
terms apply to all files associated with the software unless explicitly
disclaimed in individual files.
The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose, provided
that existing copyright notices are retained in all copies and that this
notice is included verbatim in any distributions. No written agreement,
license, or royalty fee is required for any of the authorized uses.
Modifications to this software may be copyrighted by their authors
and need not follow the licensing terms described here, provided that
the new terms are clearly indicated on the first page of each file where
they apply.
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
MODIFICATIONS.
RESTRICTED RIGHTS: Use, duplication or disclosure by the government
is subject to the restrictions as set forth in subparagraph (c) (1) (ii)
of the Rights in Technical Data and Computer Software Clause as DFARS
252.227-7013 and FAR 52.227-19.