Libctl release notes
From AbInitio
(Difference between revisions)
Revision as of 01:14, 16 October 2005 (edit) Stevenj (Talk | contribs) ← Previous diff |
Revision as of 18:39, 16 October 2005 (edit) Stevenj (Talk | contribs) Next diff → |
||
Line 6: | Line 6: | ||
* Added simple trapezoidal-rule adaptive numeric integration routine. | * Added simple trapezoidal-rule adaptive numeric integration routine. | ||
- | * Numerical derivative routines now allow numerical differentation of vector-valued function. Added deriv2 convenience routine. | + | * Numerical derivative routines now allow numerical differentation of vector-valued function. Added <code>deriv2</code> convenience routine. |
- | * Added find-root-deriv functions for faster root-finding of functions for which the derivative is also available. | + | * Added <code>find-root-deriv</code> functions for faster root-finding of functions for which the derivative is also available. |
- | * Added missing (cvector3 ...) constructor, and fixed corresponding constructor for cvector3 object properties; thanks to Doug Allan for the bug report. | + | * Added missing <code>(cvector3 ...)</code> constructor, and fixed corresponding constructor for <code>cvector3</code> object properties; thanks to Doug Allan for the bug report. |
- | * Added generic 'memoize' function. | + | * Added generic '<code>memoize</code>' function. |
* libctl programs now print out command-line parameters when they run. | * libctl programs now print out command-line parameters when they run. | ||
- | * Fixed incomplete support for generic SCM type. | + | * Fixed incomplete support for generic <code>SCM</code> type. |
* Fixed to work with Guile 1.5+ (thanks to Mike Watts for the bug report). | * Fixed to work with Guile 1.5+ (thanks to Mike Watts for the bug report). | ||
Line 18: | Line 18: | ||
* Bug fix: complex-number input variables were read as garbage if they had imaginary parts; does not affect complex-number outputs. | * Bug fix: complex-number input variables were read as garbage if they had imaginary parts; does not affect complex-number outputs. | ||
- | * Added generic SCM type for i/o variables and parameters, as a catch-all for other Scheme objects. | + | * Added generic <code>SCM</code> type for i/o variables and parameters, as a catch-all for other Scheme objects. |
- | * main.c now has ctl_export_hook (enabled by defining CTL_HAVE_EXPORT_HOOK) with which to define additional Guile symbols. | + | * <code>main.c</code> now has <code>ctl_export_hook</code> (enabled by defining <code>CTL_HAVE_EXPORT_HOOK</code>) with which to define additional Guile symbols. |
- | * gen-ctl-io: converts "!" in symbols to "B" in C identifiers. | + | * <code>gen-ctl-io</code>: converts "!" in symbols to "B" in C identifiers. |
==libctl 2.0== | ==libctl 2.0== | ||
<small>3/10/2002</small> | <small>3/10/2002</small> | ||
- | * New set-param! function, analogous to define-param, that allows you to change the value of a parameter in a way that can still be overridden from the command line. | + | * New <code>set-param!</code> function, analogous to <code>define-param</code>, that allows you to change the value of a parameter in a way that can still be overridden from the command line. |
- | * In libgeom, allow user to specify the resolution instead of the grid-size. New no-size support in lattice class to reduce dimensionality, and new (get-grid-size) function. | + | * In libgeom, allow user to specify the resolution instead of the grid-size. New <code>no-size</code> support in lattice class to reduce dimensionality, and new <code>(get-grid-size)</code> function. |
- | * Support for Scheme complex numbers, along with a few new associated functions: conj, vector3-cdot, matrix3x3-adjoint. | + | * Support for Scheme complex numbers, along with a few new associated functions: <code>conj</code>, <code>vector3-cdot</code>, <code>matrix3x3-adjoint</code>. |
* New functions to compute numerical derivatives using Ridder's method of polynomial extrapolation. | * New functions to compute numerical derivatives using Ridder's method of polynomial extrapolation. | ||
- | * Documented object-property-value; thanks to Theis Peter Hansen for the suggestion. | + | * Documented <code>object-property-value</code>; thanks to Theis Peter Hansen for the suggestion. |
- | * Get rid of unneeded make-default, and use consistent syntax for define-property and define-post-processed-property, compared to define-input-var. NOT BACKWARD COMPATIBLE (for developers; users are not affected). Thanks to Theis Peter Hansen for the suggestion. | + | * Get rid of unneeded make-default, and use consistent syntax for <code>define-property</code> and define-post-processed-property, compared to <code>define-input-var.</code> '''Not backward compatible''' (for developers; users are not affected). Thanks to Theis Peter Hansen for the suggestion. |
- | * Call ctl_stop_hook even with --help, --version, etcetera; this makes the behavior nicer e.g. with MPI. | + | * Call <code>ctl_stop_hook</code> even with <code>--help</code>, <code>--version</code>, etcetera; this makes the behavior nicer e.g. with MPI. |
==libctl 1.5== | ==libctl 1.5== | ||
<small>11/15/2001</small> | <small>11/15/2001</small> | ||
- | * geometry-lattice now has a separate basis-size property, so that you can specify the basis vectors as being something other than unit vectors. | + | * <code>geometry-lattice</code> now has a separate <code>basis-size</code> property, so that you can specify the basis vectors as being something other than unit vectors. |
* More functions are tail-recursive, helping to prevent stack overflows; thanks to Robert Sheldon for the bug report. | * More functions are tail-recursive, helping to prevent stack overflows; thanks to Robert Sheldon for the bug report. | ||
- | * New fold-left and fold-right functions, documented in the manual. | + | * New <code>fold-left</code> and <code>fold-right</code> functions, documented in the manual. |
- | * The configure script now checks that guile is in the $PATH. Thanks to Bing Li and Giridhar Malalahalli for their bug reports. | + | * The configure script now checks that <code>guile</code> is in the <code>$PATH</code>. Thanks to Bing Li and Giridhar Malalahalli for their bug reports. |
==libctl 1.4.1== | ==libctl 1.4.1== | ||
Line 49: | Line 49: | ||
<small>2/23/2001</small> | <small>2/23/2001</small> | ||
- | * Renamed "display-many" function to more felicitous "print" and added "print-ok?" global variable that allows you to disable program output. | + | * Renamed <code>display-many</code> function to more felicitous <code>print</code> and added <code>print-ok?</code> global variable that allows you to disable program output. |
- | * Added support for passing 'function types back and forth (just a SCM object pointing to a Scheme function). | + | * Added support for passing <code>'function</code> types back and forth (just a SCM object pointing to a Scheme function). |
* Cosmetic fixes to yes/no? and menu-choice interaction functions. | * Cosmetic fixes to yes/no? and menu-choice interaction functions. | ||
* Support start/exit hooks for use e.g. with MPI. | * Support start/exit hooks for use e.g. with MPI. | ||
Line 57: | Line 57: | ||
<small>1/7/2001</small> | <small>1/7/2001</small> | ||
- | * Added improved "subplex" multidimensional optimization algorithm (for maximize-multiple and minimize-multiple). | + | * Added improved "subplex" multidimensional optimization algorithm (for <code>maximize-multiple</code> and <code>minimize-multiple</code>). |
- | * Documented vector3-x, vector3-y, vector3-z functions for extracting vector3 components. | + | * Documented <code>vector3-x</code>, <code>vector3-y</code>, <code>vector3-z</code> functions for extracting <code>vector3</code> components. |
==libctl 1.2== | ==libctl 1.2== | ||
<small>7/9/2000</small> | <small>7/9/2000</small> | ||
- | * Added new "cone" geometric object type. | + | * Added new <code>cone</code> geometric object type. |
- | * Added reciprocal->cartesian, cartesian->lattice, lattice->reciprocal, etcetera functions to libgeom for converting vectors between bases. | + | * Added <code>reciprocal->cartesian</code>, <code>cartesian->lattice</code>, <code>lattice->reciprocal</code>, etcetera functions to libgeom for converting vectors between bases. |
- | * Added routines rotate-vector3 and rotation-matrix3x3 for rotating vectors. | + | * Added routines <code>rotate-vector3</code> and <code>rotation-matrix3x3</code> for rotating vectors. |
* Added support for returning lists from external functions. | * Added support for returning lists from external functions. | ||
- | * Fixed bug in matrix3x3-inverse function. | + | * Fixed bug in <code>matrix3x3-inverse</code> function. |
* Fixed bug in find-root for converging to negative roots. | * Fixed bug in find-root for converging to negative roots. | ||
* Use Nelder-Mead simplex algorithm for multi-dimensional minimization (it seems to be more robust than the old routine). | * Use Nelder-Mead simplex algorithm for multi-dimensional minimization (it seems to be more robust than the old routine). | ||
Line 74: | Line 74: | ||
<small>1/28/2000</small> | <small>1/28/2000</small> | ||
- | * Use CPPFLAGS environment variable instead of the less-standard INCLUDES to pass -I flags to the configure script (for header files in non-standard locations). | + | * Use <code>CPPFLAGS</code> environment variable instead of the less-standard <code>INCLUDES</code> to pass <code>-I</code> flags to the configure script (for header files in non-standard locations). |
- | * Compilation fixes. We need to set SHELL in the Makefile for make on some systems. Also added rule to insure ctl-io.h is created before main.c is compiled. Thanks to Christoph Becher for the bug reports. | + | * Compilation fixes. We need to set <code>SHELL</code> in the Makefile for make on some systems. Also added rule to insure <code>ctl-io.h</code> is created before main.c is compiled. Thanks to Christoph Becher for the bug reports. |
==libctl 1.1== | ==libctl 1.1== | ||
Line 82: | Line 82: | ||
* geom: radius and height of objects is now permitted to be zero. | * geom: radius and height of objects is now permitted to be zero. | ||
* geom: material_of_point_* routines now report whether the point is in any object; necessary for use with MPB 0.9. | * geom: material_of_point_* routines now report whether the point is in any object; necessary for use with MPB 0.9. | ||
- | + | * Added man page for <code>gen-ctl-io</code>, based on a contribution by James R. Van Zandt. | |
- | * Added man page for gen-ctl-io, based on a contribution by James R. Van Zandt. | + | |
==libctl 1.0.1== | ==libctl 1.0.1== | ||
<small>11/22/1999</small> | <small>11/22/1999</small> | ||
- | * geom: handle case where ensure-periodicity is false. | + | * geom: handle case where <code>ensure-periodicity</code> is false. |
- | * geom: bug fix in geometric-objects-lattice-duplicates for non-orthogonal lattices; thanks to Karl Koch for the bug report. | + | * geom: bug fix in <code>geometric-objects-lattice-duplicates</code> for non-orthogonal lattices; thanks to Karl Koch for the bug report. |
==libctl 1.0== | ==libctl 1.0== |
Revision as of 18:39, 16 October 2005
Here, we describe what has changed between releases of the libctl package. You can also refer to the NEWS
file in the libctl package (or the ChangeLog
file for a more detailed listing).
|
libctl 2.2
9/12/2002
- Added simple trapezoidal-rule adaptive numeric integration routine.
- Numerical derivative routines now allow numerical differentation of vector-valued function. Added
deriv2
convenience routine. - Added
find-root-deriv
functions for faster root-finding of functions for which the derivative is also available. - Added missing
(cvector3 ...)
constructor, and fixed corresponding constructor forcvector3
object properties; thanks to Doug Allan for the bug report. - Added generic '
memoize
' function. - libctl programs now print out command-line parameters when they run.
- Fixed incomplete support for generic
SCM
type. - Fixed to work with Guile 1.5+ (thanks to Mike Watts for the bug report).
libctl 2.1
3/21/2002
- Bug fix: complex-number input variables were read as garbage if they had imaginary parts; does not affect complex-number outputs.
- Added generic
SCM
type for i/o variables and parameters, as a catch-all for other Scheme objects. -
main.c
now hasctl_export_hook
(enabled by definingCTL_HAVE_EXPORT_HOOK
) with which to define additional Guile symbols. -
gen-ctl-io
: converts "!" in symbols to "B" in C identifiers.
libctl 2.0
3/10/2002
- New
set-param!
function, analogous todefine-param
, that allows you to change the value of a parameter in a way that can still be overridden from the command line. - In libgeom, allow user to specify the resolution instead of the grid-size. New
no-size
support in lattice class to reduce dimensionality, and new(get-grid-size)
function. - Support for Scheme complex numbers, along with a few new associated functions:
conj
,vector3-cdot
,matrix3x3-adjoint
. - New functions to compute numerical derivatives using Ridder's method of polynomial extrapolation.
- Documented
object-property-value
; thanks to Theis Peter Hansen for the suggestion. - Get rid of unneeded make-default, and use consistent syntax for
define-property
and define-post-processed-property, compared todefine-input-var.
Not backward compatible (for developers; users are not affected). Thanks to Theis Peter Hansen for the suggestion. - Call
ctl_stop_hook
even with--help
,--version
, etcetera; this makes the behavior nicer e.g. with MPI.
libctl 1.5
11/15/2001
-
geometry-lattice
now has a separatebasis-size
property, so that you can specify the basis vectors as being something other than unit vectors. - More functions are tail-recursive, helping to prevent stack overflows; thanks to Robert Sheldon for the bug report.
- New
fold-left
andfold-right
functions, documented in the manual. - The configure script now checks that
guile
is in the$PATH
. Thanks to Bing Li and Giridhar Malalahalli for their bug reports.
libctl 1.4.1
7/4/2001
- Support function lists.
libctl 1.4
2/23/2001
- Renamed
display-many
function to more felicitousprint
and addedprint-ok?
global variable that allows you to disable program output. - Added support for passing
'function
types back and forth (just a SCM object pointing to a Scheme function). - Cosmetic fixes to yes/no? and menu-choice interaction functions.
- Support start/exit hooks for use e.g. with MPI.
libctl 1.3
1/7/2001
- Added improved "subplex" multidimensional optimization algorithm (for
maximize-multiple
andminimize-multiple
). - Documented
vector3-x
,vector3-y
,vector3-z
functions for extractingvector3
components.
libctl 1.2
7/9/2000
- Added new
cone
geometric object type. - Added
reciprocal->cartesian
,cartesian->lattice
,lattice->reciprocal
, etcetera functions to libgeom for converting vectors between bases. - Added routines
rotate-vector3
androtation-matrix3x3
for rotating vectors. - Added support for returning lists from external functions.
- Fixed bug in
matrix3x3-inverse
function. - Fixed bug in find-root for converging to negative roots.
- Use Nelder-Mead simplex algorithm for multi-dimensional minimization (it seems to be more robust than the old routine).
libctl 1.1.1
1/28/2000
- Use
CPPFLAGS
environment variable instead of the less-standardINCLUDES
to pass-I
flags to the configure script (for header files in non-standard locations). - Compilation fixes. We need to set
SHELL
in the Makefile for make on some systems. Also added rule to insurectl-io.h
is created before main.c is compiled. Thanks to Christoph Becher for the bug reports.
libctl 1.1
1/2/2000
- geom: radius and height of objects is now permitted to be zero.
- geom: material_of_point_* routines now report whether the point is in any object; necessary for use with MPB 0.9.
- Added man page for
gen-ctl-io
, based on a contribution by James R. Van Zandt.
libctl 1.0.1
11/22/1999
- geom: handle case where
ensure-periodicity
is false. - geom: bug fix in
geometric-objects-lattice-duplicates
for non-orthogonal lattices; thanks to Karl Koch for the bug report.
libctl 1.0
11/19/1999
- Initial public release.