piernik-dev / piernik

Piernik MHD Code
GNU General Public License v3.0
15 stars 15 forks source link

gdf_distance improvement for particles #515

Closed gawrysz closed 1 year ago

gawrysz commented 1 year ago

Treat position, velocity and acceleration components in particle data as 3-vectors by default, similarly to the field data.

This prevents inducing big error norm from a small differences on a near-zero component.