#########################
Particle properties
#########################
Particle properties can easily add to computation via parameters, eg decaying concentrations, by listing in particle_properties parameters.
Standard properties include, status, tide, water_depth and particle age.
Decaying particle
====================
.. raw:: html
Decaying particle property used to size and colour particles. ``decay_time_scale`` parameter = 3.5 hours.
* ``particle_properties.age_decay.AgeDecay``
* demo60_SCHISM_3D_decaying_particle.py
.. raw:: html
json parameters
.. literalinclude:: ../../../demos/demo_param_files/demo60_SCHISM_3D_decaying_particle.json
:language: json
:caption:
.. raw:: html
.. raw:: html
yaml parameters
.. literalinclude:: ../../../demos/demo_param_files/demo60_SCHISM_3D_decaying_particle.yaml
:language: Yaml
:caption:
.. raw:: html
Polygon aware particles
=============================
.. raw:: html
Particles with additional inside polygon property, with optional logging of polygon entry and exit events
* class: ``particle_properties.inside_polygons.InsidePolygonsNonOverlapping2D``
* class: ``event_loggers.log_polygon_entry_and_exit.LogPolygonEntryAndExit``
.. raw:: html
json parameters
.. literalinclude:: ../../../demos/demo_param_files/demo07_inside_polygon_events.json
:language: json
:caption:
.. raw:: html
.. raw:: html
.. raw:: html
yaml parameters
.. literalinclude:: ../../../demos/demo_param_files/demo07_inside_polygon_events.yaml
:language: Yaml
:caption:
.. raw:: html
Particle Status
=====================
.. raw:: html
Particles coloured by their status property. Status can be one of following strings
``['unknown', 'bad_cord', 'cell_search_failed', 'notReleased', 'dead', 'outside_open_boundary', 'frozen', 'stranded_by_tide', 'on_bottom', 'moving']``
.. raw:: html
json parameters
.. literalinclude:: ../../../demos/demo_param_files/demo56_SCHISM_3D_resupend_crtitical_friction_vel.json
:language: json
:caption:
.. raw:: html
.. raw:: html
yaml parameters
.. literalinclude:: ../../../demos/demo_param_files/demo56_SCHISM_3D_resupend_crtitical_friction_vel.yaml
:language: Yaml
:caption:
.. raw:: html