mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
Merge branch 'array_pos' into 'master'
get data-ptr from arrays See merge request jschoeberl/netgen!211
This commit is contained in:
commit
a9de67dd9b
@ -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