This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: qawo-problem and a book project
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Harald Wiedemann <wiedemann dot harald at litef dot de>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Wed, 9 Jul 2003 19:26:02 +0100
- Subject: Re: qawo-problem and a book project
- References: <200307091033.50798.wiedemann.harald@litef.de>
Harald Wiedemann writes:
> I am writing a book on "Numerical Physics", which will be published
> next year by Springer as german text book. Since I want the
> students to be able to translate the programs and to play with them
> I want to include free c/c++/Fortran-Compilers, graphic programs
> and free numerical libraries. GSL will play a dominant role, since
> the programs are discussed in the text in their GSL-versions. As
> far as I understand all this is no license problem as long as I
> include the source code of GSL in the attached CD, right?
Hi,
I'm pleased to hear about this book.
Any example programs which use GSL should be available under the GNU
General Public License, so that people can freely use them too.
The simplest way to satisfy the license is to put on the CD the source
code of GSL and of the example programs (licensed under the GPL).
> Now to my question concerning qawo-integration. Attached is a
> program kreisbl2.cpp which shall calculate the interference pattern
> behind a circular aperture and it seems to work fine - producing
> also results which are not obviously wrong... - until it crashs
> with a "Speicherzugriffsfehler", i.e. "segmentation fault"
I couldn't see any attachment on the email but my advice is to try
catching the error in a debugger to see where and why it is occurring.
best regards,
--
Brian Gough
Network Theory Ltd
15 Royal Park
Bristol BS8 3AL
United Kingdom
Tel: +44 (0)117 3179309
Fax: +44 (0)117 9048108
Web: http://www.network-theory.co.uk/