Introduce constructor that takes a Coordinates object
- Aug 30, 2018
-
-
Oliver Sander authored
-
- Aug 16, 2018
-
-
Oliver Sander authored
-
Oliver Sander authored
-
- Aug 15, 2018
-
-
Oliver Sander authored
-
Oliver Sander authored
-
- Aug 13, 2018
-
-
Oliver Sander authored
This makes sure that the constructor is called with the same type of Coordinates object as the grid. Also, unification does allow to remove a lot of code duplication after all.
-
Oliver Sander authorede77fecb0
-
Oliver Sander authored92b562a5
-
Oliver Sander authored9b161337
-
Oliver Sander authoredb8f705c5
-
Oliver Sander authoredf78153fd
-
Oliver Sander authored
That removes some code duplication.
6b2f0a61 -
Oliver Sander authoredf0273912
-
Oliver Sander authored
This constructor then takes the domain size and the number of elements from this coordinate object. The plan is to generalize this constructor to also accepts the other types of Coordinate objects. That will unify the set of YaspGrid constructors, and it will hopefully reduce some code duplication.
b104ca54
-