wolfgpu.cli
Module Contents
- wolfgpu.cli.LOGOS = [' __ __ _ __ ___ ___\n/ / /\\ \\ \\___ | |/ _| / _ \\ / _ \\/\\ /\\\n\\ \\/ \\/ /...[source]
- class wolfgpu.cli.Scenario[source]
Bases:
enum.Enum
Generic enumeration.
Derive from this class to define new enumerations.
- wolfgpu.cli.bounding_polygon_xy(wa: wolfhece.wolf_array.WolfArray)[source]
- wolfgpu.cli.mask_border(wa: wolfhece.wolf_array.WolfArray)[source]
Set a new mask applying only to a one cell around the matrix. It is usefule because SUXY is not smart enough to handle borders which are on the very border of matrices.
- wolfgpu.cli.force_cli_params_in_wolf_model(cli_args: argparse.Namespace, m: wolfhece.mesh2d.wolf2dprev.prev_sim2D)[source]
- wolfgpu.cli.force_params_in_gpu(cli_args: argparse.Namespace, gpu: wolfgpu.glsimulation.GLSimulation)[source]
- wolfgpu.cli.print_sim_params(sim: wolfgpu.glsimulation.GLSimulation, runner: wolfgpu.SimulationRunner.SimulationRunner, manning: numpy.array, active: numpy.array, h: numpy.array)[source]