wolfgpu.loaders.simple_sim_loader
Module Contents
- wolfgpu.loaders.simple_sim_loader.handle_cell_parameters(bc_descriptions: dict, cell_parameters_list: list[wolfgpu.simple_simulation.CellParameter])[source]
- wolfgpu.loaders.simple_sim_loader.handle_left_border_boundary_conditions(bc_descriptions: dict, bc_list: list[wolfgpu.simple_simulation.boundary_condition_2D], nap: numpy.ndarray, bathymetry: numpy.ndarray, qxbin: numpy.ndarray)[source]
- wolfgpu.loaders.simple_sim_loader.handle_bottom_border_boundary_conditions(bc_descriptions: dict, bc_list: list[wolfgpu.simple_simulation.boundary_condition_2D], nap: numpy.ndarray, bathymetry: numpy.ndarray, qybin: numpy.ndarray)[source]
- wolfgpu.loaders.simple_sim_loader.digest_bcs_into_array(bc_descriptions, weak_boundary_cond_array)[source]
- wolfgpu.loaders.simple_sim_loader.load_simple_sim_to_gpu(sim: wolfgpu.simple_simulation.SimpleSimulation, tile_size: int = 16, shader_log_path: pathlib.Path = None, tiles_packing_mode: wolfgpu.glsimulation.TilePackingMode = TilePackingMode.REGULAR, optimize_indirection: bool = False, fail_if_invalid_sim: bool = True) wolfgpu.glsimulation.GLSimulation [source]
Loads a “simple” model to GPU.