Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.mrao.cam.ac.uk/~rachael/compphys/examples/
Дата изменения: Wed Oct 17 13:25:07 2007
Дата индексирования: Tue Oct 2 09:43:22 2012
Кодировка:
Поисковые слова: п п п п п п п п р п р п р п р п р п р п р п р п р п р п р п
Part II Computational Physics - Examples
Example programs
The example programs can be downloaded by clicking on the
appropriate link, or can be copied from the directory
$PHYTEACH/part_2/examples/ on the PWF Linux systems.
The following are the programs referred to in self-study guide 2.
page 11, projectile, projectile.f90 .
page 13, Tripos marking scheme (version 1), tripos1.f90 .
page 14, Tripos marking scheme (version 2), tripos2.f90 .
page 16, factorials, factorial.f90 .
page 17, vector example, vector.f90 .
page 18, linear algebra example, linalg.f90 .
page 26, file I/O example, fileio.f90 .
page 27, data file generator for gnuplot, outputdata.f90 .
page 30, example solution to suggested exercise 1, exercise1.f90 .
page 32, Newton-Raphson example, newton.f90 .
page 34, simple subroutine example 1, swapmain.f90 .
page 35, simple subroutine example 2, set.f90 .
page 40f, simple module example, gd.f90 , setval.f90 and testset.f90 .
page 49, example solution to suggested exercise 2, exercise2.f90 .
The following are the programs included in the Physics of
Computational Physics handout.
page 5, NAG Library information example, ex.f90 .
page 7, cubic spline interpolation, spline.f90 .
page 19, minimization, minimize.f90 .
page 41, N-body cellular simulation, cell_list.f90 .
page 61, quantum mechanics example, quantum.f90 .
Some of the following may be demonstrated during the lectures.
The following are the programs included in
Dr. M. J. Rutter's
Fortran 95
handout .
page 9, quadratic equation solver, quadratic.f90 .
page 17, faster factorisation, factors.f90 .
page 23, data types, kind.f90 .
page 24, complex numbers, complex.f90 .
page 27, being precise, salary.f90 .
page 35, Eratosthenes' sieve, eratosthenes.f90 .
page 36, random answers, random.f90 .
page 37, decisions, decisions.f90 .
page 39, factorials, factorials.f90 .
page 42, subroutines, swapit.f90 .
page 50, determinants, determinant.f90 .
page 55, minimisation, minimize.f90 .
page 56, variables in modules, hbar.f90 .
page 58, integration, integrate.f90 .
page 59, file I/O, fileio.f90 .
page 73, more data types, equality.f90 .