Function opensn::GetCellDataIndex

Function Documentation

std::pair<const std::uint64_t*, std::uint64_t> opensn::GetCellDataIndex(const std::uint64_t *device_node_indexes, const std::uint32_t &cell_local_idx)

Get pointer to index data of a cell and the number of indexes for that cell.

Parameters:
  • device_node_indexes – Pointer to the flatten node index structure on device.

  • cell_local_idxCell local index.

Returns:

Pointer to the indexes of the cell and the number of indexes (total number of face nodes) for the cell.