51 void set_name(
const std::string& name);
98 Kokkos::View<uint32_t *>::host_mirror_type
h_faces;
139 Kokkos::View<uint32_t *>::host_mirror_type
h_cells;
CellZoneType type() const
Get the type of the zone.
Definition zone.cpp:70
void copy_host_to_device()
Copy the cells from the host to the device.
Definition zone.cpp:74
uint32_t n_cells() const
Get the number of cells in the zone.
Definition zone.cpp:66
void copy_device_to_host()
Copy the cells from the device to the host.
Definition zone.cpp:78
Kokkos::View< uint32_t * > cells
Definition zone.h:138
CellZone()
Construct a new CellZone object.
Definition zone.cpp:58
Kokkos::View< uint32_t * >::host_mirror_type h_cells
Definition zone.h:139
~CellZone()
Destroy the CellZone object.
Definition zone.cpp:62
uint32_t n_faces() const
Get the number of faces in the zone.
Definition zone.cpp:38
void set_type(FaceZoneType type)
Set the type of the zone.
Definition zone.cpp:46
FaceZone()
Construct a new FaceZone object.
Definition zone.cpp:30
~FaceZone()
Destroy the FaceZone object.
Definition zone.cpp:34
FaceZoneType get_type() const
Get the type of the zone.
Definition zone.cpp:42
Kokkos::View< uint32_t * > faces
Definition zone.h:97
void copy_device_to_host()
Copy the faces from the device to the host.
Definition zone.cpp:54
Kokkos::View< uint32_t * >::host_mirror_type h_faces
Definition zone.h:98
void copy_host_to_device()
Copy the faces from the host to the device.
Definition zone.cpp:50
Zone()
Construct a new Zone object.
Definition zone.cpp:14
~Zone()
Destroy the Zone object.
Definition zone.cpp:18
void set_name(const std::string &name)
Set the name of the zone.
Definition zone.cpp:26
std::string get_name() const
Get the name of the zone.
Definition zone.cpp:22
KOKKOS_INLINE_FUNCTION rtype dot(const rtype *a, const rtype *b)
Compute the dot product of two arrays.
Definition common_math.h:32
CellZoneType
Definition zone.h:25
FaceZoneType
Definition zone.h:20