/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 amrex::Real & zy() &noexcept
Definition tensor.H:115
TensorT(const TensorT &)=default
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< amrex::Real > y() const noexcept
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real & zz() &noexcept
Definition tensor.H:119
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real & zx() &noexcept
Definition tensor.H:111
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real & 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< amrex::Real > z() const noexcept
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< amrex::Real > cz() const noexcept
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< amrex::Real > x() const noexcept
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 amrex::Real & 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< amrex::Real > cy() const noexcept
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real & 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 amrex::Real & xz() &noexcept
Definition tensor.H:93
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< amrex::Real > cx() const noexcept
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE TensorT(const VectorT< T > &x, const VectorT< T > &y, const VectorT< T > &z, const bool transpose=false)
Definition tensorI.H:11
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 amrex::Real & xy() &noexcept
Definition tensor.H:89
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real & yz() &noexcept
Definition tensor.H:106
Definition vector.H:13
Generated by