Ignore:
Timestamp:
May 31, 2023, 7:40:07 PM (15 months ago)
Author:
Evgeny Stambulchik <Evgeny.Stambulchik@…>span>
Branch:
default
Phase:
public
Tags:
tip
Message:

Add a simple calculation of PPS

File:
1 edited

Legend:

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

    r368 r381  
    184184            var d_hwhm = this.r.getDopplerHwhm();
    185185            return 2*Math.sqrt(s_hwhm*s_hwhm + z_hwhm*z_hwhm + d_hwhm*d_hwhm);
     186        },
     187
     188        getPPS: function()
     189        {
     190            var n_u = this.r.getN_u();
     191            var n_l = this.r.getN_l();
     192            var Z_core = this.r.getZcore();
     193            var ld = this.e.getDebyeLength();
     194            return -(Z_core - 1)/(2*Z_core)*(n_u*n_u - n_l*n_l)/(ld*ld);
    186195        },
    187196
Note: See TracChangeset for help on using the changeset viewer.
</