Closed gunney1 closed 2 weeks ago
reshapeArray
sidre::View
Sidre View objects don't always have shape that we need. For example, importing a Blueprint mesh from a conduit::Node, we can get 1D arrays. To then build a mint mesh with the imported View, mint insists that the array be a 2D (Nx1) array.
View
conduit::Node
This change is required in https://github.com/LLNL/axom/pull/1455. I'm separating it to help reduce the size of that PR.
Summary
reshapeArray
tosidre::View
.Motivation
Sidre
View
objects don't always have shape that we need. For example, importing a Blueprint mesh from aconduit::Node
, we can get 1D arrays. To then build a mint mesh with the importedView
, mint insists that the array be a 2D (Nx1) array.This change is required in https://github.com/LLNL/axom/pull/1455. I'm separating it to help reduce the size of that PR.