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

Unify field classes #150

Closed tobson closed 7 years ago

tobson commented 7 years ago

Right now there's Field and ShearingField. The former only works with Manifold and the latter only works with ShearingManifold. This is not desirable because we likely end up with a lot of classes that come in a regular version and a shearing sheet version.

Instead there should be just one field class that just does the right thing depending on which manifold is used when a field is constructed. This will require the manifold to know about boundary conditions.

tberlok commented 7 years ago

The field classes have been unified.