Changeset 1586 for trunk/examples/objects/app-fermi/fermi4.py
- Timestamp:
- Oct 23, 2009 7:56:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/objects/app-fermi/fermi4.py
r1581 r1586 1 1 #! /usr/bin/env python 2 2 # ---------------------------------------------------------------------- 3 # EXAMPLE: Fermi-Dirac function in C++.3 # EXAMPLE: Fermi-Dirac function in Python. 4 4 # 5 5 # This simple example shows how to use Rappture within a simulator 6 # written in C++.6 # written in Python. 7 7 # ====================================================================== 8 8 # AUTHOR: Derrick Kearney, Purdue University … … 57 57 lib = Rappture.Library(argv[1]) 58 58 59 # T = Rappture.Number();60 # Ef = 0.0;61 # dE = 0.0;62 # kT = 0.0;63 # Emin = 0.0;64 # Emax = 0.0;65 59 nPts = 200; 66 60 EArr = list() # [nPts];
Note: See TracChangeset
for help on using the changeset viewer.