XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
Distribution< Device > Struct Template Reference

#include <distribution.hpp>

Collaboration diagram for Distribution< Device >:
Collaboration graph
[legend]

Public Member Functions

 Distribution ()
 
void resize_on_device (const VelocityGrid &vgrid, int nnode, int nnode_entire_plane)
 
void resize_to_zero ()
 
void send_to_device (double *delta_n_array, double *delta_u_array, double *delta_t_array, int isp)
 
void resize_for_distribute_f0g_on_device (const VelocityGrid &vgrid, int nnode)
 
void resize_for_distribute_f0g_to_zero ()
 
void resize_for_update_f0_on_device (const VelocityGrid &vgrid, int nnode)
 
void resize_for_update_f0_to_zero ()
 

Public Attributes

Kokkos::View< double
***, Kokkos::LayoutRight,
Kokkos::HostSpace,
Kokkos::MemoryTraits
< Kokkos::Unmanaged > > 
f0g_h
 
Kokkos::View< double
*, Kokkos::HostSpace,
Kokkos::MemoryTraits
< Kokkos::Unmanaged > > 
temp_ev_h
 
View< double *, CLayout,
HostType, Kokkos::MemoryTraits
< Kokkos::Unmanaged > > 
den_global_h
 
View< double *, CLayout,
HostType, Kokkos::MemoryTraits
< Kokkos::Unmanaged > > 
temp_global_h
 
Kokkos::View< double
***, Kokkos::LayoutRight,
Device > 
f0g
 
Kokkos::View< double
*, Kokkos::LayoutRight, Device > 
temp_ev
 
Kokkos::View< double
*, Kokkos::LayoutRight, Device > 
delta_n
 
Kokkos::View< double
*, Kokkos::LayoutRight, Device > 
delta_u
 
Kokkos::View< double
*, Kokkos::LayoutRight, Device > 
delta_t
 
Kokkos::View< double
*, Kokkos::LayoutRight, Device > 
grid_vol
 
Kokkos::View< double
*, Kokkos::LayoutRight, Device > 
inv_grid_vol
 
Kokkos::View< double
***, Kokkos::LayoutRight,
Device > 
n
 
Kokkos::View< double
***, Kokkos::LayoutRight,
Device > 
f_d
 
Kokkos::View< double
*, Kokkos::LayoutRight, Device > 
temp_ev_d
 

Constructor & Destructor Documentation

template<class Device >
Distribution< Device >::Distribution ( )
inline

Member Function Documentation

template<class Device >
void Distribution< Device >::resize_for_distribute_f0g_on_device ( const VelocityGrid vgrid,
int  nnode 
)
inline

Functions for distribute_f0g

template<class Device >
void Distribution< Device >::resize_for_distribute_f0g_to_zero ( )
inline
template<class Device >
void Distribution< Device >::resize_for_update_f0_on_device ( const VelocityGrid vgrid,
int  nnode 
)
inline

Functions for f0 update

template<class Device >
void Distribution< Device >::resize_for_update_f0_to_zero ( )
inline
template<class Device >
void Distribution< Device >::resize_on_device ( const VelocityGrid vgrid,
int  nnode,
int  nnode_entire_plane 
)
inline

Functions for weight update

template<class Device >
void Distribution< Device >::resize_to_zero ( )
inline
template<class Device >
void Distribution< Device >::send_to_device ( double *  delta_n_array,
double *  delta_u_array,
double *  delta_t_array,
int  isp 
)
inline

Here is the call graph for this function:

Member Data Documentation

template<class Device >
Kokkos::View<double*,Kokkos::LayoutRight,Device> Distribution< Device >::delta_n
template<class Device >
Kokkos::View<double*,Kokkos::LayoutRight,Device> Distribution< Device >::delta_t
template<class Device >
Kokkos::View<double*,Kokkos::LayoutRight,Device> Distribution< Device >::delta_u
template<class Device >
View<double*,CLayout, HostType, Kokkos::MemoryTraits<Kokkos::Unmanaged> > Distribution< Device >::den_global_h
template<class Device >
Kokkos::View<double***,Kokkos::LayoutRight,Device> Distribution< Device >::f0g
template<class Device >
Kokkos::View<double***,Kokkos::LayoutRight, Kokkos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged> > Distribution< Device >::f0g_h
template<class Device >
Kokkos::View<double***,Kokkos::LayoutRight, Device> Distribution< Device >::f_d
template<class Device >
Kokkos::View<double*,Kokkos::LayoutRight,Device> Distribution< Device >::grid_vol
template<class Device >
Kokkos::View<double*,Kokkos::LayoutRight,Device> Distribution< Device >::inv_grid_vol
template<class Device >
Kokkos::View<double***,Kokkos::LayoutRight,Device> Distribution< Device >::n
template<class Device >
Kokkos::View<double*,Kokkos::LayoutRight,Device> Distribution< Device >::temp_ev
template<class Device >
Kokkos::View<double*,Kokkos::LayoutRight,Device> Distribution< Device >::temp_ev_d
template<class Device >
Kokkos::View<double*,Kokkos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged> > Distribution< Device >::temp_ev_h
template<class Device >
View<double*,CLayout, HostType, Kokkos::MemoryTraits<Kokkos::Unmanaged> > Distribution< Device >::temp_global_h

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