19 #ifndef GEOSX_LINEARALGEBRA_UTILITIES_BLOCKVECTORWRAPPER_HPP_ 20 #define GEOSX_LINEARALGEBRA_UTILITIES_BLOCKVECTORWRAPPER_HPP_ 36 template<
typename VECTOR >
84 #endif //GEOSX_LINEARALGEBRA_UTILITIES_BLOCKVECTORWRAPPER_HPP_ void setPointer(localIndex i, VECTOR *vec)
Set pointer to a vector.
virtual ~BlockVectorWrapper() override=default
Destructor.
"Shallow" representation of a block vector.
localIndex blockSize() const
Get block size.
BlockVectorWrapper(localIndex const nBlocks)
Create a vector wrapper of nBlocks blocks.
#define GEOSX_LAI_ASSERT_GT(lhs, rhs)
#define GEOSX_LAI_ASSERT_GE(lhs, rhs)
std::ptrdiff_t localIndex
Local index type (for indexing objects within an MPI partition).
Abstract view of a block vector.