This CD contains electronic enhancements for the book: "COMPUTATIONAL PHYSICS, 2nd Ed" by RH Landau, MJ Paez, and CC Bordeianu Copyright Wiley-VCH, Berlin, 2007. The electronic materials were developed with support from the US National Science Foundation. Copyright for them are held by R Landau, Oregon State Univ, 2007; MJ Paez, Univ Antioquia, 2007; and CC BORDEIANU, Univ Bucharest, 2007. README.TXT: This file This CD contains source codes in Java, C and Fortran written by the authors and students at Oregon State University. Although the authors hold the copyrights, they are free to use for education and research. The authors make no claim as to their precision or accuracy. As necessary, corrected versions of the programs will be available on Landau's home page at, or you may contact him at The individual codes are contained in the directories Ccodes F77codes F95Codes JavaCodes MPICodes The JavaCodes directory also contains the subdirectories Data Fractal JamaCP ptolemy Appendices C-E in the text give full listings of all the codes in these directories. ------------------------------------------------ Ccodes area.c bessel.c bound.c bugs.c call.c column.c decay.c diff.c dla.c eqheat.c eqstring.c exp-bad.c exp-good.c fern.c film.c fit.c fourier.c gauss.c int10d.c integ.c invfour.c ising.c laplace.c LaplaceSOR.c limit.c lineq.c over.c pond.c qmc.c random.c RK4.C rk45.c shms.cpp Shock.c sierpin.c soliton.c SplineAppl.c tree.c twodsol.c walk.c ------------------------------------------------ F77codes area.f bessel.f bound.f bugs.f complex.f decay.f diff.f eqheat.f eqstring.f exp-bad.f exp-good.f fit.f fourier.f gauss.f harmos.f integ.f int_10d.f ising.f lagrange.f laplace.f limit.f over.f pond.f qmc.f random.f rk4.f scatt.f slit.f soliton.f spline.f sqwell.f twodsol.f walk.f ------------------------------------------------ F95Codes bessel.f95 decay.f95 diff.f95 eqheat.f95 eqstring.f95 exp-bad.f95 exp-good.f95 fit.f95 gauss.f95 harmos.f95 int10d.f95 integ.f95 Ising3D.f95 lagrange.f95 LaplaceSOR.f9 limit.f95 Newton_cd.f95 Newton_fd.f95 overflow.f95 pond.f95 qmc.f95 random.f95 rk4.f95 rk45.f95 scatt.f95 slit.f95 soliton.f95 Spline.f95 sqwell.f95 tune.f95 twodsol.f95 walk.f95 ------------------------------------------------ JavaCodes A.dat Data (dir) FRACTALS (dir) JamaCP (dir) ptolemy (dir) ------------------------------------------------ MPICODES hello.c MPIdeadlock-fixed.c MPIdeadlock.c MPImessage2.c MPImessage3.c MPIpi.c MPIstring.c TuneMPI.c ------------------------------------------------ JAMA and PtPlot ======================================================================= The directory "JavaCodes" contains the subdirectories "JamaCP/Jama" and "ptolemy", each of which contains class files, examples, and all that you need to run Jama and PtPlot. We include Jama and PtPlot for your convenience, but recommend that you download the latest version from the Web. Jama indicates that "This software is a cooperative product of The MathWorks and the National Institute of Standards and Technology (NIST) which has been released to the public domain. Neither The MathWorks nor NIST assumes any responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic." PtPlot (Ptolemy) indicates that "@Copyright (c) 1997-2003 The Regents of the University of California. All rights reserved. Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that the above copyright notice and the following two paragraphs appear in all copies of this software. IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. PT_COPYRIGHT_VERSION_2 COPYRIGHTENDKEY @ProposedRating Yellow ( @AcceptedRating Yellow ( " In some cases, for example with the Monte-Carlo calculations, the user may have to substitute their own computer's random number generator. If only a subroutine is compiled, the compiler may complain that the main program is missing (as well it should). Some of the Fortran programs contain an "Implicit None" statement as an encouragement to safe programming; if your compiler does not support this statement, it should be commented out or removed.