/home/runner/work/amr-wind/amr-wind/amr-wind/core/vs/vectorI.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
vectorI.H
Go to the documentation of this file.
Definition tensor.H:8
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< T1 > operator*(const VectorT< T1 > &inp, const T2 fac)
Definition vectorI.H:70
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 VectorT< T1 > operator/(const VectorT< T1 > &inp, const T2 fac)
Definition vectorI.H:84
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 VectorT< T > operator^(const VectorT< T > &v1, const VectorT< T > &v2)
Definition vectorI.H:98
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE TensorT< T > operator+(const TensorT< T > &t1, const TensorT< T > &t2)
Definition tensorI.H:146
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 VectorT< T > sqrt(const VectorT< T > &v)
Definition vectorI.H:139
Definition vector.H:13
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > operator/=(const T val)
Definition vectorI.H:39
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 VectorT< T > operator*=(const T val)
Definition vectorI.H:19
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & y() &noexcept
Definition vector.H:98
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > & normalize()
Normalize the vector to unit vector.
Definition vectorI.H:126
AMREX_GPU_HOST_DEVICE static AMREX_FORCE_INLINE constexpr VectorT< T > zero()
Zero vector.
Definition vector.H:45
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > operator-() const
Definition vectorI.H:12
Generated by 1.12.0