/home/runner/work/amr-wind/amr-wind/amr-wind/core/vs/tensor.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
tensor.H
Go to the documentation of this file.
Definition tensor.H:8
Definition vstraits.H:11
Definition tensor.H:14
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T & xz() const &noexcept
Definition tensor.H:132
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T * data() const noexcept
Definition tensor.H:177
AMREX_GPU_HOST_DEVICE static AMREX_FORCE_INLINE constexpr TensorT< T > identity() noexcept
Definition tensor.H:65
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & zy() &noexcept
Definition tensor.H:115
TensorT(const TensorT &)=default
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > y() const noexcept
Definition tensorI.H:56
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & zz() &noexcept
Definition tensor.H:119
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & zx() &noexcept
Definition tensor.H:111
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & yy() &noexcept
Definition tensor.H:102
TensorT & operator=(TensorT &&) &=default
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T & yz() const &noexcept
Definition tensor.H:145
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE constexpr TensorT()=default
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > z() const noexcept
Definition tensorI.H:63
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > cz() const noexcept
Definition tensorI.H:84
TensorT & operator=(const TensorT &) &&=delete
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T & zx() const &noexcept
Definition tensor.H:150
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > x() const noexcept
Definition tensorI.H:49
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void cols(const VectorT< T > &x, const VectorT< T > &y, const VectorT< T > &z) noexcept
Definition tensorI.H:36
TensorT & operator=(TensorT &&) &&=delete
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & xx() &noexcept
Definition tensor.H:85
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T & zz() const &noexcept
Definition tensor.H:158
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > cy() const noexcept
Definition tensorI.H:77
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & yx() &noexcept
Definition tensor.H:98
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void rows(const VectorT< T > &x, const VectorT< T > &y, const VectorT< T > &z) noexcept
Definition tensorI.H:25
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T & xy() const &noexcept
Definition tensor.H:128
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T & zy() const &noexcept
Definition tensor.H:154
TensorT & operator=(const TensorT &) &=default
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE constexpr TensorT(const T &xx, const T &xy, const T &xz, const T &yx, const T &yy, const T &yz, const T &zx, const T &zy, const T &zz)
Definition tensor.H:29
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T & xx() const &noexcept
Definition tensor.H:124
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & xz() &noexcept
Definition tensor.H:93
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > cx() const noexcept
Definition tensorI.H:70
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T & yy() const &noexcept
Definition tensor.H:141
~TensorT()=default
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T & yx() const &noexcept
Definition tensor.H:137
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const T & operator[](size_type pos) const &
Definition tensor.H:168
TensorT(TensorT &&)=default
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T * data() noexcept
Definition tensor.H:173
AMREX_GPU_HOST_DEVICE static AMREX_FORCE_INLINE constexpr TensorT< T > zero() noexcept
Definition tensor.H:57
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & operator[](size_type pos) &
Definition tensor.H:163
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & xy() &noexcept
Definition tensor.H:89
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & yz() &noexcept
Definition tensor.H:106
Definition vector.H:13
Generated by 1.12.0