Skip to content

Releases: henry2004y/TestParticle.jl

v0.18.0

18 Dec 05:45

Choose a tag to compare

TestParticle v0.18.0

Diff since v0.17.0

Breaking

  • Species definition has been refactored; User type removed
  • Boris methods now return ODESolution instead of previously natively defined TraceSolution
  • Removed native VDF definitions; now switched to VelocityDistributionFunctions.jl

Features

  • Added Unitful support
  • Added PartitionArray support for Unitful
  • Added get_number_density and get_number_density_flux utilities

Merged pull requests:

Closed issues:

  • Add more examples (#19)
  • Consolidate efforts about analytic velocity distribution (#364)
  • Displaying multiple benchmark results (#379)

v0.17.0

11 Dec 17:47

Choose a tag to compare

TestParticle v0.17.0

Diff since v0.16.2

Breaking changes

  • Refactor grid interpolation to use Meshes.jl types; no more internal grid types

Merged pull requests:

v0.16.2

11 Dec 14:26
e80eaac

Choose a tag to compare

TestParticle v0.16.2

Diff since v0.16.1

  • Introduce DipoleField and HarrisCurrentSheet type setup
  • Substitute isoutofdomain with DiscreteCallback
  • Fix compatibility with Meshes 0.56

Merged pull requests:

Closed issues:

  • Improve the FLR example (#59)
  • Refactor and add magnetostatics features (#165)
  • Add pinch configurations (#192)

v0.16.1

10 Dec 04:30

Choose a tag to compare

TestParticle v0.16.1

Diff since v0.16.0

  • Optimize memory allocations in Boris and Multistep Boris solvers
  • Add adaptive Boris method

Merged pull requests:

Closed issues:

  • Adaptive timestepping control (#131)
  • Changing dt for the Boris method (#144)
  • Time in guiding center (#213)

v0.16.0

09 Dec 04:13

Choose a tag to compare

TestParticle v0.16.0

Diff since v0.15.4

  • Refactor sampling and add support for kappa and self-similar distribution
  • Reorganized documentation demonstrations
  • Improved Boris pusher with refined control

Breaking changes

  • Distribution types now save physical thermal speed with a factor 2.

Merged pull requests:

Closed issues:

  • Add an adiabatic invariants demo (#156)
  • Field line tracing along trajectories (#162)
  • Add a demo for reconnection (#163)
  • Pitch angle distribution (#190)
  • Add more distribution setup (#191)
  • Boris method optimization (#308)

v0.15.4

05 Dec 19:25

Choose a tag to compare

TestParticle v0.15.4

Diff since v0.15.3

  • Fixed the Boris solver output velocity mismatch.
  • Fixed the NaN boundary interpolation bug.

Merged pull requests:

Closed issues:

  • Initial step energy error (#309)
  • Interpolation NaN boundary dimension mismatch (#313)

v0.15.3

04 Dec 22:52

Choose a tag to compare

TestParticle v0.15.3

Diff since v0.15.2

  • Optimized vector field interpolation
  • Support nonuniform Cartesian grid interpolation
  • Add multi-step Boris pusher
  • Fine-tuning of the Boris methods

Merged pull requests:

  • Update demo_energy_conservation.jl with new test cases and solvers (#298) (@henry2004y)
  • Fix energy conservation demo setup, stability, and comments (#299) (@henry2004y)
  • Fix the phi range from 0 to 2pi (#302) (@henry2004y)
  • Improve phi direction interpolation for SphericalNonUniformR and use in-place interpolate! (#303) (@henry2004y)
  • Optimize vector field interpolation using SVector and reinterpret (#304) (@henry2004y)
  • Modify the Boris 2-thread test (#305) (@henry2004y)
  • Fix Boris pusher initialization using explicit Euler backward step (#306) (@henry2004y)
  • Synchronize Boris pusher output velocity (#307) (@henry2004y)
  • Reduce allocations in spherical uniform interpolation (#311) (@henry2004y)
  • Switch Boris initialization back to backward Boris step (#312) (@henry2004y)
  • Fix final velocity saving in Boris pushers with explicit step calculation (#315) (@henry2004y)
  • Update demos with marker plots and correct phase error order
    (#316) (@henry2004y)
  • Update energy conservation demo with variable dt and refactor (#317) (@henry2004y)
  • Add save_everystep and save_end keywords to solve (#318) (@henry2004y)
  • Add CartesianNonUniform grid type for interpolation (#319) (@henry2004y)

Closed issues:

  • Energy conservation test (#73)
  • Multithreading Boris method race condition? (#130)
  • Save the final timepoint for Boris method (#194)
  • Generalize interpolation for irregular grid (#214)
  • Initial step energy error (#309)

v0.15.2

02 Dec 04:21

Choose a tag to compare

TestParticle v0.15.2

Diff since v0.15.1

Merged pull requests:

Closed issues:

  • Phase error tests (#132)
  • Multistep Boris Solver (#253)

v0.15.1

27 Nov 04:14

Choose a tag to compare

TestParticle v0.15.1

Diff since v0.15.0

Merged pull requests:

Closed issues:

  • Unstable tests (#270)

v0.15.0

26 Nov 14:20

Choose a tag to compare

TestParticle v0.15.0

Diff since v0.14.2

Breaking changes

  • Introduced grid geometry for the field interpolation. Cartesian() is set for backward compatibility. Spherical() and SphericalNonUniformR() are introduced.
  • The transformation between the Cartesian coordinates and the spherical coordinates now follows the (r, theta, phi) convention.

Merged pull requests: