mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +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
|
/// the size
|
||||||
NETGEN_INLINE size_t Size() const { return size; }
|
NETGEN_INLINE size_t Size() const { return size; }
|
||||||
|
|
||||||
|
/// the data
|
||||||
|
NETGEN_INLINE T* Data() const { return data; }
|
||||||
|
|
||||||
/// Fill array with value val
|
/// Fill array with value val
|
||||||
NETGEN_INLINE const FlatArray & operator= (const T & val) const
|
NETGEN_INLINE const FlatArray & operator= (const T & val) const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user