mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
get data-ptr from arrays
This commit is contained in:
parent
287256a626
commit
209acb6af0
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user