|
MiniVector.hpp
Go to the documentation of this file.
72 OPM_HOST_DEVICE constexpr MiniVector() noexcept(std::is_nothrow_default_constructible<value_type>::value) = default;
Definition: MiniVector.hpp:52 MiniVector(const Dune::FieldVector< T, Dimension > &fv) Conversion constructor from Dune::FieldVector. Definition: MiniVector.hpp:87 OPM_HOST_DEVICE MiniVector operator+(const value_type &value) const Definition: MiniVector.hpp:222 OPM_HOST_DEVICE reference at(size_type idx) Safe element access with bounds checking (throws on host). Definition: MiniVector.hpp:132 typename std::array< T, Dimension >::const_iterator const_iterator Immutable iterator. Definition: MiniVector.hpp:67 std::size_t size_type Index/size type. Definition: MiniVector.hpp:59 OPM_HOST_DEVICE constexpr const_iterator begin() const noexcept Definition: MiniVector.hpp:154 OPM_HOST_DEVICE MiniVector & operator=(const value_type &value) Definition: MiniVector.hpp:216 OPM_HOST_DEVICE MiniVector(std::initializer_list< value_type > init) Initializer‑list constructor. Definition: MiniVector.hpp:106 OPM_HOST_DEVICE constexpr void fill(const value_type &value) Fill every component with the supplied value. Definition: MiniVector.hpp:191 OPM_HOST_DEVICE bool operator!=(const MiniVector &other) const noexcept Definition: MiniVector.hpp:210 OPM_HOST_DEVICE MiniVector operator+(const MiniVector &other) const Definition: MiniVector.hpp:239 OPM_HOST_DEVICE constexpr const_iterator end() const noexcept Definition: MiniVector.hpp:170 OPM_HOST_DEVICE constexpr iterator begin() noexcept Definition: MiniVector.hpp:149 OPM_HOST_DEVICE bool operator==(const MiniVector &other) const noexcept Definition: MiniVector.hpp:199 OPM_HOST_DEVICE MiniVector & operator+=(const MiniVector &other) Definition: MiniVector.hpp:231 const value_type & const_reference Immutable element reference. Definition: MiniVector.hpp:63 static OPM_HOST_DEVICE constexpr size_type size() noexcept Definition: MiniVector.hpp:181 OPM_HOST_DEVICE constexpr reference operator[](size_type idx) noexcept Definition: MiniVector.hpp:117 OPM_HOST_DEVICE MiniVector operator-(const MiniVector &other) const Definition: MiniVector.hpp:246 typename std::array< T, Dimension >::iterator iterator Mutable iterator. Definition: MiniVector.hpp:65 OPM_HOST_DEVICE constexpr const_reference operator[](size_type idx) const noexcept Definition: MiniVector.hpp:123 OPM_HOST_DEVICE constexpr const_iterator cend() const noexcept Definition: MiniVector.hpp:175 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:165 OPM_HOST_DEVICE const_reference at(size_type idx) const Safe element access with bounds checking (throws on host). Definition: MiniVector.hpp:140 OPM_HOST_DEVICE MiniVector & operator*=(const value_type &value) Definition: MiniVector.hpp:264 OPM_HOST_DEVICE constexpr const_iterator cbegin() const noexcept Definition: MiniVector.hpp:159 value_type & reference Mutable element reference. Definition: MiniVector.hpp:61 OPM_HOST_DEVICE MiniVector & operator-=(const MiniVector &other) Definition: MiniVector.hpp:255 A small, fixed‑dimension MiniVector class backed by std::array that can be used in both host and CUDA... Definition: AmgxInterface.hpp:38 |