XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
SimdGridVec Struct Reference

#include <grid_structs.hpp>

Collaboration diagram for SimdGridVec:
Collaboration graph
[legend]

Public Member Functions

KOKKOS_INLINE_FUNCTION const
Simd< double > & 
operator[] (int i) const
 
KOKKOS_INLINE_FUNCTION Simd
< double > & 
operator[] (int i)
 
KOKKOS_INLINE_FUNCTION void maxloc (Simd< int > &ml) const
 

Public Attributes

Simd< double > x [3]
 

Member Function Documentation

KOKKOS_INLINE_FUNCTION void SimdGridVec::maxloc ( Simd< int > &  ml) const
inline

For vector of triangle weights, figure out which of the three vertices is most weighted (i.e. which the particles are closest to)

Parameters
[out]mlVector of indices 0, 1, or 2 indicating which vertex to use

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION const Simd<double>& SimdGridVec::operator[] ( int  i) const
inline
KOKKOS_INLINE_FUNCTION Simd<double>& SimdGridVec::operator[] ( int  i)
inline

Member Data Documentation

Simd<double> SimdGridVec::x[3]

The documentation for this struct was generated from the following file: