LvArray
LvArray copied to clipboard
Portable HPC Containers (C++)
No in-code changes other than accomodating TPL version differences
Type of `SparsityPatternView::m_numCols` and related method parameters/return values (`numColumns()`, `resize()`, etc.) is currently specified to be `INDEX_TYPE`, but should perhaps be `COL_TYPE` instead. Currently this only results in rare clang-tidy...
When I run geosx I happen to have assert errors in LVArray that are not easy to understand as strings are not correctly built: ```ArraySlice.hpp:294: std::enable_if::type LvArray::ArraySlice::operator[](INDEX_TYPE) const [with int...
Currently `ArrayView::size()` return the total number of elements across all dimensions. This creates a few inconveniences: * When dealing with various containers generically (e.g. `Array` and `ArrayOfArrays` that may represent...
Related to issue https://github.com/GEOSX/GEOSX/issues/1440: some tests `testTensorOpsInverseTwoArgs` and `testTensorOpsInverseOneArg` are failing due to large numerical imprecision. Using the Kahan method to compute 2x2 determinants brings more precision. 3x3 case still...
This PR adds a simple function in `ArrayView` (and `NewChaiBuffer`) to get the data pointer in a specific `MemorySpace`, whether most current or not. While this should not be needed/used...