wolfhece.lagrangian.particle_system_ui
Author: HECE - University of Liege, Pierre Archambeau Date: 2024
Copyright (c) 2024 University of Liege. All rights reserved.
This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited.
Module Contents
- class wolfhece.lagrangian.particle_system_ui.Particle_system_to_draw(idx: str = '', plotted: bool = True, mapviewer=None, need_for_wx: bool = False)[source]
Bases:
wolfhece.drawing_obj.Element_To_Draw
Base class of element to add into WolfMapViewer or another GUI
- get_domain(output_type: Literal[numpy, Particle_system_to_draw.get_domain.wolf] = 'wolf') numpy.ndarray | wolfhece.wolf_array.WolfArray [source]
Return the domain as Numpy array or WolfArray to put in the UI.
- set_domain(value: numpy.ndarray | wolfhece.wolf_array.WolfArray) None [source]
Set the domain.
- get_u(output_type: Literal[numpy, Particle_system_to_draw.get_u.wolf] = 'wolf') numpy.ndarray | wolfhece.wolf_array.WolfArray [source]
Return the u as Numpy array or WolfArray to put in the UI.
- get_v(output_type: Literal[numpy, Particle_system_to_draw.get_v.wolf] = 'wolf') numpy.ndarray | wolfhece.wolf_array.WolfArray [source]
Return the v as Numpy array or WolfArray to put in the UI.
- get_uv(output_type: Literal[numpy, wolf] = 'wolf') tuple[numpy.ndarray] | tuple[wolfhece.wolf_array.WolfArray] [source]
Return the uv as Numpy array or WolfArray to put in the UI.
- get_uv_absolute(output_type: Literal[numpy, wolf] = 'wolf') numpy.ndarray | wolfhece.wolf_array.WolfArray [source]
- set_uv(value: tuple[numpy.ndarray] | tuple[wolfhece.wolf_array.WolfArray], header: tuple[float] = (0.0, 0.0, 1.0, 1.0), time: float = 0.0) None [source]
Set the uv.
- get_emitters(output_type: Literal[shapely, Particle_system_to_draw.get_emitters.wolf] = 'wolf') list[wolfhece.lagrangian.emitter.Emitter] | wolfhece.PyVertexvectors.Zones [source]
Return the emitters as Shapely array or Zones to put in the UI.
- set_emitters(value: list[wolfhece.lagrangian.emitter.Emitter] | wolfhece.PyVertexvectors.Zones) None [source]
Set the emitters.
- set_emitter(value: wolfhece.PyVertexvectors.vector) None [source]
Add an emitter.