Add SubArray class
- Apr 06, 2021
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
Also add access to the connectivity pointer
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
It does not store the underlying Array anymore. - this is quite dangerous but it increases performances by a factor 2+ - all copy constructors have been removed as well to reduce the risk of bad manipulation (ie: using a SubArray on a destroyed Array)
-
- Apr 02, 2021
-
-
Stéphane Del Pino authored
This mainly handles the synchronization procedure for ItemArray data. Thus also implement this special synchronization
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
- Mesh::numberOfEdges() function - construction of edges and faces similarly to nodes in 1d - construction of edges similarly to faces in 1d
-
- Apr 01, 2021
-
-
Stéphane Del Pino authored
It consists in a collection of arrays of the SAME size associated to items. The implementation return a SubArray associate with each item. It mimics the API of ItemValue's. The array size itself is dynamic.
-
Stéphane Del Pino authored
The previous implementation would allocate an array that would be destroyed immediately, since the (deep)copy of the array allocates it properly.
-
Stéphane Del Pino authored
- remove a useless static_assert in the standard constructor - forbid default constructor: SubArray require an Array to exist
-
- Mar 31, 2021
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
- Mar 30, 2021
-
-
Stéphane Del Pino authored
This allow to manipulate contiguous sub parts of arrays in the same way as arrays themselves Note that for performances reasons, SubArray cannot be Array
-