Peano
Loading...
Searching...
No Matches
test_sfc.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_sfc
 

Functions

 test_sfc.test_cartesian_to_peano_2d_docstring_example ()
 Docstring example: (4, 2) with size=9 must map to 10.
 
 test_sfc.test_peano_to_cartesian_2d_docstring_example ()
 Inverse of docstring example: index 10 with size=9 must map to (4, 2).
 
 test_sfc.test_cartesian_to_peano_2d_size1 ()
 
 test_sfc.test_peano_to_cartesian_2d_size1 ()
 
 test_sfc.test_cartesian_to_peano_2d_bijection (size)
 Every cell maps to a unique index in [0, size²).
 
 test_sfc.test_peano_to_cartesian_2d_round_trip (size)
 Forward then inverse returns the original coordinates for all cells.
 
 test_sfc.test_cartesian_to_peano_3d_size1 ()
 
 test_sfc.test_peano_to_cartesian_3d_size1 ()
 
 test_sfc.test_cartesian_to_peano_3d_bijection (size)
 Every 3-D cell maps to a unique index in [0, size³).
 
 test_sfc.test_peano_to_cartesian_3d_round_trip (size)
 Forward then inverse returns the original coordinates for all 3-D cells.
 
 test_sfc.test_cartesian_to_peano_3d_bijection_size9 ()
 Full bijection check for size=9 (729 cells); marked slow.
 
 test_sfc.test_peano_to_cartesian_3d_round_trip_size9 ()
 Round-trip check for size=9 (729 cells); marked slow.
 
 test_sfc._peano_zfor3_tables (dimensions)
 Read the lookup tables of zfor3 from src/peano4/utils/Loop.h.
 
 test_sfc.test_children_order_matches_peano_zfor3 (dimensions)
 The order of the 3^d children replicates peano4::utils::zfor3 for all loop directions.
 
 test_sfc.test_curve_2d_is_continuous (size)
 Consecutive cells along the curve share a face, i.e.
 
 test_sfc.test_curve_3d_is_continuous (size)
 Consecutive cells along the curve share a face, i.e.