@rdeits, I am having a hard time trying to adapt your snippet to my specific example, could you please give a hand?
struct RegularGrid{N,T<:Real} <: AbstractDomain{N,T}
dims::Dims{N}
origin::NTuple{N,T}
units::NTuple{N,T}
function RegularGrid{T}(dims::Vararg{<:Integer,N}) where {N,T}
new{N,T}(dims, (zeros(T,length(dims))...), (ones(T,length(dims))...))
end
end