|
MiniVector.hpp
Go to the documentation of this file.
68 OPM_HOST_DEVICE constexpr MiniVector() noexcept(std::is_nothrow_default_constructible<value_type>::value) = default;
Definition: MiniVector.hpp:48 OPM_HOST_DEVICE reference at(size_type idx) Safe element access with bounds checking (throws on host). Definition: MiniVector.hpp:117 OPM_HOST_DEVICE constexpr bool operator!=(const MiniVector &other) const noexcept Definition: MiniVector.hpp:188 typename std::array< T, Dimension >::const_iterator const_iterator Immutable iterator. Definition: MiniVector.hpp:63 std::size_t size_type Index/size type. Definition: MiniVector.hpp:55 OPM_HOST_DEVICE constexpr const_iterator begin() const noexcept Definition: MiniVector.hpp:139 OPM_HOST_DEVICE MiniVector(std::initializer_list< value_type > init) Initializer‑list constructor. Definition: MiniVector.hpp:91 OPM_HOST_DEVICE constexpr void fill(const value_type &value) Fill every component with the supplied value. Definition: MiniVector.hpp:176 OPM_HOST_DEVICE constexpr const_iterator end() const noexcept Definition: MiniVector.hpp:155 OPM_HOST_DEVICE constexpr iterator begin() noexcept Definition: MiniVector.hpp:134 const value_type & const_reference Immutable element reference. Definition: MiniVector.hpp:59 static OPM_HOST_DEVICE constexpr size_type size() noexcept Definition: MiniVector.hpp:166 OPM_HOST_DEVICE constexpr reference operator[](size_type idx) noexcept Definition: MiniVector.hpp:102 typename std::array< T, Dimension >::iterator iterator Mutable iterator. Definition: MiniVector.hpp:61 OPM_HOST_DEVICE constexpr const_reference operator[](size_type idx) const noexcept Definition: MiniVector.hpp:108 OPM_HOST_DEVICE constexpr const_iterator cend() const noexcept Definition: MiniVector.hpp:160 OPM_HOST_DEVICE constexpr MiniVector() noexcept(std::is_nothrow_default_constructible< value_type >::value)=default Default‑constructs the MiniVector; elements are value‑initialized. OPM_HOST_DEVICE constexpr iterator end() noexcept Definition: MiniVector.hpp:150 OPM_HOST_DEVICE const_reference at(size_type idx) const Safe element access with bounds checking (throws on host). Definition: MiniVector.hpp:125 OPM_HOST_DEVICE constexpr bool operator==(const MiniVector &other) const noexcept Definition: MiniVector.hpp:182 OPM_HOST_DEVICE constexpr const_iterator cbegin() const noexcept Definition: MiniVector.hpp:144 value_type & reference Mutable element reference. Definition: MiniVector.hpp:57 A small, fixed‑dimension MiniVector class backed by std::array that can be used in both host and CUDA... Definition: AmgxInterface.hpp:38 |