|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
#include <zone.h>
Public Member Functions | |
| CellZone () | |
| Construct a new CellZone object. | |
| ~CellZone () | |
| Destroy the CellZone object. | |
| uint32_t | n_cells () const |
| Get the number of cells in the zone. | |
| CellZoneType | type () const |
| Get the type of the zone. | |
| void | copy_host_to_device () |
| Copy the cells from the host to the device. | |
| void | copy_device_to_host () |
| Copy the cells from the device to the host. | |
Public Member Functions inherited from Zone | |
| Zone () | |
| Construct a new Zone object. | |
| ~Zone () | |
| Destroy the Zone object. | |
| std::string | get_name () const |
| Get the name of the zone. | |
| void | set_name (const std::string &name) |
| Set the name of the zone. | |
Public Attributes | |
| Kokkos::View< uint32_t * > | cells |
| Kokkos::View< uint32_t * >::host_mirror_type | h_cells |
| CellZone::CellZone | ( | ) |
Construct a new CellZone object.
| CellZone::~CellZone | ( | ) |
Destroy the CellZone object.
| void CellZone::copy_device_to_host | ( | ) |
Copy the cells from the device to the host.
| void CellZone::copy_host_to_device | ( | ) |
Copy the cells from the host to the device.
| uint32_t CellZone::n_cells | ( | ) | const |
Get the number of cells in the zone.
| CellZoneType CellZone::type | ( | ) | const |
Get the type of the zone.
| Kokkos::View<uint32_t *> CellZone::cells |
| Kokkos::View<uint32_t*>::host_mirror_type CellZone::h_cells |