pyro-kinetics / pyrokinetics

Python library to run and analyse gyrokinetics simulations
https://pyrokinetics.readthedocs.io/en/latest/#
GNU Lesser General Public License v3.0
25 stars 6 forks source link

Bugfix/gene dpdx pm sign #339

Closed bpatel2107 closed 6 months ago

bpatel2107 commented 6 months ago

dpdx_pm = -beta_prime in GENE, minus sign was missing. Warning comes up but no errors occur because of it so it passed the testing.

UserWarning: GENE dpdx_pm = 0.5045 not set consistently with amhd = -0.5045000005976776 - drifts may not behave as expected

This fixes that