Introduce constructor that takes a Coordinates object
This constructor then takes the domain size and the number of elements from this coordinate object.
This constructor then takes the domain size and the number of elements from this coordinate object.