User: bentivegna Date: 2011/11/14 10:40 AM
Modified: /examples/cosmology/figs/ err.pdf, kasner.pdf, kasner.py
Log: Corrected factors in convergence study of Kasner.
File Changes:
Directory: /examples/cosmology/figs/ ====================================
File [modified]: err.pdf Delta lines: +0 -0 =================================================================== (Binary files differ)
File [modified]: kasner.pdf Delta lines: +0 -0 =================================================================== (Binary files differ)
File [modified]: kasner.py Delta lines: +3 -3 =================================================================== --- examples/cosmology/figs/kasner.py 2011-11-14 16:36:17 UTC (rev 226) +++ examples/cosmology/figs/kasner.py 2011-11-14 16:40:05 UTC (rev 227) @@ -38,10 +38,10 @@ axb = figb.add_subplot(1,1,1)
# plot -axb.plot(t, (ord1-exa1)/16**3, linestyle='-', color='black', label='$\gamma_{xx}^n-\gamma_{xx}^e$') -axb.plot(t, (ord1m[::2]-exa1)/16**2, linestyle='--', color='blue', label='$\gamma_{xx}^n-\gamma_{xx}^e$') -axb.plot(t, (ord1h[::4]-exa1)/16, linestyle='-.', color='black', label='$\gamma_{xx}^n-\gamma_{xx}^e$') axb.plot(t, (ord1hh[::8]-exa1), linestyle=':', color='blue', label='$\gamma_{xx}^n-\gamma_{xx}^e$') +axb.plot(t, (ord1h[::4]-exa1)/16, linestyle='-.', color='black', label='$(\gamma_{xx}^n-\gamma_{xx}^e)/16$') +axb.plot(t, (ord1m[::2]-exa1)/16**2, linestyle='--', color='blue', label='$(\gamma_{xx}^n-\gamma_{xx}^e)/16^2$') +axb.plot(t, (ord1-exa1)/16**3, linestyle='-', color='black', label='$(\gamma_{xx}^n-\gamma_{xx}^e)/16^3$')
axb.set_xlabel(r'$t$')