From 209acb6af04a6e70b8cc40e08d45f54356223d1a Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 26 Aug 2019 12:51:33 +0200 Subject: [PATCH] get data-ptr from arrays --- libsrc/core/array.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsrc/core/array.hpp b/libsrc/core/array.hpp index 4e460f66..f29340bc 100644 --- a/libsrc/core/array.hpp +++ b/libsrc/core/array.hpp @@ -453,6 +453,9 @@ namespace ngcore /// the size NETGEN_INLINE size_t Size() const { return size; } + /// the data + NETGEN_INLINE T* Data() const { return data; } + /// Fill array with value val NETGEN_INLINE const FlatArray & operator= (const T & val) const {