nbia-astro / skeletor

Parallel PIC code written in Python and based on the skeleton codes provided by PICKSC
GNU General Public License v3.0
1 stars 0 forks source link

`Field.trim()` now squeezes the array #155

Closed tobson closed 7 years ago

tobson commented 7 years ago

This means that if nx=32 and ny=1, say, and A is an instance of the Field class, then A.trim() returns an array with shape (32,) instead of (1, 32).