Function opensn::GetCellDataIndex

Function Documentation

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

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

Parameters:
  • node_indices – Pointer to the flattened node index structure.

  • cell_local_idxCell local index.

Returns:

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