My teaching notebooks, developed in steps

My teaching notebooks, developed in steps

I first write a small part, test it, then add the next part. Each notebook explains the calculation and includes stage checks. The public download contains Python Jupyter notebooks only. The original complete programs and historical sources remain private.

Run the notebooks

Install NumPy, Matplotlib and Jupyter with python -m pip install numpy matplotlib jupyter. Extract the archive without changing its folder structure, open Jupyter in examples/stepwise, and run a notebook’s cells in order. These notebooks contain their own teaching implementations; no separate .py or Julia script is supplied.

Other implementations

For Julia, C or complete research implementations, email saswata_at_msme.iith.ac.in (replace at with @). Clearly state which code you want, why you need it and how you intend to use it. Access and use require my written approval.

Checks

The notebooks contain stage checks and saved results. Historical cross-language checks in check-results.txt refer to earlier implementations that are not included in this public bundle. Short teaching workloads do not establish numerical convergence of a full research simulation.

The website lessons define the quantities and conventions used by each model. I permit free noncommercial teaching, learning and demonstrations with acknowledgment. Research (including academic research) and commercial use require my explicit written permission. Earlier MIT and GPL releases retain their existing permissions. See CODE-USE-TERMS.txt. Original teaching prose follows CC BY 4.0. See https://saswataiith.github.io/using-my-resources/.

Ternary spinodal decomposition

ternary-spinodal-python.ipynb develops my polynomial ternary teaching model in nine steps. I use a 256 × 256 periodic grid, a constant positive-definite mobility matrix and a coupled Fourier update. The run saves ternary-fields.npz for the correlation lesson. All quantities are dimensionless. See the notebook for the completed checks and their limits.