/home/runner/work/amr-wind/amr-wind/amr-wind/core/vs/tensorI.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
tensorI.H
Go to the documentation of this file.
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real radians(const amrex::Real deg_val)
Convert from degrees to radians.
Definition trig_ops.H:35
Definition tensor.H:8
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor quaternion(const Vector &axis, const amrex::Real angle)
Definition tensorI.H:215
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T mag(const TensorT< T > &t)
Definition tensorI.H:182
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > operator&(const TensorT< T > &t, const VectorT< T > &v)
Definition tensorI.H:103
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE TensorT< T > operator-(const TensorT< T > &t1, const TensorT< T > &t2)
Definition tensorI.H:156
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T operator&&(const TensorT< T > &t1, const TensorT< T > &t2)
Definition tensorI.H:166
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE TensorT< T > operator+(const TensorT< T > &t1, const TensorT< T > &t2)
Definition tensorI.H:146
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor zrot(const amrex::Real angle)
Definition tensorI.H:205
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor yrot(const amrex::Real angle)
Definition tensorI.H:196
OStream & operator<<(OStream &out, const TensorT< T > &t)
Definition tensorI.H:91
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T mag_sqr(const TensorT< T > &t)
Definition tensorI.H:175
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor xrot(const amrex::Real angle)
Definition tensorI.H:187
Definition tensor.H:14
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & zy() &noexcept
Definition tensor.H:115
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
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
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
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & xx() &noexcept
Definition tensor.H:85
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 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 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
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & z() &noexcept
Definition vector.H:99
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & x() &noexcept
Definition vector.H:97
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & y() &noexcept
Definition vector.H:98
Generated by 1.12.0