RS-utils
Copyright (C) 2025-2026 Anders Bergman

RS-utils is licensed under the GNU General Public License, version 3 only
(see the LICENSE file). The Python code, tests, documentation and build files
are original work of the author and its contributors.

THIRD-PARTY AND DERIVED SOURCES
===============================

The Fortran sources under source/ include code adapted from earlier programs.
Their origin and status are recorded here. This file is a statement of what is
currently known; it will be updated as provenance is confirmed.

1. source/spheres/defmtr.f90, empty.f90, radii.f90, utils.f90

   Fortran 90 adaptations of the program "spheres" of the xband package,
   written by H. Ebert and A. Perlov (the sources carry SPAG headers dated
   26 March 2020). According to the xband manual, xband and its auxiliary
   FORTRAN programs (plot, findsym and spheres) are part of the xband
   distribution "with the GNU licence rules applying", and "spheres" is based
   on subroutines that stem from the Stuttgart LMTO package, developed by
   G. Krier, O. Jepsen and O. K. Andersen (the LMTO47 lineage).

2. source/spheres/utils.f90 (additionally)

   Contains auxiliary routines originating from the netlib reference
   LAPACK (version 2.0) and BLAS libraries (DLAMC1-DLAMC5, LSAME, IDAMAX,
   DCOPY, DSCAL and related helpers), and an atomic Dirac-equation solver
   (RHFDS and its helpers) of the same xband/LMTO47 lineage as item 1.

3. source/potpars/lmto_lib.f90, source/potpars/potpar_wrapper.f90,
   source/io/atom_io.f90

   Default potential-parameter tables and formulas (DEFPP, DEFMOM, DEFCNF,
   screening constants) follow the LMTO47 conventions; source comments cite
   "Kampur notes" (Eq. 3.94) and the screening constants of O. Jepsen.

An independent comparison with the Questaal package found no evidence that
these routines were copied from Questaal (whose empty-sphere finder, FINDES,
is a separate implementation); Questaal's licence therefore does not apply to
them.
