[post Nifty6] new design for the `Field` class?
I'm wondering whether we can solve most of our current problems regarding fields and multifields by introducing a single new
Field class that
- unifies the current
MultiFieldclasses (a classic field would have a single dictionary entry with an empty string as name)
- is immutable
- can contain scalars or array-like objects to describe field content (maybe even functions?)
If we have such a class we can again demand that all operations on fields require identical domains, and we can still avoid writing huge zero-filled arrays by writing scalar zeros instead.