vs Namespace Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Classes | |
struct | DTraits |
struct | DTraits< double > |
struct | DTraits< float > |
struct | DTraits< int > |
struct | TensorT |
struct | VectorT |
Typedefs | |
using | Tensor = TensorT<amrex::Real> |
using | Vector = VectorT<amrex::Real> |
Functions | |
template<typename T , typename OStream > | |
OStream & | operator<< (OStream &out, const TensorT< T > &t) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > | operator& (const TensorT< T > &t, const VectorT< T > &v) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > | operator& (const VectorT< T > &v, const TensorT< T > &t) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE TensorT< T > | operator& (const TensorT< T > &t1, const TensorT< T > &t2) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE TensorT< T > | operator+ (const TensorT< T > &t1, const TensorT< T > &t2) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE TensorT< T > | operator- (const TensorT< T > &t1, const TensorT< T > &t2) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | operator&& (const TensorT< T > &t1, const TensorT< T > &t2) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | mag_sqr (const TensorT< T > &t) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | mag (const TensorT< T > &t) |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor | xrot (const amrex::Real angle) |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor | yrot (const amrex::Real angle) |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor | zrot (const amrex::Real angle) |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor | quaternion (const Vector &axis, const amrex::Real angle) |
template<typename T , typename OStream > | |
OStream & | operator<< (OStream &out, const VectorT< T > &vec) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > | operator+ (const VectorT< T > &v1, const VectorT< T > &v2) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > | operator- (const VectorT< T > &v1, const VectorT< T > &v2) |
template<typename T1 , typename T2 > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T1 > | operator* (const VectorT< T1 > &inp, const T2 fac) |
template<typename T1 , typename T2 > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T1 > | operator* (const T2 fac, const VectorT< T1 > &inp) |
template<typename T1 , typename T2 > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T1 > | operator/ (const VectorT< T1 > &inp, const T2 fac) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | operator& (const VectorT< T > &v1, const VectorT< T > &v2) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > | operator^ (const VectorT< T > &v1, const VectorT< T > &v2) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > | operator* (const VectorT< T > &v1, const VectorT< T > &v2) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | mag_sqr (const VectorT< T > &v) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T | mag (const VectorT< T > &v) |
template<typename T > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > | sqrt (const VectorT< T > &v) |
Typedef Documentation
◆ Tensor
using amr_wind::vs::Tensor = TensorT<amrex::Real> |
◆ Vector
using amr_wind::vs::Vector = VectorT<amrex::Real> |
Function Documentation
◆ mag() [1/2]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T amr_wind::vs::mag | ( | const TensorT< T > & | t | ) |
◆ mag() [2/2]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T amr_wind::vs::mag | ( | const VectorT< T > & | v | ) |
◆ mag_sqr() [1/2]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T amr_wind::vs::mag_sqr | ( | const TensorT< T > & | t | ) |
◆ mag_sqr() [2/2]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T amr_wind::vs::mag_sqr | ( | const VectorT< T > & | v | ) |
◆ operator&() [1/4]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > amr_wind::vs::operator& | ( | const TensorT< T > & | t, |
const VectorT< T > & | v ) |
◆ operator&() [2/4]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE TensorT< T > amr_wind::vs::operator& | ( | const TensorT< T > & | t1, |
const TensorT< T > & | t2 ) |
◆ operator&() [3/4]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > amr_wind::vs::operator& | ( | const VectorT< T > & | v, |
const TensorT< T > & | t ) |
◆ operator&() [4/4]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T amr_wind::vs::operator& | ( | const VectorT< T > & | v1, |
const VectorT< T > & | v2 ) |
◆ operator&&()
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T amr_wind::vs::operator&& | ( | const TensorT< T > & | t1, |
const TensorT< T > & | t2 ) |
◆ operator*() [1/3]
template<typename T1 , typename T2 >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T1 > amr_wind::vs::operator* | ( | const T2 | fac, |
const VectorT< T1 > & | inp ) |
◆ operator*() [2/3]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > amr_wind::vs::operator* | ( | const VectorT< T > & | v1, |
const VectorT< T > & | v2 ) |
◆ operator*() [3/3]
template<typename T1 , typename T2 >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T1 > amr_wind::vs::operator* | ( | const VectorT< T1 > & | inp, |
const T2 | fac ) |
◆ operator+() [1/2]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE TensorT< T > amr_wind::vs::operator+ | ( | const TensorT< T > & | t1, |
const TensorT< T > & | t2 ) |
◆ operator+() [2/2]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > amr_wind::vs::operator+ | ( | const VectorT< T > & | v1, |
const VectorT< T > & | v2 ) |
◆ operator-() [1/2]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE TensorT< T > amr_wind::vs::operator- | ( | const TensorT< T > & | t1, |
const TensorT< T > & | t2 ) |
◆ operator-() [2/2]
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > amr_wind::vs::operator- | ( | const VectorT< T > & | v1, |
const VectorT< T > & | v2 ) |
◆ operator/()
template<typename T1 , typename T2 >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T1 > amr_wind::vs::operator/ | ( | const VectorT< T1 > & | inp, |
const T2 | fac ) |
◆ operator<<() [1/2]
template<typename T , typename OStream >
OStream & amr_wind::vs::operator<< | ( | OStream & | out, |
const TensorT< T > & | t ) |
◆ operator<<() [2/2]
template<typename T , typename OStream >
OStream & amr_wind::vs::operator<< | ( | OStream & | out, |
const VectorT< T > & | vec ) |
◆ operator^()
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > amr_wind::vs::operator^ | ( | const VectorT< T > & | v1, |
const VectorT< T > & | v2 ) |
◆ quaternion()
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor amr_wind::vs::quaternion | ( | const Vector & | axis, |
const amrex::Real | angle ) |
◆ sqrt()
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > amr_wind::vs::sqrt | ( | const VectorT< T > & | v | ) |
◆ xrot()
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor amr_wind::vs::xrot | ( | const amrex::Real | angle | ) |
◆ yrot()
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor amr_wind::vs::yrot | ( | const amrex::Real | angle | ) |
◆ zrot()
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor amr_wind::vs::zrot | ( | const amrex::Real | angle | ) |
Generated by 1.12.0