wolfgpu.toy_datasets

Module Contents

wolfgpu.toy_datasets.make_closed_pool(width, height, pos_x, pos_y, pool_width, pool_height, wall_height=10, mode='cube') wolfgpu.simple_simulation.SimpleSimulation[source]

Make a cube of water, surrounded by empty space, surrounded by walls, surrounded by empty space. The problem will be pool_width by pool_height but it will be placed onto a grid (width*height) at (pos_x,pos_y)

wolfgpu.toy_datasets.make_cube_drop(width, height, water_cube_height=10.0) wolfgpu.simple_simulation.SimpleSimulation[source]
class wolfgpu.toy_datasets.WallDirection[source]

Bases: enum.Enum

Inheritance diagram of wolfgpu.toy_datasets.WallDirection

Generic enumeration.

Derive from this class to define new enumerations.

HORIZONTAL = 1[source]
VERTICAL = 2[source]
HORIZONTAL_AND_VERTICAL = 3[source]
wolfgpu.toy_datasets.make_swimming_pool(width, height, water_depth, wall: WallDirection) wolfgpu.simple_simulation.SimpleSimulation[source]