Subband class should enforce distribution profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quantum wells, wires and dots |
Fix Released
|
High
|
Alex Valavanis |
Bug Description
The distribution of carriers in a thermalised subband is defined by any two of the three parameters:
* Total carrier density (N)
* Fermi energy (Ef)
* Carrier temperature (Te)
The remaining parameter can then be uniquely inferred from the other two.
At the moment, the Subband class sets the distribution using N and Ef (which effectively defines a unique temperature).
However, the Subband::get_f_FD() function accepts a user-specified temperature, with no checking of its value. This could be different from the values initially specified by the N and Ef values, resulting in an incorrect calculation of the population at a given state.
To fix this, we should NOT accept a temperature in the get_f_FD function. Instead, the set_distribution() function should compute the correct carrier temperature and store this for later use.
Related branches
Changed in qwwad: | |
milestone: | 1.91 → 1.3 |
Changed in qwwad: | |
status: | Fix Committed → Fix Released |
Fixed in lp:qwwad r516