|
MiniVector.hpp
Go to the documentation of this file.
70 OPM_HOST_DEVICE constexpr MiniVector() noexcept(std::is_nothrow_default_constructible<value_type>::value) = default;
Definition: MiniVector.hpp:50 MiniVector(const Dune::FieldVector< T, Dimension > &fv) Conversion constructor from Dune::FieldVector. Definition: MiniVector.hpp:85 OPM_HOST_DEVICE MiniVector operator+(const value_type &value) const Definition: MiniVector.hpp:220 OPM_HOST_DEVICE reference at(size_type idx) Safe element access with bounds checking (throws on host). Definition: MiniVector.hpp:130 typename std::array< T, Dimension >::const_iterator const_iterator Immutable iterator. Definition: MiniVector.hpp:65 std::size_t size_type Index/size type. Definition: MiniVector.hpp:57 OPM_HOST_DEVICE constexpr const_iterator begin() const noexcept Definition: MiniVector.hpp:152 OPM_HOST_DEVICE MiniVector & operator=(const value_type &value) Definition: MiniVector.hpp:214 OPM_HOST_DEVICE MiniVector(std::initializer_list< value_type > init) Initializer‑list constructor. Definition: MiniVector.hpp:104 OPM_HOST_DEVICE constexpr void fill(const value_type &value) Fill every component with the supplied value. Definition: MiniVector.hpp:189 OPM_HOST_DEVICE bool operator!=(const MiniVector &other) const noexcept Definition: MiniVector.hpp:208 OPM_HOST_DEVICE MiniVector operator+(const MiniVector &other) const Definition: MiniVector.hpp:237 OPM_HOST_DEVICE constexpr const_iterator end() const noexcept Definition: MiniVector.hpp:168 OPM_HOST_DEVICE constexpr iterator begin() noexcept Definition: MiniVector.hpp:147 OPM_HOST_DEVICE bool operator==(const MiniVector &other) const noexcept Definition: MiniVector.hpp:197 OPM_HOST_DEVICE MiniVector & operator+=(const MiniVector &other) Definition: MiniVector.hpp:229 const value_type & const_reference Immutable element reference. Definition: MiniVector.hpp:61 static OPM_HOST_DEVICE constexpr size_type size() noexcept Definition: MiniVector.hpp:179 OPM_HOST_DEVICE constexpr reference operator[](size_type idx) noexcept Definition: MiniVector.hpp:115 OPM_HOST_DEVICE MiniVector operator-(const MiniVector &other) const Definition: MiniVector.hpp:244 typename std::array< T, Dimension >::iterator iterator Mutable iterator. Definition: MiniVector.hpp:63 OPM_HOST_DEVICE constexpr const_reference operator[](size_type idx) const noexcept Definition: MiniVector.hpp:121 OPM_HOST_DEVICE constexpr const_iterator cend() const noexcept Definition: MiniVector.hpp:173 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:163 OPM_HOST_DEVICE const_reference at(size_type idx) const Safe element access with bounds checking (throws on host). Definition: MiniVector.hpp:138 OPM_HOST_DEVICE MiniVector & operator*=(const value_type &value) Definition: MiniVector.hpp:262 OPM_HOST_DEVICE constexpr const_iterator cbegin() const noexcept Definition: MiniVector.hpp:157 value_type & reference Mutable element reference. Definition: MiniVector.hpp:59 OPM_HOST_DEVICE MiniVector & operator-=(const MiniVector &other) Definition: MiniVector.hpp:253 A small, fixed‑dimension MiniVector class backed by std::array that can be used in both host and CUDA... Definition: AmgxInterface.hpp:38 |