Ignore:
Timestamp:
Feb 15, 2011, 7:14:10 PM (13 years ago)
Author:
fnevgeny
Branch:
default
Phase:
public
Message:

Lower-limit lambda to 1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/class/pf/Plasma.js

    r215 r217  
    305305                        this.getFullDebyeLength(s2);
    306306           
    307             if (b_max > b_min) {
    308                 lambda = Math.log(b_max/b_min);
    309             } else {
    310                 lambda = 0;
     307            lambda = Math.log(b_max/b_min);
     308            if (lambda < 1.0) {
     309                lambda = 1.0;
    311310            }
    312311           
Note: See TracChangeset for help on using the changeset viewer.