ytree-project / ytree

A yt-based merger-tree code.
Other
15 stars 10 forks source link

[new feature] add add_vector_field function and move add_*_field code to FieldInfoContainer #71

Closed brittonsmith closed 4 years ago

brittonsmith commented 4 years ago

PR Summary

This adds an add_vector_field function so that one can create vector fields for newly created analysis fields and the like.

I have also moved all the code for the add_*_field functions into the FieldInfoContainer class, which makes more sense.

PR Checklist