1 #ifndef DISTRIBUTION_HPP
2 #define DISTRIBUTION_HPP
4 #include <Kokkos_Core.hpp>
14 View<double***,CLayout, Kokkos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
f0g_h;
15 View<double***,CLayout,Device>
f0g;
17 View<double*,Kokkos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
temp_ev_h;
20 View<double*,Kokkos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
flow_h;
21 View<double*,CLayout,Device>
flow;
23 View<double*,Kokkos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
den_h;
24 View<double*,CLayout,Device>
den;
26 View<double*,Kokkos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
grid_vol_h;
29 View<double*,Kokkos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
grid_vol_vonly_h;
32 View<double*,Kokkos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
inv_grid_vol_h;
35 View<double*,Kokkos::HostSpace, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
n_Ta_h;
36 View<double*,CLayout,Device>
n_Ta;
39 View<double*,CLayout,HostType, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
delta_n_h;
42 View<double*,CLayout,HostType, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
delta_u_h;
45 View<double*,CLayout,HostType, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
delta_T_h;
48 View<double*,CLayout, HostType, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
den_global_h;
51 View<double*,CLayout, HostType, Kokkos::MemoryTraits<Kokkos::Unmanaged>>
temp_global_h;
58 f0g = View<double***,CLayout,Device>(
NoInit(
"f0g"),
f0g_h.layout());
124 f0g = View<double***,CLayout,Device>();
126 temp_ev = View<double*,CLayout,Device>();
127 flow = View<double*,CLayout,Device>();
128 den = View<double*,CLayout,Device>();
129 grid_vol = View<double*,CLayout,Device>();
132 n_Ta = View<double*,CLayout,Device>();
134 delta_n = View<double*,CLayout,Device>();
135 delta_u = View<double*,CLayout,Device>();
136 delta_T = View<double*,CLayout,Device>();
View< double *, CLayout, Device > den
Definition: distribution.hpp:24
void grid_vol_vonly_send_to_device()
Definition: distribution.hpp:82
void temp_ev_send_to_device()
Definition: distribution.hpp:62
View< double *, CLayout, Device > den_global
Definition: distribution.hpp:49
View< double *, CLayout, Device > temp_global
Definition: distribution.hpp:52
View< double *, CLayout, Device > grid_vol_vonly
Definition: distribution.hpp:30
void den_send_to_device()
Definition: distribution.hpp:67
View< double *, CLayout, Device > temp_ev
Definition: distribution.hpp:18
void grid_vol_send_to_device()
Definition: distribution.hpp:77
void flow_send_to_device()
Definition: distribution.hpp:72
Distribution()
Definition: distribution.hpp:55
View< double ***, CLayout, Device > f0g
Definition: distribution.hpp:15
View< double ***, CLayout, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged > > f0g_h
Definition: distribution.hpp:14
View< double *, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged > > inv_grid_vol_h
Definition: distribution.hpp:32
View< double *, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged > > den_h
Definition: distribution.hpp:23
View< double *, CLayout, Device > flow
Definition: distribution.hpp:21
View< double *, CLayout, Device > grid_vol
Definition: distribution.hpp:27
void n_Ta_send_to_device()
Definition: distribution.hpp:92
View< double *, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged > > temp_ev_h
Definition: distribution.hpp:17
View< double *, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged > > flow_h
Definition: distribution.hpp:20
View< double *, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged > > temp_global_h
Definition: distribution.hpp:51
View< double *, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged > > delta_n_h
Definition: distribution.hpp:39
View< double *, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged > > den_global_h
Definition: distribution.hpp:48
View< double *, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged > > delta_u_h
Definition: distribution.hpp:42
View< double *, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged > > delta_T_h
Definition: distribution.hpp:45
void inv_grid_vol_send_to_device()
Definition: distribution.hpp:87
View< double *, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged > > grid_vol_vonly_h
Definition: distribution.hpp:29
View< double *, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged > > grid_vol_h
Definition: distribution.hpp:26
View< double *, CLayout, Device > delta_n
Definition: distribution.hpp:40
void den_global_send_to_device()
Definition: distribution.hpp:112
View< double *, CLayout, Device > delta_T
Definition: distribution.hpp:46
void temp_global_send_to_device()
Definition: distribution.hpp:117
void deallocate_device_views()
Definition: distribution.hpp:123
View< double *, CLayout, Device > inv_grid_vol
Definition: distribution.hpp:33
View< double *, CLayout, Device > delta_u
Definition: distribution.hpp:43
void delta_u_send_to_device()
Definition: distribution.hpp:102
void delta_n_send_to_device()
Definition: distribution.hpp:97
void delta_T_send_to_device()
Definition: distribution.hpp:107
Kokkos::ViewAllocateWithoutInitializing NoInit
Definition: space_settings.hpp:68
View< double *, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged > > n_Ta_h
Definition: distribution.hpp:35
View< double *, CLayout, Device > n_Ta
Definition: distribution.hpp:36
Definition: distribution.hpp:10
void f0g_send_to_device()
Definition: distribution.hpp:57