lbm_utils ========= .. py:module:: lbm_utils Functions --------- .. autoapisummary:: lbm_utils.compute_grid_parameters lbm_utils.compute_scheme_velocities lbm_utils.compute_scheme_adjacencies lbm_utils.compute_scheme_boundaries Module Contents --------------- .. py:function:: compute_grid_parameters(n, N, verbose=False) Compute parameters of the simulation grid. .. py:function:: compute_scheme_velocities(n, m) Compute velocities along angular directions of lattice scheme. .. py:function:: compute_scheme_adjacencies(n, m, idxs_dir, cs) Construct matrix indicating angular direction adjacencies. .. py:function:: compute_scheme_boundaries(n, m, idxs_dir=None, cs=None) Construct lists of directions along each boundary of the simulation grid. IMPORTANT - Left and right boundary indices are switched because of numpy array indexing (technically these are top and bottom in the numpy array, but we transpose in post-processing).