Behaviour of the Field class on empty domains
Field seems to do odd things when the domain is set empty under variation of the dtype keyword. I know that he example is rather artificial, non the less I thought I should mention it.
In [2]: ff = Field(domain=(),dtype=np.float)
In [3]: ff.val.get_full_data() [MainThread][WARNING ] _distributor_factory Distribution strategy was set to 'not' because of global_shape == () Out[3]: array(0.0)
In [4]: ff = Field(domain=(),dtype=np.complex)
In [5]: ff.val.get_full_data() [MainThread][WARNING ] _distributor_factory Distribution strategy was set to 'not' because of global_shape == () Out[5]: array((8.772981689857213+0j))