as1D

Represent a StructureND as Structure1D. Throw error in case of dimension mismatch.