Function bats::Cube(size_t, size_t, size_t, size_t, size_t, size_t, size_t, size_t, size_t)

Function Documentation

CubicalComplex bats::Cube(size_t, size_t, size_t, size_t i0, size_t i1, size_t j0, size_t j1, size_t k0, size_t k1)

Subset of Cubical complex of 3-dimensional grid on n1 x n2 x n3 vertices

This function is useful for constructing zigzags through a grid

Parameters
  • n1 – grid size in 1st index

  • n2 – grid size in 2nd index

  • n3 – grid size in 3rd index

  • i0 – start of first index

  • i1 – end of first index

  • j0 – start of second index

  • j1 – end of second index

  • k0 – start of third index

  • k1 – end of third index