Details

Computational Physics


Computational Physics

Problem Solving with Python
3. Aufl.

von: Rubin H. Landau, Manuel J. Páez, Cristian C. Bordeianu

97,99 €

Verlag: Wiley-VCH
Format: EPUB
Veröffentl.: 10.07.2015
ISBN/EAN: 9783527684694
Sprache: englisch
Anzahl Seiten: 644

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

The use of computation and simulation has become an essential part of the scientific process. Being able to transform a theory into an algorithm requires significant theoretical insight, detailed physical and mathematical understanding, and a working level of competency in programming. <br /><br /> This upper-division text provides an unusually broad survey of the topics of modern computational physics from a multidisciplinary, computational science point of view. Its philosophy is rooted in learning by doing (assisted by many model programs), with new scientific materials as well as with the Python programming language. Python has become very popular, particularly for physics education and large scientific projects. It is probably the easiest programming language to learn for beginners, yet is also used for mainstream scientific computing, and has packages for excellent graphics and even symbolic manipulations.<br /> <br />The text is designed for an upper-level undergraduate or beginning graduate course and provides the reader with the essential knowledge to understand computational tools and mathematical methods well enough to be successful. As part of the teaching of using computers to solve scientific problems, the reader is encouraged to work through a sample problem stated at the beginning of each chapter or unit, which involves studying the text, writing, debugging and running programs, visualizing the results, and the expressing in words what has been done and what can be concluded. Then there are exercises and problems at the end of each chapter for the reader to work on their own (with model programs given for that purpose).<br /> 
<p>Dedication V</p> <p>Preface XIX</p> <p><b>1 Introduction 1</b></p> <p>1.1 Computational Physics and Computational Science 1</p> <p>1.2 This Book’s Subjects 3</p> <p>1.3 This Book’s Problems 4</p> <p>1.4 This Book’s Language: The Python Ecosystem 8</p> <p>1.4.1 Python Packages (Libraries) 9</p> <p>1.4.2 This Book’s Packages 10</p> <p>1.4.3 The EasyWay: Python Distributions (Package Collections) 12</p> <p>1.5 Python’s Visualization Tools 13</p> <p>1.5.1 Visual (VPython)’s 2D Plots 14</p> <p>1.5.2 VPython’s Animations 17</p> <p>1.5.3 Matplotlib’s 2D Plots 17</p> <p>1.5.4 Matplotlib’s 3D Surface Plots 22</p> <p>1.5.5 Matplotlib’s Animations 24</p> <p>1.5.6 Mayavi’s Visualizations Beyond Plotting 26</p> <p>1.6 Plotting Exercises 30</p> <p>1.7 Python’s Algebraic Tools 31</p> <p><b>2 Computing Software Basics 33</b></p> <p>2.1 Making Computers Obey 33</p> <p>2.2 ProgrammingWarmup 35</p> <p>2.2.1 Structured and Reproducible Program Design 36</p> <p>2.2.2 Shells, Editors, and Execution 37</p> <p>2.3 Python I/O 39</p> <p>2.4 Computer Number Representations (Theory) 40</p> <p>2.4.1 IEEE Floating-Point Numbers 41</p> <p>2.4.2 Python and the IEEE 754 Standard 47</p> <p>2.4.3 Over and Underflow Exercises 48</p> <p>2.4.4 Machine Precision (Model) 49</p> <p>2.4.5 Experiment: Your Machine’s Precision 50</p> <p>2.5 Problem: Summing Series 51</p> <p>2.5.1 Numerical Summation (Method) 51</p> <p>2.5.2 Implementation and Assessment 52</p> <p><b>3 Errors and Uncertainties in Computations 53</b></p> <p>3.1 Types of Errors (Theory) 53</p> <p>3.1.1 Model for Disaster: Subtractive Cancelation 55</p> <p>3.1.2 Subtractive Cancelation Exercises 56</p> <p>3.1.3 Round-off Errors 57</p> <p>3.1.4 Round-off Error Accumulation 58</p> <p>3.2 Error in Bessel Functions (Problem) 58</p> <p>3.2.1 Numerical Recursion (Method) 59</p> <p>3.2.2 Implementation and Assessment: Recursion Relations 61</p> <p>3.3 Experimental Error Investigation 62</p> <p>3.3.1 Error Assessment 65</p> <p><b>4 Monte Carlo: Randomness, Walks, and Decays 69</b></p> <p>4.1 Deterministic Randomness 69</p> <p>4.2 Random Sequences (Theory) 69</p> <p>4.2.1 Random-Number Generation (Algorithm) 70</p> <p>4.2.2 Implementation: Random Sequences 72</p> <p>4.2.3 Assessing Randomness and Uniformity 73</p> <p>4.3 RandomWalks (Problem) 75</p> <p>4.3.1 Random-Walk Simulation 76</p> <p>4.3.2 Implementation: RandomWalk 77</p> <p>4.4 Extension: Protein Folding and Self-Avoiding RandomWalks 79</p> <p>4.5 Spontaneous Decay (Problem) 80</p> <p>4.5.1 Discrete Decay (Model) 81</p> <p>4.5.2 Continuous Decay (Model) 82</p> <p>4.5.3 Decay Simulation with Geiger Counter Sound 82</p> <p>4.6 Decay Implementation and Visualization 84</p> <p><b>5 Differentiation and Integration 85</b></p> <p>5.1 Differentiation 85</p> <p>5.2 Forward Difference (Algorithm) 86</p> <p>5.3 Central Difference (Algorithm) 87</p> <p>5.4 Extrapolated Difference (Algorithm) 87</p> <p>5.5 Error Assessment 88</p> <p>5.6 Second Derivatives (Problem) 90</p> <p>5.6.1 Second-Derivative Assessment 90</p> <p>5.7 Integration 91</p> <p>5.8 Quadrature as Box Counting (Math) 91</p> <p>5.9 Algorithm: Trapezoid Rule 93</p> <p>5.10 Algorithm: Simpson’s Rule 94</p> <p>5.11 Integration Error (Assessment) 96</p> <p>5.12 Algorithm: Gaussian Quadrature 97</p> <p>5.12.1 Mapping Integration Points 98</p> <p>5.12.2 Gaussian Points Derivation 99</p> <p>5.12.3 Integration Error Assessment 100</p> <p>5.13 Higher Order Rules (Algorithm) 103</p> <p>5.14 Monte Carlo Integration by Stone Throwing (Problem) 104</p> <p>5.14.1 Stone Throwing Implementation 104</p> <p>5.15 Mean Value Integration (Theory and Math) 105</p> <p>5.16 Integration Exercises 106</p> <p>5.17 Multidimensional Monte Carlo Integration (Problem) 108</p> <p>5.17.1 Multi Dimension Integration Error Assessment 109</p> <p>5.17.2 Implementation: 10D Monte Carlo Integration 110</p> <p>5.18 Integrating Rapidly Varying Functions (Problem) 110</p> <p>5.19 Variance Reduction (Method) 110</p> <p>5.20 Importance Sampling (Method) 111</p> <p>5.21 von Neumann Rejection (Method) 111</p> <p>5.21.1 Simple Random Gaussian Distribution 113</p> <p>5.22 Nonuniform Assessment 113</p> <p>5.22.1 Implementation 114</p> <p><b>6 Matrix Computing 117</b></p> <p>6.1 Problem 3: N–D Newton–Raphson; Two Masses on a String 117</p> <p>6.1.1 Theory: Statics 118</p> <p>6.1.2 Algorithm: Multidimensional Searching 119</p> <p>6.2 Why Matrix Computing? 122</p> <p>6.3 Classes of Matrix Problems (Math) 122</p> <p>6.3.1 Practical Matrix Computing 124</p> <p>6.4 Python Lists as Arrays 126</p> <p>6.5 Numerical Python (NumPy) Arrays 127</p> <p>6.5.1 NumPy’s linalg Package 132</p> <p>6.6 Exercise: TestingMatrix Programs 134</p> <p>6.6.1 Matrix Solution of the String Problem 137</p> <p>6.6.2 Explorations 139</p> <p><b>7 Trial-and-Error Searching and Data Fitting 141</b></p> <p>7.1 Problem 1: A Search for Quantum States in a Box 141</p> <p>7.2 Algorithm: Trial-and-Error Roots via Bisection 142</p> <p>7.2.1 Implementation: Bisection Algorithm 144</p> <p>7.3 Improved Algorithm: Newton–Raphson Searching 145</p> <p>7.3.1 Newton–Raphson with Backtracking 147</p> <p>7.3.2 Implementation: Newton–Raphson Algorithm 148</p> <p>7.4 Problem 2: Temperature Dependence ofMagnetization 148</p> <p>7.4.1 Searching Exercise 150</p> <p>7.5 Problem 3: Fitting An Experimental Spectrum 150</p> <p>7.5.1 Lagrange Implementation, Assessment 152</p> <p>7.5.2 Cubic Spline Interpolation (Method) 153</p> <p>7.6 Problem 4: Fitting Exponential Decay 156</p> <p>7.7 Least-Squares Fitting (Theory) 158</p> <p>7.7.1 Least-Squares Fitting: Theory and Implementation 160</p> <p>7.8 Exercises: Fitting Exponential Decay, Heat Flow andHubble’s Law 162</p> <p>7.8.1 Linear Quadratic Fit 164</p> <p>7.8.2 Problem 5: Nonlinear Fit to a Breit–Wigner 167</p> <p><b>8 Solving Differential Equations: Nonlinear Oscillations 171</b></p> <p>8.1 Free Nonlinear Oscillations 171</p> <p>8.2 Nonlinear Oscillators (Models) 171</p> <p>8.3 Types of Differential Equations (Math) 173</p> <p>8.4 Dynamic Form for ODEs (Theory) 175</p> <p>8.5 ODE Algorithms 177</p> <p>8.5.1 Euler’s Rule 177</p> <p>8.6 Runge–Kutta Rule 178</p> <p>8.7 Adams–Bashforth–Moulton Predictor–Corrector Rule 183</p> <p>8.7.1 Assessment: rk2 vs. rk4 vs. rk45 185</p> <p>8.8 Solution for Nonlinear Oscillations (Assessment) 187</p> <p>8.8.1 Precision Assessment: Energy Conservation 188</p> <p>8.9 Extensions: Nonlinear Resonances, Beats, Friction 189</p> <p>8.9.1 Friction (Model) 189</p> <p>8.9.2 Resonances and Beats: Model, Implementation 190</p> <p>8.10 Extension: Time-Dependent Forces 190</p> <p><b>9 ODE Applications: Eigenvalues, Scattering, and Projectiles 193</b></p> <p>9.1 Problem: Quantum Eigenvalues in Arbitrary Potential 193</p> <p>9.1.1 Model: Nucleon in a Box 194</p> <p>9.2 Algorithms: Eigenvalues via ODE Solver + Search 195</p> <p>9.2.1 Numerov Algorithm for Schrödinger ODE ¡Ñ 197</p> <p>9.2.2 Implementation: Eigenvalues viaODESolver + BisectionAlgorithm 200</p> <p>9.3 Explorations 203</p> <p>9.4 Problem: Classical Chaotic Scattering 203</p> <p>9.4.1 Model and Theory 204</p> <p>9.4.2 Implementation 206</p> <p>9.4.3 Assessment 207</p> <p>9.5 Problem: Balls Falling Out of the Sky 208</p> <p>9.6 Theory: Projectile Motion with Drag 208</p> <p>9.6.1 Simultaneous Second-Order ODEs 209</p> <p>9.6.2 Assessment 210</p> <p>9.7 Exercises: 2- and 3-Body Planet Orbits and Chaotic Weather 211</p> <p><b>10 High-Performance Hardware and Parallel Computers 215</b></p> <p>10.1 High-Performance Computers 215</p> <p>10.2 Memory Hierarchy 216</p> <p>10.3 The Central Processing Unit 219</p> <p>10.4 CPU Design: Reduced Instruction Set Processors 220</p> <p>10.5 CPU Design:Multiple-Core Processors 221</p> <p>10.6 CPU Design: Vector Processors 222</p> <p>10.7 Introduction to Parallel Computing 223</p> <p>10.8 Parallel Semantics (Theory) 224</p> <p>10.9 Distributed Memory Programming 226</p> <p>10.10 Parallel Performance 227</p> <p>10.10.1 Communication Overhead 229</p> <p>10.11 Parallelization Strategies 230</p> <p>10.12 Practical Aspects of MIMD Message Passing 231</p> <p>10.12.1 High-Level View of Message Passing 233</p> <p>10.12.2 Message Passing Example and Exercise 234</p> <p>10.13 Scalability 236</p> <p>10.13.1 Scalability Exercises 238</p> <p>10.14 Data Parallelism and Domain Decomposition 239</p> <p>10.14.1 Domain Decomposition Exercises 242</p> <p>10.15 Example: The IBM Blue Gene Supercomputers 243</p> <p>10.16 Exascale Computing via Multinode-Multicore GPUs 245</p> <p><b>11 Applied HPC: Optimization, Tuning, and GPU Programming 247</b></p> <p>11.1 General Program Optimization 247</p> <p>11.1.1 Programming for Virtual Memory (Method) 248</p> <p>11.1.2 Optimization Exercises 249</p> <p>11.2 Optimized Matrix Programming with NumPy 251</p> <p>11.2.1 NumPy Optimization Exercises 254</p> <p>11.3 Empirical Performance of Hardware 254</p> <p>11.3.1 Racing Python vs. Fortran/C 255</p> <p>11.4 Programming for the Data Cache (Method) 262</p> <p>11.4.1 Exercise 1: Cache Misses 264</p> <p>11.4.2 Exercise 2: Cache Flow 264</p> <p>11.4.3 Exercise 3: Large-Matrix Multiplication 265</p> <p>11.5 Graphical Processing Units for High Performance Computing 266</p> <p>11.5.1 The GPU Card 267</p> <p>11.6 Practical Tips forMulticore and GPU Programming 267</p> <p>11.6.1 CUDA Memory Usage 270</p> <p>11.6.2 CUDA Programming 271</p> <p><b>12 Fourier Analysis: Signals and Filters 275</b></p> <p>12.1 Fourier Analysis of Nonlinear Oscillations 275</p> <p>12.2 Fourier Series (Math) 276</p> <p>12.2.1 Examples: Sawtooth and Half-Wave Functions 278</p> <p>12.3 Exercise: Summation of Fourier Series 279</p> <p>12.4 Fourier Transforms (Theory) 279</p> <p>12.5 The Discrete Fourier Transform 281</p> <p>12.5.1 Aliasing (Assessment) 285</p> <p>12.5.2 Fourier Series DFT (Example) 287</p> <p>12.5.3 Assessments 288</p> <p>12.5.4 Nonperiodic Function DFT (Exploration) 290</p> <p>12.6 Filtering Noisy Signals 290</p> <p>12.7 Noise Reduction via Autocorrelation (Theory) 290</p> <p>12.7.1 Autocorrelation Function Exercises 293</p> <p>12.8 Filtering with Transforms (Theory) 294</p> <p>12.8.1 Digital Filters:Windowed Sinc Filters (Exploration) 296</p> <p>12.9 The Fast Fourier Transform Algorithm 299</p> <p>12.9.1 Bit Reversal 301</p> <p>12.10 FFT Implementation 303</p> <p>12.11 FFT Assessment 304</p> <p><b>13 Wavelet and Principal Components Analyses: Nonstationary Signals and Data Compression 307</b></p> <p>13.1 Problem: Spectral Analysis of Nonstationary Signals 307</p> <p>13.2 Wavelet Basics 307</p> <p>13.3 Wave Packets and Uncertainty Principle (Theory) 309</p> <p>13.3.1 Wave Packet Assessment 311</p> <p>13.4 Short-Time Fourier Transforms (Math) 311</p> <p>13.5 TheWavelet Transform 313</p> <p>13.5.1 Generating Wavelet Basis Functions 313</p> <p>13.5.2 Continuous Wavelet Transform Implementation 316</p> <p>13.6 Discrete Wavelet Transforms, Multiresolution Analysis 317</p> <p>13.6.1 Pyramid Scheme Implementation 323</p> <p>13.6.2 Daubechies Wavelets via Filtering 327</p> <p>13.6.3 DWT Implementation and Exercise 330</p> <p>13.7 Principal Components Analysis 332</p> <p>13.7.1 Demonstration of Principal Component Analysis 334</p> <p>13.7.2 PCA Exercises 337</p> <p><b>14 Nonlinear Population Dynamics 339</b></p> <p>14.1 Bug Population Dynamics 339</p> <p>14.2 The Logistic Map (Model) 339</p> <p>14.3 Properties of NonlinearMaps (Theory and Exercise) 341</p> <p>14.3.1 Fixed Points 342</p> <p>14.3.2 Period Doubling, Attractors 343</p> <p>14.4 Mapping Implementation 344</p> <p>14.5 Bifurcation Diagram (Assessment) 345</p> <p>14.5.1 Bifurcation Diagram Implementation 346</p> <p>14.5.2 Visualization Algorithm: Binning 347</p> <p>14.5.3 Feigenbaum Constants (Exploration) 348</p> <p>14.6 Logistic Map Random Numbers (Exploration) 348</p> <p>14.7 Other Maps (Exploration) 348</p> <p>14.8 Signals of Chaos: Lyapunov Coefficient and Shannon Entropy 349</p> <p>14.9 Coupled Predator–PreyModels 353</p> <p>14.10 Lotka–Volterra Model 354</p> <p>14.10.1 Lotka–Volterra Assessment 356</p> <p>14.11 Predator–Prey Chaos 356</p> <p>14.11.1 Exercises 359</p> <p>14.11.2 LVM with Prey Limit 359</p> <p>14.11.3 LVM with Predation Efficiency 360</p> <p>14.11.4 LVM Implementation and Assessment 361</p> <p>14.11.5 Two Predators, One Prey (Exploration) 362</p> <p><b>15 Continuous Nonlinear Dynamics 363</b></p> <p>15.1 Chaotic Pendulum 363</p> <p>15.1.1 Free Pendulum Oscillations 364</p> <p>15.1.2 Solution as Elliptic Integrals 365</p> <p>15.1.3 Implementation and Test: Free Pendulum 366</p> <p>15.2 Visualization: Phase-Space Orbits 367</p> <p>15.2.1 Chaos in Phase Space 368</p> <p>15.2.2 Assessment in Phase Space 372</p> <p>15.3 Exploration: Bifurcations of Chaotic Pendulums 374</p> <p>15.4 Alternate Problem: The Double Pendulum 375</p> <p>15.5 Assessment: Fourier/Wavelet Analysis of Chaos 377</p> <p>15.6 Exploration: Alternate Phase-Space Plots 378</p> <p>15.7 Further Explorations 379</p> <p><b>16 Fractals and Statistical Growth Models 383</b></p> <p>16.1 Fractional Dimension (Math) 383</p> <p>16.2 The Sierpin Gasket (Problem 1) 384</p> <p>16.2.1 Sierpin Implementation 384</p> <p>16.2.2 Assessing Fractal Dimension 385</p> <p>16.3 Growing Plants (Problem 2) 386</p> <p>16.3.1 Self-Affine Connection (Theory) 386</p> <p>16.3.2 Barnsley’s Fern Implementation 387</p> <p>16.3.3 Self-Affinity in Trees Implementation 389</p> <p>16.4 Ballistic Deposition (Problem 3) 390</p> <p>16.4.1 Random Deposition Algorithm 390</p> <p>16.5 Length of British Coastline (Problem 4) 391</p> <p>16.5.1 Coastlines as Fractals (Model) 392</p> <p>16.5.2 Box Counting Algorithm 392</p> <p>16.5.3 Coastline Implementation and Exercise 393</p> <p>16.6 Correlated Growth, Forests, Films (Problem 5) 395</p> <p>16.6.1 Correlated Ballistic Deposition Algorithm 395</p> <p>16.7 Globular Cluster (Problem 6) 396</p> <p>16.7.1 Diffusion-Limited Aggregation Algorithm 396</p> <p>16.7.2 Fractal Analysis of DLA or a Pollock 399</p> <p>16.8 Fractals in Bifurcation Plot (Problem 7) 400</p> <p>16.9 Fractals from Cellular Automata 400</p> <p>16.10 Perlin Noise Adds Realism 402</p> <p>16.10.1 Ray Tracing Algorithms 404</p> <p>16.11 Exercises 407</p> <p><b>17 Thermodynamic Simulations and Feynman Path Integrals 409</b></p> <p>17.1 Magnets via Metropolis Algorithm 409</p> <p>17.2 An IsingChain (Model) 410</p> <p>17.3 Statistical Mechanics (Theory) 412</p> <p>17.3.1 Analytic Solution 413</p> <p>17.4 Metropolis Algorithm 413</p> <p>17.4.1 Metropolis Algorithm Implementation 416</p> <p>17.4.2 Equilibration, Thermodynamic Properties (Assessment) 417</p> <p>17.4.3 Beyond Nearest Neighbors, 1D (Exploration) 419</p> <p>17.5 Magnets viaWang–Landau Sampling 420</p> <p>17.6 Wang–Landau Algorithm 423</p> <p>17.6.1 WLS IsingModel Implementation 425</p> <p>17.6.2 WLS IsingModel Assessment 428</p> <p>17.7 Feynman Path Integral Quantum Mechanics 429</p> <p>17.8 Feynman’s Space–Time Propagation (Theory) 429</p> <p>17.8.1 Bound-StateWave Function (Theory) 431</p> <p>17.8.2 Lattice Path Integration (Algorithm) 432</p> <p>17.8.3 Lattice Implementation 437</p> <p>17.8.4 Assessment and Exploration 440</p> <p>17.9 Exploration: Quantum Bouncer’s Paths 440</p> <p><b>18 Molecular Dynamics Simulations 445</b></p> <p>18.1 Molecular Dynamics (Theory) 445</p> <p>18.1.1 Connection to Thermodynamic Variables 449</p> <p>18.1.2 Setting Initial Velocities 449</p> <p>18.1.3 Periodic Boundary Conditions and Potential Cutoff 450</p> <p>18.2 Verlet and Velocity–Verlet Algorithms 451</p> <p>18.3 1D Implementation and Exercise 453</p> <p>18.4 Analysis 456</p> <p><b>19 PDE Reviewand Electrostatics via Finite Differences and Electrostatics via Finite Differences 461</b></p> <p>19.1 PDE Generalities 461</p> <p>19.2 Electrostatic Potentials 463</p> <p>19.2.1 Laplace’s Elliptic PDE (Theory) 463</p> <p>19.3 Fourier Series Solution of a PDE 464</p> <p>19.3.1 Polynomial Expansion as an Algorithm 466</p> <p>19.4 Finite-Difference Algorithm 467</p> <p>19.4.1 Relaxation and Over-relaxation 469</p> <p>19.4.2 Lattice PDE Implementation 470</p> <p>19.5 Assessment via Surface Plot 471</p> <p>19.6 Alternate Capacitor Problems 471</p> <p>19.7 Implementation and Assessment 474</p> <p>19.8 Electric Field Visualization (Exploration) 475</p> <p>19.9 Review Exercise 476</p> <p><b>20 Heat Flow via Time Stepping 477</b></p> <p>20.1 Heat Flow via Time-Stepping (Leapfrog) 477</p> <p>20.2 The Parabolic Heat Equation (Theory) 478</p> <p>20.2.1 Solution: Analytic Expansion 478</p> <p>20.2.2 Solution: Time Stepping 479</p> <p>20.2.3 von Neumann Stability Assessment 481</p> <p>20.2.4 Heat Equation Implementation 483</p> <p>20.3 Assessment and Visualization 483</p> <p>20.4 Improved Heat Flow: Crank–Nicolson Method 484</p> <p>20.4.1 Solution of Tridiagonal Matrix Equations 487</p> <p>20.4.2 Crank–Nicolson Implementation, Assessment 490</p> <p><b>21 Wave Equations I: Strings and Membranes 491</b></p> <p>21.1 A Vibrating String 491</p> <p>21.2 The HyperbolicWave Equation (Theory) 491</p> <p>21.2.1 Solution via Normal-Mode Expansion 493</p> <p>21.2.2 Algorithm: Time Stepping 494</p> <p>21.2.3 Wave Equation Implementation 496</p> <p>21.2.4 Assessment, Exploration 497</p> <p>21.3 Strings with Friction (Extension) 499</p> <p>21.4 Strings with Variable Tension and Density 500</p> <p>21.4.1 Waves on Catenary 501</p> <p>21.4.2 Derivation of Catenary Shape 501</p> <p>21.4.3 Catenary and FrictionalWave Exercises 503</p> <p>21.5 Vibrating Membrane (2DWaves) 504</p> <p>21.6 Analytical Solution 505</p> <p>21.7 Numerical Solution for 2DWaves 508</p> <p><b>22 Wave Equations II: QuantumPackets and Electromagnetic 511</b></p> <p>22.1 Quantum Wave Packets 511</p> <p>22.2 Time-Dependent Schrödinger Equation (Theory) 511</p> <p>22.2.1 Finite-Difference Algorithm 513</p> <p>22.2.2 Wave Packet Implementation, Animation 514</p> <p>22.2.3 Wave Packets in OtherWells (Exploration) 516</p> <p>22.3 Algorithm for the 2D Schrödinger Equation 517</p> <p>22.3.1 Exploration: Bound and Diffracted 2D Packet 518</p> <p>22.4 Wave Packet–Wave Packet Scattering 518</p> <p>22.4.1 Algorithm 520</p> <p>22.4.2 Implementation 520</p> <p>22.4.3 Results and Visualization 522</p> <p>22.5 E&MWaves via Finite-Difference Time Domain 525</p> <p>22.6 Maxwell’s Equations 525</p> <p>22.7 FDTD Algorithm 526</p> <p>22.7.1 Implementation 530</p> <p>22.7.2 Assessment 530</p> <p>22.7.3 Extension: Circularly PolarizedWaves 531</p> <p>22.8 Application:Wave Plates 533</p> <p>22.9 Algorithm 534</p> <p>22.10 FDTD Exercise and Assessment 535</p> <p><b>23 Electrostatics via Finite Elements 537</b></p> <p>23.1 Finite-Element Method 537</p> <p>23.2 Electric Field from Charge Density (Problem) 538</p> <p>23.3 Analytic Solution 538</p> <p>23.4 Finite-Element (Not Difference) Methods, 1D 539</p> <p>23.4.1 Weak Form of PDE 539</p> <p>23.4.2 Galerkin Spectral Decomposition 540</p> <p>23.5 1D FEMImplementation and Exercises 544</p> <p>23.5.1 1D Exploration 547</p> <p>23.6 Extension to 2D Finite Elements 547</p> <p>23.6.1 Weak Form of PDE 548</p> <p>23.6.2 Galerkin’s Spectral Decomposition 548</p> <p>23.6.3 Triangular Elements 549</p> <p>23.6.4 Solution as Linear Equations 551</p> <p>23.6.5 Imposing Boundary Conditions 552</p> <p>23.6.6 FEM2D Implementation and Exercise 554</p> <p>23.6.7 FEM2D Exercises 554</p> <p><b>24 Shocks Waves and Solitons 555</b></p> <p>24.1 Shocks and Solitons in ShallowWater 555</p> <p>24.2 Theory: Continuity and Advection Equations 556</p> <p>24.2.1 Advection Implementation 558</p> <p>24.3 Theory: ShockWaves via Burgers’ Equation 559</p> <p>24.3.1 Lax–Wendroff Algorithm for Burgers’ Equation 560</p> <p>24.3.2 Implementation and Assessment of Burgers’ Shock Equation 561</p> <p>24.4 Including Dispersion 562</p> <p>24.5 Shallow-Water Solitons: The KdeV Equation 563</p> <p>24.5.1 Analytic Soliton Solution 563</p> <p>24.5.2 Algorithm for KdeV Solitons 564</p> <p>24.5.3 Implementation: KdeV Solitons 565</p> <p>24.5.4 Exploration: Solitons in Phase Space, Crossing 567</p> <p>24.6 Solitons on Pendulum Chain 567</p> <p>24.6.1 Including Dispersion 568</p> <p>24.6.2 Continuum Limit, the Sine-Gordon Equation 570</p> <p>24.6.3 Analytic SGE Solution 571</p> <p>24.6.4 Numeric Solution: 2D SGE Solitons 571</p> <p>24.6.5 2D Soliton Implementation 573</p> <p>24.6.6 SGE Soliton Visualization 574</p> <p><b>25 Fluid Dynamics 575</b></p> <p>25.1 River Hydrodynamics 575</p> <p>25.2 Navier–Stokes Equation (Theory) 576</p> <p>25.2.1 Boundary Conditions for Parallel Plates 578</p> <p>25.2.2 Finite-Difference Algorithm and Overrelaxation 580</p> <p>25.2.3 Successive Overrelaxation Implementation 581</p> <p>25.3 2D Flow over a Beam 581</p> <p>25.4 Theory: Vorticity Form of Navier–Stokes Equation 582</p> <p>25.4.1 Finite Differences and the SOR Algorithm 584</p> <p>25.4.2 Boundary Conditions for a Beam 585</p> <p>25.4.3 SOR on a Grid 587</p> <p>25.4.4 Flow Assessment 589</p> <p>25.4.5 Exploration 590</p> <p><b>26 Integral Equations of QuantumMechanics 591</b></p> <p>26.1 Bound States of Nonlocal Potentials 591</p> <p>26.2 Momentum–Space Schrödinger Equation (Theory) 592</p> <p>26.2.1 Integral toMatrix Equations 593</p> <p>26.2.2 Delta-Shell Potential (Model) 595</p> <p>26.2.3 Binding Energies Solution 595</p> <p>26.2.4 Wave Function (Exploration) 597</p> <p>26.3 Scattering States of Nonlocal Potentials 597</p> <p>26.4 Lippmann–Schwinger Equation (Theory) 598</p> <p>26.4.1 Singular Integrals (Math) 599</p> <p>26.4.2 Numerical Principal Values 600</p> <p>26.4.3 Reducing Integral Equations to Matrix Equations (Method) 600</p> <p>26.4.4 Solution via Inversion, Elimination 602</p> <p>26.4.5 Scattering Implementation 603</p> <p>26.4.6 ScatteringWave Function (Exploration) 604</p> <p>Appendix A Codes, Applets, and Animations 607</p> <p>Bibliography 609</p> <p>Index 615</p>
<b>Rubin H. Landau</b> is Professor Emeritus in the Department of Physics at Oregon State University in Corvallis. He has been teaching courses in computational physics for over 25 years, was a founder of the Computational Physics Degree Program and the Northwest Alliance for Computational Science and Engineering, and has been using computers in theoretical physics research ever since graduate school. He is author of more than 90 refereed publications and has also authored books on Quantum Mechanics, Workstations and Supercomputers, the first two editions of Computational Physics, and a First Course in Scientific Computing.<br /><br /><b>Manuel J. Paez</b> is a professor in the Department of Physics at the University of Antioquia in Medellin, Colombia. He has been teaching courses in Modern Physics, Nuclear Physics, Computational Physics, Mathematical Physics as well as programming in Fortran, Pascal and C languages. He and Professor Landau have conducted pioneering computational investigations in the interactions of mesons and nucleons with nuclei.<br /><br /><b>Cristian C. Bordeianu</b> teaches Physics and Computer Science at the Military College "?tefan cel Mare" in Campulung Moldovenesc, Romania. He has over twenty years of experience in developing educational software for high school and university curricula. He is winner of the 2008 Undergraduate Computational Engineering and Science Award by the US Department of Energy and the Krell Institute. His current research interests include chaotic dynamics in nuclear multifragmentation and plasma of quarks and gluons.<br />
<p>The important aspects of computational modelling is the combination of science, mathematics and computation. Programming is part of that, and in this book the authors employ Python, which is considered as one of the easiest and most accessible language for beginning programming, and commonly used for interactive and exploratory computations in scientific research.</p> <p><b>From the contents:</b></p> <p>Computing software basics and Python libraries<br /><br />Errors and uncertainties in computations<br /><br />Monte Carlo: Randomness, walks, decays, thermodynamics<br /><br />Differentiation, integration, matrix computing<br /><br />Trial-and-error searching and data fitting<br /><br />Solving ordinary differential equations with applications<br /><br />High-performance hardware and programming<br /><br />Fourier, wavelet and principal component analyses<br /><br />Nonlinear dynamics<br /><br />Fractals and Statistical growth models<br /><br />Molecular dynamics<br /><br />Partial Differential Equations: heat, waves, E-M, quantum wavepackets<br /><br />Electrostatics via finite elements<br /><br />Shock waves, solitons and fluid dynamics<br /><br />Feynman path integrals and integral equations of quantum mecha</p>

Diese Produkte könnten Sie auch interessieren:

Applied Biophysics
Applied Biophysics
von: Thomas Andrew Waigh
PDF ebook
43,99 €
Polymer Physics
Polymer Physics
von: Leszek A. Utracki, Alexander M. Jamieson
PDF ebook
181,99 €
Biophysical Bone Behaviour
Biophysical Bone Behaviour
von: Jitendra Behari
PDF ebook
179,99 €