discretize.TreeMesh.max_used_level#

TreeMesh.max_used_level#

Maximum refinement level used.

Returns the maximum refinement level used to construct the tree mesh. The maximum used level is equal or less than the maximum allowable level; see max_level.

Returns:
int

Maximum level used when refining the mesh