#include <MeshPoint.h>

Public Member Functions | |
| TYPE | abs () const |
| Return the magnitude. | |
| constexpr const TYPE * | begin () const noexcept |
| constexpr TYPE * | begin () noexcept |
| constexpr const TYPE * | data () const noexcept |
| constexpr TYPE * | data () noexcept |
| constexpr const TYPE * | end () const noexcept |
| constexpr TYPE * | end () noexcept |
| constexpr | MeshPoint () noexcept |
| Empty constructor. | |
| constexpr | MeshPoint (const MeshPoint &) noexcept=default |
| template<class TYPE2 > | |
| constexpr | MeshPoint (const MeshPoint< TYPE2 > &rhs) noexcept |
| constexpr | MeshPoint (const size_t ndim, const TYPE *x) noexcept |
| constexpr | MeshPoint (const size_t ndim, std::initializer_list< TYPE > x) |
| template<std::size_t NDIM> | |
| constexpr | MeshPoint (const std::array< TYPE, NDIM > &x) |
| MeshPoint (const std::vector< TYPE > &x) | |
| constexpr | MeshPoint (const TYPE &x) noexcept |
| constexpr | MeshPoint (const TYPE &x, const TYPE &y) noexcept |
| constexpr | MeshPoint (const TYPE &x, const TYPE &y, const TYPE &z) noexcept |
| constexpr | MeshPoint (MeshPoint &&) noexcept=default |
| constexpr | MeshPoint (size_t ndim) noexcept |
| constexpr | MeshPoint (std::initializer_list< TYPE > x) |
| constexpr uint8_t | ndim () const |
| constexpr TYPE | norm () const |
| Return the squared magnitude. | |
| constexpr | operator std::array< TYPE, 1 > () const |
| constexpr | operator std::array< TYPE, 2 > () const |
| constexpr | operator std::array< TYPE, 3 > () const |
| constexpr bool | operator!= (const MeshPoint &rhs) const |
| constexpr MeshPoint & | operator*= (const TYPE &rhs) noexcept |
| template<class TYPE2 > | |
| constexpr MeshPoint & | operator+= (const MeshPoint< TYPE2 > &rhs) noexcept |
| constexpr MeshPoint & | operator+= (const TYPE rhs) noexcept |
| template<class TYPE2 > | |
| constexpr MeshPoint & | operator-= (const MeshPoint< TYPE2 > &rhs) noexcept |
| constexpr MeshPoint & | operator-= (const TYPE rhs) noexcept |
| constexpr bool | operator< (const MeshPoint &rhs) const |
| constexpr bool | operator<= (const MeshPoint &rhs) const |
| constexpr MeshPoint & | operator= (const MeshPoint &) noexcept=default |
| constexpr MeshPoint & | operator= (MeshPoint &&) noexcept=default |
| constexpr bool | operator== (const MeshPoint &rhs) const |
| constexpr bool | operator> (const MeshPoint &rhs) const |
| constexpr bool | operator>= (const MeshPoint &rhs) const |
| constexpr TYPE & | operator[] (std::size_t i) |
| constexpr const TYPE & | operator[] (std::size_t i) const |
| std::string | print () const |
| Print the point. | |
| void | print (std::ostream &os) const |
| Print the point. | |
| constexpr void | setNdim (uint8_t N) |
| constexpr size_t | size () const |
| constexpr const TYPE & | x () const |
| constexpr TYPE & | x () noexcept |
| constexpr const TYPE & | y () const |
| constexpr TYPE & | y () noexcept |
| constexpr const TYPE & | z () const |
| constexpr TYPE & | z () noexcept |
Private Attributes | |
| TYPE | d_data [3] |
| uint8_t | d_ndim |
Definition at line 24 of file MeshPoint.h.
|
inlineconstexprnoexcept |
Empty constructor.
Definition at line 28 of file MeshPoint.h.
|
inlineconstexpr |
Definition at line 31 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, AMP::Mesh::MeshPoint< TYPE >::d_ndim, and AMP::Mesh::MeshPoint< TYPE >::x().
|
inlineexplicitconstexprnoexcept |
Definition at line 40 of file MeshPoint.h.
|
inlineexplicitconstexprnoexcept |
Definition at line 41 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::x().
|
inlineexplicitconstexprnoexcept |
Definition at line 42 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::x(), and AMP::Mesh::MeshPoint< TYPE >::y().
|
inlineexplicitconstexprnoexcept |
Definition at line 46 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::x(), AMP::Mesh::MeshPoint< TYPE >::y(), and AMP::Mesh::MeshPoint< TYPE >::z().
|
inlineexplicitconstexprnoexcept |
Definition at line 50 of file MeshPoint.h.
|
inlineconstexpr |
Definition at line 56 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, AMP::Mesh::MeshPoint< TYPE >::d_ndim, and AMP::Mesh::MeshPoint< TYPE >::x().
|
inlineconstexpr |
Definition at line 67 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::x().
|
inline |
Definition at line 72 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::x().
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 92 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inline |
Return the magnitude.
Definition at line 230 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::norm().
Referenced by AMP::Mesh::abs(), and AMP::Mesh::normalize().
|
inlineconstexprnoexcept |
Definition at line 129 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexprnoexcept |
Definition at line 127 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexprnoexcept |
Definition at line 106 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexprnoexcept |
Definition at line 105 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
Referenced by AMP::Mesh::structuredMeshElement::coord().
|
inlineconstexprnoexcept |
Definition at line 130 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
inlineconstexprnoexcept |
Definition at line 128 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
inlineconstexpr |
Definition at line 101 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
inlineconstexpr |
Return the squared magnitude.
Definition at line 224 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
Referenced by AMP::Mesh::MeshPoint< TYPE >::abs().
|
inlineconstexpr |
Definition at line 79 of file MeshPoint.h.
|
inlineconstexpr |
Definition at line 80 of file MeshPoint.h.
|
inlineconstexpr |
Definition at line 81 of file MeshPoint.h.
|
inlineconstexpr |
Definition at line 177 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
inlineconstexprnoexcept |
Definition at line 163 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexprnoexcept |
Definition at line 141 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexprnoexcept |
Definition at line 133 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexprnoexcept |
Definition at line 156 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexprnoexcept |
Definition at line 148 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexpr |
Definition at line 202 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
inlineconstexpr |
Definition at line 212 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
inlineconstexpr |
Definition at line 172 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
inlineconstexpr |
Definition at line 182 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
inlineconstexpr |
Definition at line 192 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
inlineconstexpr |
Definition at line 113 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
inlineconstexpr |
Definition at line 119 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
|
inline |
Print the point.
Definition at line 246 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::print().
Referenced by AMP::Mesh::MeshPoint< TYPE >::print().
|
inline |
Print the point.
Definition at line 233 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data, and AMP::Mesh::MeshPoint< TYPE >::d_ndim.
Referenced by AMP::Mesh::operator<<().
|
inlineconstexpr |
Definition at line 102 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_ndim.
Referenced by AMP::Mesh::structuredMeshElement::coord().
|
inlineconstexpr |
Definition at line 100 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_ndim.
Referenced by AMP::Mesh::operator+(), AMP::Mesh::operator+(), AMP::Mesh::operator-(), AMP::Mesh::operator-(), and AMP::Mesh::operator-().
|
inlineconstexpr |
Definition at line 110 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexprnoexcept |
Definition at line 107 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
Referenced by AMP::Mesh::cross(), AMP::Mesh::dot(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::operator+(), AMP::Mesh::operator+(), AMP::Mesh::operator-(), AMP::Mesh::operator-(), and AMP::Mesh::operator-().
|
inlineconstexpr |
Definition at line 111 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexprnoexcept |
Definition at line 108 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
Referenced by AMP::Mesh::cross(), AMP::Mesh::dot(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::operator+(), AMP::Mesh::operator+(), AMP::Mesh::operator-(), AMP::Mesh::operator-(), and AMP::Mesh::operator-().
|
inlineconstexpr |
Definition at line 112 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
|
inlineconstexprnoexcept |
Definition at line 109 of file MeshPoint.h.
References AMP::Mesh::MeshPoint< TYPE >::d_data.
Referenced by AMP::Mesh::cross(), AMP::Mesh::dot(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::operator+(), AMP::Mesh::operator+(), AMP::Mesh::operator-(), AMP::Mesh::operator-(), and AMP::Mesh::operator-().
|
private |
Definition at line 255 of file MeshPoint.h.
Referenced by AMP::Mesh::MeshPoint< TYPE >::begin(), AMP::Mesh::MeshPoint< TYPE >::begin(), AMP::Mesh::MeshPoint< TYPE >::data(), AMP::Mesh::MeshPoint< TYPE >::data(), AMP::Mesh::MeshPoint< TYPE >::end(), AMP::Mesh::MeshPoint< TYPE >::end(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::norm(), AMP::Mesh::MeshPoint< double >::operator std::array< double, 1 >(), AMP::Mesh::MeshPoint< double >::operator std::array< double, 2 >(), AMP::Mesh::MeshPoint< double >::operator std::array< double, 3 >(), AMP::Mesh::MeshPoint< TYPE >::operator!=(), AMP::Mesh::MeshPoint< TYPE >::operator*=(), AMP::Mesh::MeshPoint< TYPE >::operator+=(), AMP::Mesh::MeshPoint< TYPE >::operator+=(), AMP::Mesh::MeshPoint< TYPE >::operator-=(), AMP::Mesh::MeshPoint< TYPE >::operator-=(), AMP::Mesh::MeshPoint< TYPE >::operator<(), AMP::Mesh::MeshPoint< TYPE >::operator<=(), AMP::Mesh::MeshPoint< TYPE >::operator==(), AMP::Mesh::MeshPoint< TYPE >::operator>(), AMP::Mesh::MeshPoint< TYPE >::operator>=(), AMP::Mesh::MeshPoint< TYPE >::operator[](), AMP::Mesh::MeshPoint< TYPE >::operator[](), AMP::Mesh::MeshPoint< TYPE >::print(), AMP::Mesh::MeshPoint< TYPE >::x(), AMP::Mesh::MeshPoint< TYPE >::x(), AMP::Mesh::MeshPoint< TYPE >::y(), AMP::Mesh::MeshPoint< TYPE >::y(), AMP::Mesh::MeshPoint< TYPE >::z(), and AMP::Mesh::MeshPoint< TYPE >::z().
|
private |
Definition at line 254 of file MeshPoint.h.
Referenced by AMP::Mesh::MeshPoint< TYPE >::end(), AMP::Mesh::MeshPoint< TYPE >::end(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::MeshPoint(), AMP::Mesh::MeshPoint< TYPE >::ndim(), AMP::Mesh::MeshPoint< TYPE >::operator!=(), AMP::Mesh::MeshPoint< TYPE >::operator<(), AMP::Mesh::MeshPoint< TYPE >::operator<=(), AMP::Mesh::MeshPoint< TYPE >::operator==(), AMP::Mesh::MeshPoint< TYPE >::operator>(), AMP::Mesh::MeshPoint< TYPE >::operator>=(), AMP::Mesh::MeshPoint< TYPE >::operator[](), AMP::Mesh::MeshPoint< TYPE >::operator[](), AMP::Mesh::MeshPoint< TYPE >::print(), AMP::Mesh::MeshPoint< TYPE >::setNdim(), and AMP::Mesh::MeshPoint< TYPE >::size().
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:43. Comments on this page |