diff --git a/src/MeshData.jl b/src/MeshData.jl index 78f2a017..1381ff8d 100644 --- a/src/MeshData.jl +++ b/src/MeshData.jl @@ -217,6 +217,9 @@ and outputs a new MeshData struct. Only fields modified are the coordinate-depen `xyz`, `xyzf`, `xyzq`, `rstxyzJ`, `J`, `nxyzJ`, `Jf`. """ +# splat `uniform_mesh` arguments, e.g., enables `MeshData(uniform_mesh(Line(), 1), rd)` +MeshData(mesh::Tuple{<:Any, Matrix{Int64}}, other_args...) = MeshData(mesh..., other_args...) + # splats VXYZ MeshData(VXYZ::T, EToV, other_args...) where {NDIMS, T <: NTuple{NDIMS}} = MeshData(VXYZ..., EToV, other_args...)