/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/tensor_ops.H File Reference

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/tensor_ops.H File Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
tensor_ops.H File Reference
#include "AMReX_Gpu.H"
Include dependency graph for tensor_ops.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  amr_wind
 
namespace  amr_wind::utils
 

Functions

template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T amr_wind::utils::dot_prod (const T *x, const T *y)
 
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T amr_wind::utils::vec_mag (const T *x)
 
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void amr_wind::utils::vec_normalize (T *x)
 
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T amr_wind::utils::dot_prod (const T *x, const T *y, const int ndim)
 
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void amr_wind::utils::cross_prod (const T *a, const T *b, T *c)
 
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void amr_wind::utils::transform_vec (const amrex::Array2D< T, 0, AMREX_SPACEDIM, 0, AMREX_SPACEDIM > &tmat, const T *x, T *y)
 
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void amr_wind::utils::inv_transform_vec (const amrex::Array2D< T, 0, AMREX_SPACEDIM, 0, AMREX_SPACEDIM > &tmat, const T *x, T *y)