Function t8_dpyramid_num_corners(const t8_dpyramid_t *)

Function Documentation

int t8_dpyramid_num_corners(const t8_dpyramid_t *p)

Compute the number of corners of a pyramid. If pyramid has type less than 6, it is actually a tetrahedron.

Parameters:

p[in] Input pyramid.

Returns:

The number of corners of p.