コード例 #1
0
def test_hyper_cube():
    # two-dimensional case
    _, _ = hyper_cube(2, 8)
    # three-dimensional case
    _, _ = hyper_cube(3, 8)
コード例 #2
0
 def setup_mesh(self):
     # create mesh
     self._mesh, self._boundary_markers = hyper_cube(2, self._n_points)