guohanghui commited on
Commit
9f2807d
·
verified ·
1 Parent(s): 8261f43

Upload 1004 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. Dockerfile +18 -0
  2. PySDM/mcp_output/README_MCP.md +52 -0
  3. PySDM/mcp_output/analysis.json +2822 -0
  4. PySDM/mcp_output/diff_report.md +68 -0
  5. PySDM/mcp_output/mcp_plugin/__init__.py +0 -0
  6. PySDM/mcp_output/mcp_plugin/adapter.py +184 -0
  7. PySDM/mcp_output/mcp_plugin/main.py +13 -0
  8. PySDM/mcp_output/mcp_plugin/mcp_service.py +79 -0
  9. PySDM/mcp_output/requirements.txt +7 -0
  10. PySDM/mcp_output/start_mcp.py +30 -0
  11. PySDM/mcp_output/workflow_summary.json +210 -0
  12. PySDM/source/.binder/apt.txt +1 -0
  13. PySDM/source/.binder/postBuild +7 -0
  14. PySDM/source/.binder/requirements.txt +1 -0
  15. PySDM/source/.codecov.yml +5 -0
  16. PySDM/source/.pre-commit-config.yaml +37 -0
  17. PySDM/source/.zenodo.json +161 -0
  18. PySDM/source/LICENSE +674 -0
  19. PySDM/source/PySDM/__init__.py +20 -0
  20. PySDM/source/PySDM/attributes/__init__.py +9 -0
  21. PySDM/source/PySDM/attributes/chemistry/__init__.py +7 -0
  22. PySDM/source/PySDM/attributes/chemistry/acidity.py +44 -0
  23. PySDM/source/PySDM/attributes/chemistry/concentration.py +25 -0
  24. PySDM/source/PySDM/attributes/chemistry/hydrogen_ion_concentration.py +15 -0
  25. PySDM/source/PySDM/attributes/ice/__init__.py +7 -0
  26. PySDM/source/PySDM/attributes/ice/cooling_rate.py +35 -0
  27. PySDM/source/PySDM/attributes/ice/freezing_temperature.py +44 -0
  28. PySDM/source/PySDM/attributes/ice/immersed_surface_area.py +12 -0
  29. PySDM/source/PySDM/attributes/impl/__init__.py +14 -0
  30. PySDM/source/PySDM/attributes/impl/attribute.py +42 -0
  31. PySDM/source/PySDM/attributes/impl/attribute_registry.py +62 -0
  32. PySDM/source/PySDM/attributes/impl/base_attribute.py +17 -0
  33. PySDM/source/PySDM/attributes/impl/cell_attribute.py +10 -0
  34. PySDM/source/PySDM/attributes/impl/derived_attribute.py +29 -0
  35. PySDM/source/PySDM/attributes/impl/dummy_attribute.py +18 -0
  36. PySDM/source/PySDM/attributes/impl/extensive_attribute.py +10 -0
  37. PySDM/source/PySDM/attributes/impl/intensive_attribute.py +16 -0
  38. PySDM/source/PySDM/attributes/impl/maximum_attribute.py +12 -0
  39. PySDM/source/PySDM/attributes/impl/mole_amount.py +17 -0
  40. PySDM/source/PySDM/attributes/impl/temperature_variation_option_attribute.py +18 -0
  41. PySDM/source/PySDM/attributes/isotopes/__init__.py +6 -0
  42. PySDM/source/PySDM/attributes/isotopes/delta.py +50 -0
  43. PySDM/source/PySDM/attributes/isotopes/moles.py +92 -0
  44. PySDM/source/PySDM/attributes/numerics/__init__.py +7 -0
  45. PySDM/source/PySDM/attributes/numerics/cell_id.py +14 -0
  46. PySDM/source/PySDM/attributes/numerics/cell_origin.py +16 -0
  47. PySDM/source/PySDM/attributes/numerics/position_in_cell.py +15 -0
  48. PySDM/source/PySDM/attributes/physics/__init__.py +21 -0
  49. PySDM/source/PySDM/attributes/physics/area.py +18 -0
  50. PySDM/source/PySDM/attributes/physics/critical_saturation.py +54 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ RUN useradd -m -u 1000 user && python -m pip install --upgrade pip
4
+ USER user
5
+ ENV PATH="/home/user/.local/bin:$PATH"
6
+
7
+ WORKDIR /app
8
+
9
+ COPY --chown=user ./requirements.txt requirements.txt
10
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
+
12
+ COPY --chown=user . /app
13
+ ENV MCP_TRANSPORT=http
14
+ ENV MCP_PORT=7860
15
+
16
+ EXPOSE 7860
17
+
18
+ CMD ["python", "PySDM/mcp_output/start_mcp.py"]
PySDM/mcp_output/README_MCP.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PySDM: Pythonic Particle-Based Cloud Microphysics Package
2
+
3
+ ## Project Introduction
4
+
5
+ PySDM is a Pythonic particle-based (super-droplet) cloud microphysics package designed for simulating warm-rain and aqueous-chemistry processes. It provides a comprehensive framework for modeling cloud microphysics with support for box, parcel, and 1D/2D prescribed-flow scenarios. The package is implemented in Python, with examples available in Julia and Matlab, making it versatile for various scientific and research applications.
6
+
7
+ ## Installation Method
8
+
9
+ To install PySDM, ensure you have Python installed on your system. The package requires the following dependencies:
10
+
11
+ - Required: numpy, scipy, numba
12
+ - Optional: matplotlib, netCDF4
13
+
14
+ You can install PySDM and its dependencies using pip:
15
+
16
+ ```
17
+ pip install numpy scipy numba
18
+ pip install matplotlib netCDF4 # Optional
19
+ ```
20
+
21
+ ## Quick Start
22
+
23
+ To get started with PySDM, you can use the `Particulator` class, which serves as the main entry point for handling particle-based cloud microphysics. Here is a simple example to demonstrate how to use PySDM:
24
+
25
+ ```
26
+ from PySDM import Particulator
27
+
28
+ # Initialize the Particulator
29
+ particulator = Particulator()
30
+
31
+ # Run a simulation (example)
32
+ particulator.run_simulation()
33
+ ```
34
+
35
+ For more detailed examples, refer to the examples provided in the repository.
36
+
37
+ ## Available Tools and Endpoints List
38
+
39
+ - **Particulator**: Main class for handling particle-based cloud microphysics.
40
+ - **Dynamics Module**: Functions for handling cloud microphysics dynamics such as condensation, freezing, and displacement.
41
+ - **Backends**: Provides backend implementations for computational efficiency using Numba and ThrustRTC.
42
+ - **Exporters**: Functions to export simulation data to formats like NetCDF and VTK.
43
+
44
+ ## Common Issues and Notes
45
+
46
+ - Ensure all required dependencies are installed before running simulations.
47
+ - The package is computationally intensive; using the Numba or ThrustRTC backends can improve performance.
48
+ - If you encounter issues with optional dependencies, ensure they are installed if needed for specific functionalities like plotting or data export.
49
+
50
+ ## Reference Links or Documentation
51
+
52
+ For more information, visit the [PySDM GitHub Repository](https://github.com/open-atmos/PySDM). The repository contains detailed documentation, examples, and additional resources to help you get the most out of PySDM.
PySDM/mcp_output/analysis.json ADDED
@@ -0,0 +1,2822 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "summary": {
3
+ "repository_url": "https://github.com/open-atmos/PySDM",
4
+ "summary": "Imported via zip fallback, file count: 899",
5
+ "file_tree": {
6
+ ".binder/apt.txt": {
7
+ "size": 7
8
+ },
9
+ ".binder/requirements.txt": {
10
+ "size": 15
11
+ },
12
+ ".codecov.yml": {
13
+ "size": 72
14
+ },
15
+ ".github/actions/env-setup/action.yml": {
16
+ "size": 2080
17
+ },
18
+ ".github/actions/set-pip-path-and-cache-key/action.yml": {
19
+ "size": 673
20
+ },
21
+ ".github/dependabot.yml": {
22
+ "size": 176
23
+ },
24
+ ".github/workflows/cancel.yml": {
25
+ "size": 284
26
+ },
27
+ ".github/workflows/pdoc.yml": {
28
+ "size": 1046
29
+ },
30
+ ".github/workflows/precommit.yml": {
31
+ "size": 1147
32
+ },
33
+ ".github/workflows/pypi.yml": {
34
+ "size": 2979
35
+ },
36
+ ".github/workflows/readme_snippets.yml": {
37
+ "size": 3187
38
+ },
39
+ ".github/workflows/stale.yml": {
40
+ "size": 802
41
+ },
42
+ ".github/workflows/tests.yml": {
43
+ "size": 14187
44
+ },
45
+ ".github/workflows/urlcheck.yml": {
46
+ "size": 1275
47
+ },
48
+ ".pre-commit-config.yaml": {
49
+ "size": 893
50
+ },
51
+ ".zenodo.json": {
52
+ "size": 4962
53
+ },
54
+ "PySDM/__init__.py": {
55
+ "size": 504
56
+ },
57
+ "PySDM/attributes/__init__.py": {
58
+ "size": 171
59
+ },
60
+ "PySDM/attributes/chemistry/__init__.py": {
61
+ "size": 223
62
+ },
63
+ "PySDM/attributes/chemistry/acidity.py": {
64
+ "size": 1642
65
+ },
66
+ "PySDM/attributes/chemistry/concentration.py": {
67
+ "size": 782
68
+ },
69
+ "PySDM/attributes/chemistry/hydrogen_ion_concentration.py": {
70
+ "size": 475
71
+ },
72
+ "PySDM/attributes/ice/__init__.py": {
73
+ "size": 222
74
+ },
75
+ "PySDM/attributes/ice/cooling_rate.py": {
76
+ "size": 1320
77
+ },
78
+ "PySDM/attributes/ice/freezing_temperature.py": {
79
+ "size": 1428
80
+ },
81
+ "PySDM/attributes/ice/immersed_surface_area.py": {
82
+ "size": 376
83
+ },
84
+ "PySDM/attributes/impl/__init__.py": {
85
+ "size": 608
86
+ },
87
+ "PySDM/attributes/impl/attribute.py": {
88
+ "size": 1156
89
+ },
90
+ "PySDM/attributes/impl/attribute_registry.py": {
91
+ "size": 1897
92
+ },
93
+ "PySDM/attributes/impl/base_attribute.py": {
94
+ "size": 470
95
+ },
96
+ "PySDM/attributes/impl/cell_attribute.py": {
97
+ "size": 220
98
+ },
99
+ "PySDM/attributes/impl/derived_attribute.py": {
100
+ "size": 844
101
+ },
102
+ "PySDM/attributes/impl/dummy_attribute.py": {
103
+ "size": 418
104
+ },
105
+ "PySDM/attributes/impl/extensive_attribute.py": {
106
+ "size": 224
107
+ },
108
+ "PySDM/attributes/impl/intensive_attribute.py": {
109
+ "size": 548
110
+ },
111
+ "PySDM/attributes/impl/maximum_attribute.py": {
112
+ "size": 391
113
+ },
114
+ "PySDM/attributes/impl/mole_amount.py": {
115
+ "size": 410
116
+ },
117
+ "PySDM/attributes/impl/temperature_variation_option_attribute.py": {
118
+ "size": 755
119
+ },
120
+ "PySDM/attributes/isotopes/__init__.py": {
121
+ "size": 134
122
+ },
123
+ "PySDM/attributes/isotopes/delta.py": {
124
+ "size": 1565
125
+ },
126
+ "PySDM/attributes/isotopes/moles.py": {
127
+ "size": 3404
128
+ },
129
+ "PySDM/attributes/numerics/__init__.py": {
130
+ "size": 202
131
+ },
132
+ "PySDM/attributes/numerics/cell_id.py": {
133
+ "size": 288
134
+ },
135
+ "PySDM/attributes/numerics/cell_origin.py": {
136
+ "size": 379
137
+ },
138
+ "PySDM/attributes/numerics/position_in_cell.py": {
139
+ "size": 405
140
+ },
141
+ "PySDM/attributes/physics/__init__.py": {
142
+ "size": 855
143
+ },
144
+ "PySDM/attributes/physics/area.py": {
145
+ "size": 574
146
+ },
147
+ "PySDM/attributes/physics/critical_saturation.py": {
148
+ "size": 1931
149
+ },
150
+ "PySDM/attributes/physics/critical_volume.py": {
151
+ "size": 2878
152
+ },
153
+ "PySDM/attributes/physics/diffusional_growth_mass_change.py": {
154
+ "size": 1152
155
+ },
156
+ "PySDM/attributes/physics/dry_radius.py": {
157
+ "size": 541
158
+ },
159
+ "PySDM/attributes/physics/dry_volume.py": {
160
+ "size": 2003
161
+ },
162
+ "PySDM/attributes/physics/equilibrium_saturation.py": {
163
+ "size": 1396
164
+ },
165
+ "PySDM/attributes/physics/heat.py": {
166
+ "size": 314
167
+ },
168
+ "PySDM/attributes/physics/hygroscopicity.py": {
169
+ "size": 931
170
+ },
171
+ "PySDM/attributes/physics/multiplicity.py": {
172
+ "size": 471
173
+ },
174
+ "PySDM/attributes/physics/radius.py": {
175
+ "size": 913
176
+ },
177
+ "PySDM/attributes/physics/relative_fall_velocity.py": {
178
+ "size": 1258
179
+ },
180
+ "PySDM/attributes/physics/reynolds_number.py": {
181
+ "size": 1081
182
+ },
183
+ "PySDM/attributes/physics/temperature.py": {
184
+ "size": 340
185
+ },
186
+ "PySDM/attributes/physics/terminal_velocity.py": {
187
+ "size": 1577
188
+ },
189
+ "PySDM/attributes/physics/volume.py": {
190
+ "size": 587
191
+ },
192
+ "PySDM/attributes/physics/water_mass.py": {
193
+ "size": 1604
194
+ },
195
+ "PySDM/backends/__init__.py": {
196
+ "size": 2801
197
+ },
198
+ "PySDM/backends/impl_common/__init__.py": {
199
+ "size": 35
200
+ },
201
+ "PySDM/backends/impl_common/backend_methods.py": {
202
+ "size": 560
203
+ },
204
+ "PySDM/backends/impl_common/freezing_attributes.py": {
205
+ "size": 1253
206
+ },
207
+ "PySDM/backends/impl_common/index.py": {
208
+ "size": 1765
209
+ },
210
+ "PySDM/backends/impl_common/indexed_storage.py": {
211
+ "size": 1723
212
+ },
213
+ "PySDM/backends/impl_common/pair_indicator.py": {
214
+ "size": 567
215
+ },
216
+ "PySDM/backends/impl_common/pairwise_storage.py": {
217
+ "size": 1383
218
+ },
219
+ "PySDM/backends/impl_common/random_common.py": {
220
+ "size": 282
221
+ },
222
+ "PySDM/backends/impl_common/storage_utils.py": {
223
+ "size": 1958
224
+ },
225
+ "PySDM/backends/impl_numba/__init__.py": {
226
+ "size": 34
227
+ },
228
+ "PySDM/backends/impl_numba/atomic_operations.py": {
229
+ "size": 4941
230
+ },
231
+ "PySDM/backends/impl_numba/conf.py": {
232
+ "size": 216
233
+ },
234
+ "PySDM/backends/impl_numba/methods/__init__.py": {
235
+ "size": 716
236
+ },
237
+ "PySDM/backends/impl_numba/methods/chemistry_methods.py": {
238
+ "size": 15451
239
+ },
240
+ "PySDM/backends/impl_numba/methods/collisions_methods.py": {
241
+ "size": 26515
242
+ },
243
+ "PySDM/backends/impl_numba/methods/condensation_methods.py": {
244
+ "size": 25995
245
+ },
246
+ "PySDM/backends/impl_numba/methods/deposition_methods.py": {
247
+ "size": 14180
248
+ },
249
+ "PySDM/backends/impl_numba/methods/displacement_methods.py": {
250
+ "size": 7853
251
+ },
252
+ "PySDM/backends/impl_numba/methods/fragmentation_methods.py": {
253
+ "size": 17127
254
+ },
255
+ "PySDM/backends/impl_numba/methods/freezing_methods.py": {
256
+ "size": 10343
257
+ },
258
+ "PySDM/backends/impl_numba/methods/index_methods.py": {
259
+ "size": 1427
260
+ },
261
+ "PySDM/backends/impl_numba/methods/isotope_methods.py": {
262
+ "size": 805
263
+ },
264
+ "PySDM/backends/impl_numba/methods/moments_methods.py": {
265
+ "size": 5512
266
+ },
267
+ "PySDM/backends/impl_numba/methods/pair_methods.py": {
268
+ "size": 6259
269
+ },
270
+ "PySDM/backends/impl_numba/methods/physics_methods.py": {
271
+ "size": 7092
272
+ },
273
+ "PySDM/backends/impl_numba/methods/seeding_methods.py": {
274
+ "size": 2569
275
+ },
276
+ "PySDM/backends/impl_numba/methods/terminal_velocity_methods.py": {
277
+ "size": 4771
278
+ },
279
+ "PySDM/backends/impl_numba/random.py": {
280
+ "size": 514
281
+ },
282
+ "PySDM/backends/impl_numba/storage.py": {
283
+ "size": 6241
284
+ },
285
+ "PySDM/backends/impl_numba/storage_impl.py": {
286
+ "size": 1957
287
+ },
288
+ "PySDM/backends/impl_numba/test_helpers/__init__.py": {
289
+ "size": 92
290
+ },
291
+ "PySDM/backends/impl_numba/test_helpers/scipy_ode_condensation_solver.py": {
292
+ "size": 10026
293
+ },
294
+ "PySDM/backends/impl_numba/toms748.py": {
295
+ "size": 6393
296
+ },
297
+ "PySDM/backends/impl_numba/warnings.py": {
298
+ "size": 649
299
+ },
300
+ "PySDM/backends/impl_thrust_rtc/__init__.py": {
301
+ "size": 34
302
+ },
303
+ "PySDM/backends/impl_thrust_rtc/bisection.py": {
304
+ "size": 1369
305
+ },
306
+ "PySDM/backends/impl_thrust_rtc/conf.py": {
307
+ "size": 1181
308
+ },
309
+ "PySDM/backends/impl_thrust_rtc/methods/__init__.py": {
310
+ "size": 40
311
+ },
312
+ "PySDM/backends/impl_thrust_rtc/methods/collisions_methods.py": {
313
+ "size": 34305
314
+ },
315
+ "PySDM/backends/impl_thrust_rtc/methods/condensation_methods.py": {
316
+ "size": 19341
317
+ },
318
+ "PySDM/backends/impl_thrust_rtc/methods/displacement_methods.py": {
319
+ "size": 5053
320
+ },
321
+ "PySDM/backends/impl_thrust_rtc/methods/freezing_methods.py": {
322
+ "size": 9369
323
+ },
324
+ "PySDM/backends/impl_thrust_rtc/methods/index_methods.py": {
325
+ "size": 2201
326
+ },
327
+ "PySDM/backends/impl_thrust_rtc/methods/isotope_methods.py": {
328
+ "size": 1209
329
+ },
330
+ "PySDM/backends/impl_thrust_rtc/methods/moments_methods.py": {
331
+ "size": 8006
332
+ },
333
+ "PySDM/backends/impl_thrust_rtc/methods/pair_methods.py": {
334
+ "size": 6997
335
+ },
336
+ "PySDM/backends/impl_thrust_rtc/methods/physics_methods.py": {
337
+ "size": 7329
338
+ },
339
+ "PySDM/backends/impl_thrust_rtc/methods/terminal_velocity_methods.py": {
340
+ "size": 5848
341
+ },
342
+ "PySDM/backends/impl_thrust_rtc/methods/thrust_rtc_backend_methods.py": {
343
+ "size": 811
344
+ },
345
+ "PySDM/backends/impl_thrust_rtc/nice_thrust.py": {
346
+ "size": 472
347
+ },
348
+ "PySDM/backends/impl_thrust_rtc/random.py": {
349
+ "size": 1214
350
+ },
351
+ "PySDM/backends/impl_thrust_rtc/storage.py": {
352
+ "size": 17980
353
+ },
354
+ "PySDM/backends/impl_thrust_rtc/test_helpers/__init__.py": {
355
+ "size": 145
356
+ },
357
+ "PySDM/backends/impl_thrust_rtc/test_helpers/cpp2python.py": {
358
+ "size": 6078
359
+ },
360
+ "PySDM/backends/impl_thrust_rtc/test_helpers/fake_thrust_rtc.py": {
361
+ "size": 7962
362
+ },
363
+ "PySDM/backends/impl_thrust_rtc/test_helpers/flag.py": {
364
+ "size": 170
365
+ },
366
+ "PySDM/backends/numba.py": {
367
+ "size": 4036
368
+ },
369
+ "PySDM/backends/thrust_rtc.py": {
370
+ "size": 2646
371
+ },
372
+ "PySDM/builder.py": {
373
+ "size": 5339
374
+ },
375
+ "PySDM/dynamics/__init__.py": {
376
+ "size": 838
377
+ },
378
+ "PySDM/dynamics/ambient_thermodynamics.py": {
379
+ "size": 353
380
+ },
381
+ "PySDM/dynamics/aqueous_chemistry.py": {
382
+ "size": 4823
383
+ },
384
+ "PySDM/dynamics/collisions/__init__.py": {
385
+ "size": 554
386
+ },
387
+ "PySDM/dynamics/collisions/breakup_efficiencies/__init__.py": {
388
+ "size": 59
389
+ },
390
+ "PySDM/dynamics/collisions/breakup_efficiencies/constEb.py": {
391
+ "size": 313
392
+ },
393
+ "PySDM/dynamics/collisions/breakup_fragmentations/__init__.py": {
394
+ "size": 329
395
+ },
396
+ "PySDM/dynamics/collisions/breakup_fragmentations/always_n.py": {
397
+ "size": 493
398
+ },
399
+ "PySDM/dynamics/collisions/breakup_fragmentations/constant_mass.py": {
400
+ "size": 498
401
+ },
402
+ "PySDM/dynamics/collisions/breakup_fragmentations/expon_frag.py": {
403
+ "size": 306
404
+ },
405
+ "PySDM/dynamics/collisions/breakup_fragmentations/exponential.py": {
406
+ "size": 1157
407
+ },
408
+ "PySDM/dynamics/collisions/breakup_fragmentations/feingold1988.py": {
409
+ "size": 1351
410
+ },
411
+ "PySDM/dynamics/collisions/breakup_fragmentations/gaussian.py": {
412
+ "size": 1170
413
+ },
414
+ "PySDM/dynamics/collisions/breakup_fragmentations/impl/__init__.py": {
415
+ "size": 125
416
+ },
417
+ "PySDM/dynamics/collisions/breakup_fragmentations/impl/volume_based.py": {
418
+ "size": 783
419
+ },
420
+ "PySDM/dynamics/collisions/breakup_fragmentations/lowlist82.py": {
421
+ "size": 4114
422
+ },
423
+ "PySDM/dynamics/collisions/breakup_fragmentations/slams.py": {
424
+ "size": 1226
425
+ },
426
+ "PySDM/dynamics/collisions/breakup_fragmentations/straub2010.py": {
427
+ "size": 3909
428
+ },
429
+ "PySDM/dynamics/collisions/coalescence_efficiencies/__init__.py": {
430
+ "size": 246
431
+ },
432
+ "PySDM/dynamics/collisions/coalescence_efficiencies/_gravitational.py": {
433
+ "size": 484
434
+ },
435
+ "PySDM/dynamics/collisions/coalescence_efficiencies/_parameterized.py": {
436
+ "size": 648
437
+ },
438
+ "PySDM/dynamics/collisions/coalescence_efficiencies/berry1967.py": {
439
+ "size": 353
440
+ },
441
+ "PySDM/dynamics/collisions/coalescence_efficiencies/constEc.py": {
442
+ "size": 287
443
+ },
444
+ "PySDM/dynamics/collisions/coalescence_efficiencies/lowlist1982.py": {
445
+ "size": 3746
446
+ },
447
+ "PySDM/dynamics/collisions/coalescence_efficiencies/specified_eff.py": {
448
+ "size": 578
449
+ },
450
+ "PySDM/dynamics/collisions/coalescence_efficiencies/straub2010.py": {
451
+ "size": 1672
452
+ },
453
+ "PySDM/dynamics/collisions/collision.py": {
454
+ "size": 13359
455
+ },
456
+ "PySDM/dynamics/collisions/collision_kernels/__init__.py": {
457
+ "size": 532
458
+ },
459
+ "PySDM/dynamics/collisions/collision_kernels/constantK.py": {
460
+ "size": 279
461
+ },
462
+ "PySDM/dynamics/collisions/collision_kernels/electric.py": {
463
+ "size": 458
464
+ },
465
+ "PySDM/dynamics/collisions/collision_kernels/geometric.py": {
466
+ "size": 732
467
+ },
468
+ "PySDM/dynamics/collisions/collision_kernels/golovin.py": {
469
+ "size": 1304
470
+ },
471
+ "PySDM/dynamics/collisions/collision_kernels/hydrodynamic.py": {
472
+ "size": 435
473
+ },
474
+ "PySDM/dynamics/collisions/collision_kernels/impl/__init__.py": {
475
+ "size": 53
476
+ },
477
+ "PySDM/dynamics/collisions/collision_kernels/impl/gravitational.py": {
478
+ "size": 528
479
+ },
480
+ "PySDM/dynamics/collisions/collision_kernels/impl/parameterized.py": {
481
+ "size": 974
482
+ },
483
+ "PySDM/dynamics/collisions/collision_kernels/linear.py": {
484
+ "size": 445
485
+ },
486
+ "PySDM/dynamics/collisions/collision_kernels/simple_geometric.py": {
487
+ "size": 842
488
+ },
489
+ "PySDM/dynamics/condensation.py": {
490
+ "size": 4509
491
+ },
492
+ "PySDM/dynamics/displacement.py": {
493
+ "size": 6170
494
+ },
495
+ "PySDM/dynamics/eulerian_advection.py": {
496
+ "size": 682
497
+ },
498
+ "PySDM/dynamics/freezing.py": {
499
+ "size": 3497
500
+ },
501
+ "PySDM/dynamics/impl/__init__.py": {
502
+ "size": 103
503
+ },
504
+ "PySDM/dynamics/impl/chemistry_utils.py": {
505
+ "size": 5243
506
+ },
507
+ "PySDM/dynamics/impl/random_generator_optimizer.py": {
508
+ "size": 1515
509
+ },
510
+ "PySDM/dynamics/impl/random_generator_optimizer_nopair.py": {
511
+ "size": 1059
512
+ },
513
+ "PySDM/dynamics/impl/register_dynamic.py": {
514
+ "size": 497
515
+ },
516
+ "PySDM/dynamics/isotopic_fractionation.py": {
517
+ "size": 1405
518
+ },
519
+ "PySDM/dynamics/relaxed_velocity.py": {
520
+ "size": 3138
521
+ },
522
+ "PySDM/dynamics/seeding.py": {
523
+ "size": 3841
524
+ },
525
+ "PySDM/dynamics/terminal_velocity/__init__.py": {
526
+ "size": 413
527
+ },
528
+ "PySDM/dynamics/terminal_velocity/columnar_ice_crystal.py": {
529
+ "size": 863
530
+ },
531
+ "PySDM/dynamics/terminal_velocity/gunn_and_kinzer.py": {
532
+ "size": 6495
533
+ },
534
+ "PySDM/dynamics/terminal_velocity/power_series.py": {
535
+ "size": 1621
536
+ },
537
+ "PySDM/dynamics/terminal_velocity/rogers_and_yau.py": {
538
+ "size": 437
539
+ },
540
+ "PySDM/dynamics/terminal_velocity/spheres_ice.py": {
541
+ "size": 563
542
+ },
543
+ "PySDM/dynamics/vapour_deposition_on_ice.py": {
544
+ "size": 721
545
+ },
546
+ "PySDM/environments/__init__.py": {
547
+ "size": 246
548
+ },
549
+ "PySDM/environments/box.py": {
550
+ "size": 1095
551
+ },
552
+ "PySDM/environments/impl/__init__.py": {
553
+ "size": 145
554
+ },
555
+ "PySDM/environments/impl/moist.py": {
556
+ "size": 4102
557
+ },
558
+ "PySDM/environments/impl/register_environment.py": {
559
+ "size": 634
560
+ },
561
+ "PySDM/environments/kinematic_1d.py": {
562
+ "size": 3230
563
+ },
564
+ "PySDM/environments/kinematic_2d.py": {
565
+ "size": 3409
566
+ },
567
+ "PySDM/environments/parcel.py": {
568
+ "size": 5070
569
+ },
570
+ "PySDM/exporters/__init__.py": {
571
+ "size": 328
572
+ },
573
+ "PySDM/exporters/netcdf_exporter.py": {
574
+ "size": 4268
575
+ },
576
+ "PySDM/exporters/netcdf_exporter_1d.py": {
577
+ "size": 5212
578
+ },
579
+ "PySDM/exporters/vtk_exporter.py": {
580
+ "size": 5690
581
+ },
582
+ "PySDM/exporters/vtk_exporter_1d.py": {
583
+ "size": 2180
584
+ },
585
+ "PySDM/exporters/vtk_exporter_parcel.py": {
586
+ "size": 5543
587
+ },
588
+ "PySDM/formulae.py": {
589
+ "size": 15549
590
+ },
591
+ "PySDM/impl/__init__.py": {
592
+ "size": 51
593
+ },
594
+ "PySDM/impl/arakawa_c.py": {
595
+ "size": 331
596
+ },
597
+ "PySDM/impl/camel_case.py": {
598
+ "size": 367
599
+ },
600
+ "PySDM/impl/mesh.py": {
601
+ "size": 2839
602
+ },
603
+ "PySDM/impl/null_physics_class.py": {
604
+ "size": 128
605
+ },
606
+ "PySDM/impl/particle_attributes.py": {
607
+ "size": 3702
608
+ },
609
+ "PySDM/impl/particle_attributes_factory.py": {
610
+ "size": 4687
611
+ },
612
+ "PySDM/impl/wall_timer.py": {
613
+ "size": 465
614
+ },
615
+ "PySDM/initialisation/__init__.py": {
616
+ "size": 294
617
+ },
618
+ "PySDM/initialisation/aerosol_composition/__init__.py": {
619
+ "size": 207
620
+ },
621
+ "PySDM/initialisation/aerosol_composition/dry_aerosol.py": {
622
+ "size": 4373
623
+ },
624
+ "PySDM/initialisation/discretise_multiplicities.py": {
625
+ "size": 1040
626
+ },
627
+ "PySDM/initialisation/hygroscopic_equilibrium.py": {
628
+ "size": 6017
629
+ },
630
+ "PySDM/initialisation/impl/__init__.py": {
631
+ "size": 122
632
+ },
633
+ "PySDM/initialisation/impl/spectrum.py": {
634
+ "size": 1138
635
+ },
636
+ "PySDM/initialisation/init_fall_momenta.py": {
637
+ "size": 1429
638
+ },
639
+ "PySDM/initialisation/sampling/__init__.py": {
640
+ "size": 40
641
+ },
642
+ "PySDM/initialisation/sampling/spatial_sampling.py": {
643
+ "size": 1419
644
+ },
645
+ "PySDM/initialisation/sampling/spectral_sampling.py": {
646
+ "size": 4865
647
+ },
648
+ "PySDM/initialisation/sampling/spectro_glacial_sampling.py": {
649
+ "size": 1662
650
+ },
651
+ "PySDM/initialisation/spectra/__init__.py": {
652
+ "size": 309
653
+ },
654
+ "PySDM/initialisation/spectra/exponential.py": {
655
+ "size": 364
656
+ },
657
+ "PySDM/initialisation/spectra/gamma.py": {
658
+ "size": 385
659
+ },
660
+ "PySDM/initialisation/spectra/gaussian.py": {
661
+ "size": 362
662
+ },
663
+ "PySDM/initialisation/spectra/lognormal.py": {
664
+ "size": 1169
665
+ },
666
+ "PySDM/initialisation/spectra/sum.py": {
667
+ "size": 1502
668
+ },
669
+ "PySDM/initialisation/spectra/top_hat.py": {
670
+ "size": 563
671
+ },
672
+ "PySDM/particulator.py": {
673
+ "size": 22151
674
+ },
675
+ "PySDM/physics/__init__.py": {
676
+ "size": 2152
677
+ },
678
+ "PySDM/physics/air_dynamic_viscosity/__init__.py": {
679
+ "size": 88
680
+ },
681
+ "PySDM/physics/air_dynamic_viscosity/zografos_et_al_1987.py": {
682
+ "size": 616
683
+ },
684
+ "PySDM/physics/bulk_phase_partitioning/__init__.py": {
685
+ "size": 160
686
+ },
687
+ "PySDM/physics/bulk_phase_partitioning/kaul_et_al_2015.py": {
688
+ "size": 763
689
+ },
690
+ "PySDM/physics/constants.py": {
691
+ "size": 1475
692
+ },
693
+ "PySDM/physics/constants_defaults.py": {
694
+ "size": 25578
695
+ },
696
+ "PySDM/physics/diffusion_coordinate/__init__.py": {
697
+ "size": 165
698
+ },
699
+ "PySDM/physics/diffusion_coordinate/water_mass.py": {
700
+ "size": 442
701
+ },
702
+ "PySDM/physics/diffusion_coordinate/water_mass_logarithm.py": {
703
+ "size": 563
704
+ },
705
+ "PySDM/physics/diffusion_ice_capacity/__init__.py": {
706
+ "size": 136
707
+ },
708
+ "PySDM/physics/diffusion_ice_capacity/columnar.py": {
709
+ "size": 802
710
+ },
711
+ "PySDM/physics/diffusion_ice_capacity/spherical.py": {
712
+ "size": 310
713
+ },
714
+ "PySDM/physics/diffusion_ice_kinetics/__init__.py": {
715
+ "size": 162
716
+ },
717
+ "PySDM/physics/diffusion_ice_kinetics/neglect.py": {
718
+ "size": 511
719
+ },
720
+ "PySDM/physics/diffusion_ice_kinetics/standard.py": {
721
+ "size": 1059
722
+ },
723
+ "PySDM/physics/diffusion_kinetics/__init__.py": {
724
+ "size": 261
725
+ },
726
+ "PySDM/physics/diffusion_kinetics/fuchs_sutugin.py": {
727
+ "size": 1025
728
+ },
729
+ "PySDM/physics/diffusion_kinetics/grabowski_et_al_2011.py": {
730
+ "size": 197
731
+ },
732
+ "PySDM/physics/diffusion_kinetics/lowe_et_al_2019.py": {
733
+ "size": 661
734
+ },
735
+ "PySDM/physics/diffusion_kinetics/neglect.py": {
736
+ "size": 500
737
+ },
738
+ "PySDM/physics/diffusion_kinetics/pruppacher_and_klett_2005.py": {
739
+ "size": 686
740
+ },
741
+ "PySDM/physics/diffusion_thermics/__init__.py": {
742
+ "size": 279
743
+ },
744
+ "PySDM/physics/diffusion_thermics/grabowski_et_al_2011.py": {
745
+ "size": 732
746
+ },
747
+ "PySDM/physics/diffusion_thermics/lowe_et_al_2019.py": {
748
+ "size": 452
749
+ },
750
+ "PySDM/physics/diffusion_thermics/neglect.py": {
751
+ "size": 312
752
+ },
753
+ "PySDM/physics/diffusion_thermics/seinfeld_and_pandis_2010.py": {
754
+ "size": 316
755
+ },
756
+ "PySDM/physics/diffusion_thermics/tracy_welch_porter.py": {
757
+ "size": 424
758
+ },
759
+ "PySDM/physics/dimensional_analysis.py": {
760
+ "size": 790
761
+ },
762
+ "PySDM/physics/drop_growth/__init__.py": {
763
+ "size": 161
764
+ },
765
+ "PySDM/physics/drop_growth/fick.py": {
766
+ "size": 1018
767
+ },
768
+ "PySDM/physics/drop_growth/howell_1949.py": {
769
+ "size": 1332
770
+ },
771
+ "PySDM/physics/drop_growth/mason_1971.py": {
772
+ "size": 756
773
+ },
774
+ "PySDM/physics/fragmentation_function/__init__.py": {
775
+ "size": 366
776
+ },
777
+ "PySDM/physics/fragmentation_function/always_n.py": {
778
+ "size": 187
779
+ },
780
+ "PySDM/physics/fragmentation_function/constant_mass.py": {
781
+ "size": 197
782
+ },
783
+ "PySDM/physics/fragmentation_function/expon_frag.py": {
784
+ "size": 319
785
+ },
786
+ "PySDM/physics/fragmentation_function/exponential.py": {
787
+ "size": 194
788
+ },
789
+ "PySDM/physics/fragmentation_function/feingold1988.py": {
790
+ "size": 304
791
+ },
792
+ "PySDM/physics/fragmentation_function/gaussian.py": {
793
+ "size": 121
794
+ },
795
+ "PySDM/physics/fragmentation_function/lowlist82.py": {
796
+ "size": 5827
797
+ },
798
+ "PySDM/physics/fragmentation_function/slams.py": {
799
+ "size": 182
800
+ },
801
+ "PySDM/physics/fragmentation_function/straub2010nf.py": {
802
+ "size": 1130
803
+ },
804
+ "PySDM/physics/freezing_temperature_spectrum/__init__.py": {
805
+ "size": 202
806
+ },
807
+ "PySDM/physics/freezing_temperature_spectrum/bigg_1953.py": {
808
+ "size": 742
809
+ },
810
+ "PySDM/physics/freezing_temperature_spectrum/niemand_et_al_2012.py": {
811
+ "size": 1343
812
+ },
813
+ "PySDM/physics/freezing_temperature_spectrum/null.py": {
814
+ "size": 267
815
+ },
816
+ "PySDM/physics/heterogeneous_ice_nucleation_rate/__init__.py": {
817
+ "size": 137
818
+ },
819
+ "PySDM/physics/heterogeneous_ice_nucleation_rate/abifm.py": {
820
+ "size": 450
821
+ },
822
+ "PySDM/physics/heterogeneous_ice_nucleation_rate/constant.py": {
823
+ "size": 309
824
+ },
825
+ "PySDM/physics/heterogeneous_ice_nucleation_rate/null.py": {
826
+ "size": 309
827
+ },
828
+ "PySDM/physics/homogeneous_ice_nucleation_rate/__init__.py": {
829
+ "size": 220
830
+ },
831
+ "PySDM/physics/homogeneous_ice_nucleation_rate/constant.py": {
832
+ "size": 516
833
+ },
834
+ "PySDM/physics/homogeneous_ice_nucleation_rate/koop.py": {
835
+ "size": 931
836
+ },
837
+ "PySDM/physics/homogeneous_ice_nucleation_rate/koop_corr.py": {
838
+ "size": 1147
839
+ },
840
+ "PySDM/physics/homogeneous_ice_nucleation_rate/koop_murray.py": {
841
+ "size": 1179
842
+ },
843
+ "PySDM/physics/homogeneous_ice_nucleation_rate/null.py": {
844
+ "size": 596
845
+ },
846
+ "PySDM/physics/hydrostatics/__init__.py": {
847
+ "size": 231
848
+ },
849
+ "PySDM/physics/hydrostatics/constant_g_vapour_mixing_ratio_and_theta_std.py": {
850
+ "size": 1398
851
+ },
852
+ "PySDM/physics/hydrostatics/variable_g_isothermal.py": {
853
+ "size": 737
854
+ },
855
+ "PySDM/physics/hygroscopicity/__init__.py": {
856
+ "size": 210
857
+ },
858
+ "PySDM/physics/hygroscopicity/kappa_koehler.py": {
859
+ "size": 606
860
+ },
861
+ "PySDM/physics/hygroscopicity/kappa_koehler_leading_terms.py": {
862
+ "size": 711
863
+ },
864
+ "PySDM/physics/impl/__init__.py": {
865
+ "size": 154
866
+ },
867
+ "PySDM/physics/impl/fake_unit_registry.py": {
868
+ "size": 1844
869
+ },
870
+ "PySDM/physics/impl/flag.py": {
871
+ "size": 189
872
+ },
873
+ "PySDM/physics/isotope_diffusivity_ratios/__init__.py": {
874
+ "size": 242
875
+ },
876
+ "PySDM/physics/isotope_diffusivity_ratios/grahams_law.py": {
877
+ "size": 729
878
+ },
879
+ "PySDM/physics/isotope_diffusivity_ratios/hellmann_and_harvey_2020.py": {
880
+ "size": 1400
881
+ },
882
+ "PySDM/physics/isotope_diffusivity_ratios/stewart_1975.py": {
883
+ "size": 1598
884
+ },
885
+ "PySDM/physics/isotope_equilibrium_fractionation_factors/__init__.py": {
886
+ "size": 568
887
+ },
888
+ "PySDM/physics/isotope_equilibrium_fractionation_factors/barkan_and_luz_2005.py": {
889
+ "size": 350
890
+ },
891
+ "PySDM/physics/isotope_equilibrium_fractionation_factors/ellehoj_et_al_2013.py": {
892
+ "size": 480
893
+ },
894
+ "PySDM/physics/isotope_equilibrium_fractionation_factors/horita_and_wesolowski_1994.py": {
895
+ "size": 1018
896
+ },
897
+ "PySDM/physics/isotope_equilibrium_fractionation_factors/lamb_et_al_2017.py": {
898
+ "size": 472
899
+ },
900
+ "PySDM/physics/isotope_equilibrium_fractionation_factors/majoube_1970.py": {
901
+ "size": 550
902
+ },
903
+ "PySDM/physics/isotope_equilibrium_fractionation_factors/majoube_1971.py": {
904
+ "size": 693
905
+ },
906
+ "PySDM/physics/isotope_equilibrium_fractionation_factors/merlivat_and_nief_1967.py": {
907
+ "size": 705
908
+ },
909
+ "PySDM/physics/isotope_equilibrium_fractionation_factors/van_hook_1968.py": {
910
+ "size": 3470
911
+ },
912
+ "PySDM/physics/isotope_kinetic_fractionation_factors/__init__.py": {
913
+ "size": 208
914
+ },
915
+ "PySDM/physics/isotope_kinetic_fractionation_factors/craig_gordon.py": {
916
+ "size": 684
917
+ },
918
+ "PySDM/physics/isotope_kinetic_fractionation_factors/jouzel_and_merlivat_1984.py": {
919
+ "size": 1070
920
+ },
921
+ "PySDM/physics/isotope_meteoric_water_line/__init__.py": {
922
+ "size": 285
923
+ },
924
+ "PySDM/physics/isotope_meteoric_water_line/barkan_and_luz_2007.py": {
925
+ "size": 626
926
+ },
927
+ "PySDM/physics/isotope_meteoric_water_line/dansgaard_1964.py": {
928
+ "size": 651
929
+ },
930
+ "PySDM/physics/isotope_meteoric_water_line/picciotto_et_al_1960.py": {
931
+ "size": 485
932
+ },
933
+ "PySDM/physics/isotope_ratio_evolution/__init__.py": {
934
+ "size": 295
935
+ },
936
+ "PySDM/physics/isotope_ratio_evolution/gedzelman_and_arnold_1994.py": {
937
+ "size": 534
938
+ },
939
+ "PySDM/physics/isotope_ratio_evolution/merlivat_and_jouzel_1979.py": {
940
+ "size": 531
941
+ },
942
+ "PySDM/physics/isotope_ratio_evolution/rayleigh_distillation.py": {
943
+ "size": 342
944
+ },
945
+ "PySDM/physics/isotope_relaxation_timescale/__init__.py": {
946
+ "size": 253
947
+ },
948
+ "PySDM/physics/isotope_relaxation_timescale/bolin_1958.py": {
949
+ "size": 358
950
+ },
951
+ "PySDM/physics/isotope_relaxation_timescale/jouzel_et_al_1975.py": {
952
+ "size": 1078
953
+ },
954
+ "PySDM/physics/isotope_relaxation_timescale/miyake_et_al_1968.py": {
955
+ "size": 888
956
+ },
957
+ "PySDM/physics/isotope_relaxation_timescale/zaba_et_al.py": {
958
+ "size": 636
959
+ },
960
+ "PySDM/physics/isotope_temperature_inference/__init__.py": {
961
+ "size": 251
962
+ },
963
+ "PySDM/physics/isotope_temperature_inference/picciotto_et_al_1960.py": {
964
+ "size": 574
965
+ },
966
+ "PySDM/physics/isotope_ventilation_ratio/__init__.py": {
967
+ "size": 168
968
+ },
969
+ "PySDM/physics/isotope_ventilation_ratio/brutsaert_1982.py": {
970
+ "size": 598
971
+ },
972
+ "PySDM/physics/isotope_ventilation_ratio/neglect.py": {
973
+ "size": 302
974
+ },
975
+ "PySDM/physics/latent_heat_sublimation/__init__.py": {
976
+ "size": 138
977
+ },
978
+ "PySDM/physics/latent_heat_sublimation/murphy_koop_2005.py": {
979
+ "size": 481
980
+ },
981
+ "PySDM/physics/latent_heat_vapourisation/__init__.py": {
982
+ "size": 185
983
+ },
984
+ "PySDM/physics/latent_heat_vapourisation/constant.py": {
985
+ "size": 263
986
+ },
987
+ "PySDM/physics/latent_heat_vapourisation/kirchhoff.py": {
988
+ "size": 384
989
+ },
990
+ "PySDM/physics/latent_heat_vapourisation/lowe2019.py": {
991
+ "size": 582
992
+ },
993
+ "PySDM/physics/latent_heat_vapourisation/seinfeld_and_pandis_2010.py": {
994
+ "size": 316
995
+ },
996
+ "PySDM/physics/optical_albedo/__init__.py": {
997
+ "size": 132
998
+ },
999
+ "PySDM/physics/optical_albedo/bohren1987.py": {
1000
+ "size": 342
1001
+ },
1002
+ "PySDM/physics/optical_depth/__init__.py": {
1003
+ "size": 138
1004
+ },
1005
+ "PySDM/physics/optical_depth/stephens_1978.py": {
1006
+ "size": 380
1007
+ },
1008
+ "PySDM/physics/particle_advection/__init__.py": {
1009
+ "size": 169
1010
+ },
1011
+ "PySDM/physics/particle_advection/explicit_in_space.py": {
1012
+ "size": 293
1013
+ },
1014
+ "PySDM/physics/particle_advection/implicit_in_space.py": {
1015
+ "size": 352
1016
+ },
1017
+ "PySDM/physics/particle_shape_and_density/__init__.py": {
1018
+ "size": 226
1019
+ },
1020
+ "PySDM/physics/particle_shape_and_density/columnar_ice.py": {
1021
+ "size": 1498
1022
+ },
1023
+ "PySDM/physics/particle_shape_and_density/liquid_spheres.py": {
1024
+ "size": 1278
1025
+ },
1026
+ "PySDM/physics/particle_shape_and_density/mixed_phase_spheres.py": {
1027
+ "size": 1400
1028
+ },
1029
+ "PySDM/physics/particle_shape_and_density/porous_spheroids.py": {
1030
+ "size": 861
1031
+ },
1032
+ "PySDM/physics/saturation_vapour_pressure/__init__.py": {
1033
+ "size": 352
1034
+ },
1035
+ "PySDM/physics/saturation_vapour_pressure/august_roche_magnus.py": {
1036
+ "size": 609
1037
+ },
1038
+ "PySDM/physics/saturation_vapour_pressure/bolton_1980.py": {
1039
+ "size": 597
1040
+ },
1041
+ "PySDM/physics/saturation_vapour_pressure/flatau_walko_cotton.py": {
1042
+ "size": 1908
1043
+ },
1044
+ "PySDM/physics/saturation_vapour_pressure/lowe1977.py": {
1045
+ "size": 1307
1046
+ },
1047
+ "PySDM/physics/saturation_vapour_pressure/murphy_koop_2005.py": {
1048
+ "size": 1059
1049
+ },
1050
+ "PySDM/physics/saturation_vapour_pressure/wexler_1976.py": {
1051
+ "size": 778
1052
+ },
1053
+ "PySDM/physics/state_variable_triplet/__init__.py": {
1054
+ "size": 113
1055
+ },
1056
+ "PySDM/physics/state_variable_triplet/libcloudphplusplus.py": {
1057
+ "size": 1895
1058
+ },
1059
+ "PySDM/physics/surface_tension/__init__.py": {
1060
+ "size": 250
1061
+ },
1062
+ "PySDM/physics/surface_tension/compressed_film_ovadnevaite.py": {
1063
+ "size": 1479
1064
+ },
1065
+ "PySDM/physics/surface_tension/compressed_film_ruehl.py": {
1066
+ "size": 3599
1067
+ },
1068
+ "PySDM/physics/surface_tension/constant.py": {
1069
+ "size": 447
1070
+ },
1071
+ "PySDM/physics/surface_tension/szyszkowski_langmuir.py": {
1072
+ "size": 2529
1073
+ },
1074
+ "PySDM/physics/terminal_velocity/__init__.py": {
1075
+ "size": 171
1076
+ },
1077
+ "PySDM/physics/terminal_velocity/gunn_kinzer_1949.py": {
1078
+ "size": 202
1079
+ },
1080
+ "PySDM/physics/terminal_velocity/power_series.py": {
1081
+ "size": 134
1082
+ },
1083
+ "PySDM/physics/terminal_velocity/rogers_yau.py": {
1084
+ "size": 690
1085
+ },
1086
+ "PySDM/physics/terminal_velocity_ice/__init__.py": {
1087
+ "size": 140
1088
+ },
1089
+ "PySDM/physics/terminal_velocity_ice/columnar_ice_crystal.py": {
1090
+ "size": 1617
1091
+ },
1092
+ "PySDM/physics/terminal_velocity_ice/spheres_ice.py": {
1093
+ "size": 582
1094
+ },
1095
+ "PySDM/physics/trivia.py": {
1096
+ "size": 8125
1097
+ },
1098
+ "PySDM/physics/ventilation/__init__.py": {
1099
+ "size": 181
1100
+ },
1101
+ "PySDM/physics/ventilation/froessling_1938.py": {
1102
+ "size": 414
1103
+ },
1104
+ "PySDM/physics/ventilation/neglect.py": {
1105
+ "size": 330
1106
+ },
1107
+ "PySDM/physics/ventilation/pruppacher_rasmussen_1979.py": {
1108
+ "size": 1474
1109
+ },
1110
+ "PySDM/products/__init__.py": {
1111
+ "size": 314
1112
+ },
1113
+ "PySDM/products/ambient_thermodynamics/__init__.py": {
1114
+ "size": 477
1115
+ },
1116
+ "PySDM/products/ambient_thermodynamics/ambient_dry_air_density.py": {
1117
+ "size": 300
1118
+ },
1119
+ "PySDM/products/ambient_thermodynamics/ambient_dry_air_potential_temperature.py": {
1120
+ "size": 362
1121
+ },
1122
+ "PySDM/products/ambient_thermodynamics/ambient_pressure.py": {
1123
+ "size": 282
1124
+ },
1125
+ "PySDM/products/ambient_thermodynamics/ambient_relative_humidity.py": {
1126
+ "size": 620
1127
+ },
1128
+ "PySDM/products/ambient_thermodynamics/ambient_temperature.py": {
1129
+ "size": 287
1130
+ },
1131
+ "PySDM/products/ambient_thermodynamics/ambient_water_vapour_mixing_ratio.py": {
1132
+ "size": 367
1133
+ },
1134
+ "PySDM/products/aqueous_chemistry/__init__.py": {
1135
+ "size": 354
1136
+ },
1137
+ "PySDM/products/aqueous_chemistry/acidity.py": {
1138
+ "size": 1589
1139
+ },
1140
+ "PySDM/products/aqueous_chemistry/aqueous_mass_spectrum.py": {
1141
+ "size": 2540
1142
+ },
1143
+ "PySDM/products/aqueous_chemistry/aqueous_mole_fraction.py": {
1144
+ "size": 1194
1145
+ },
1146
+ "PySDM/products/aqueous_chemistry/gaseous_mole_fraction.py": {
1147
+ "size": 890
1148
+ },
1149
+ "PySDM/products/aqueous_chemistry/total_dry_mass_mixing_ratio.py": {
1150
+ "size": 824
1151
+ },
1152
+ "PySDM/products/collision/__init__.py": {
1153
+ "size": 442
1154
+ },
1155
+ "PySDM/products/collision/collision_rates.py": {
1156
+ "size": 1501
1157
+ },
1158
+ "PySDM/products/collision/collision_timestep_mean.py": {
1159
+ "size": 1285
1160
+ },
1161
+ "PySDM/products/collision/collision_timestep_min.py": {
1162
+ "size": 822
1163
+ },
1164
+ "PySDM/products/condensation/__init__.py": {
1165
+ "size": 336
1166
+ },
1167
+ "PySDM/products/condensation/activable_fraction.py": {
1168
+ "size": 1301
1169
+ },
1170
+ "PySDM/products/condensation/condensation_timestep.py": {
1171
+ "size": 1907
1172
+ },
1173
+ "PySDM/products/condensation/event_rates.py": {
1174
+ "size": 1902
1175
+ },
1176
+ "PySDM/products/condensation/peak_saturation.py": {
1177
+ "size": 1289
1178
+ },
1179
+ "PySDM/products/displacement/__init__.py": {
1180
+ "size": 315
1181
+ },
1182
+ "PySDM/products/displacement/averaged_terminal_velocity.py": {
1183
+ "size": 1195
1184
+ },
1185
+ "PySDM/products/displacement/flow_velocity_component.py": {
1186
+ "size": 1315
1187
+ },
1188
+ "PySDM/products/displacement/max_courant_number.py": {
1189
+ "size": 985
1190
+ },
1191
+ "PySDM/products/displacement/surface_precipitation.py": {
1192
+ "size": 1464
1193
+ },
1194
+ "PySDM/products/freezing/__init__.py": {
1195
+ "size": 503
1196
+ },
1197
+ "PySDM/products/freezing/cooling_rate.py": {
1198
+ "size": 498
1199
+ },
1200
+ "PySDM/products/freezing/freezable_specific_concentration.py": {
1201
+ "size": 1566
1202
+ },
1203
+ "PySDM/products/freezing/frozen_particle_concentration.py": {
1204
+ "size": 1497
1205
+ },
1206
+ "PySDM/products/freezing/ice_nuclei_concentration.py": {
1207
+ "size": 1361
1208
+ },
1209
+ "PySDM/products/freezing/total_unfrozen_immersed_surface_area.py": {
1210
+ "size": 767
1211
+ },
1212
+ "PySDM/products/housekeeping/__init__.py": {
1213
+ "size": 261
1214
+ },
1215
+ "PySDM/products/housekeeping/dynamic_wall_time.py": {
1216
+ "size": 673
1217
+ },
1218
+ "PySDM/products/housekeeping/super_droplet_count_per_gridbox.py": {
1219
+ "size": 1026
1220
+ },
1221
+ "PySDM/products/housekeeping/time.py": {
1222
+ "size": 487
1223
+ },
1224
+ "PySDM/products/housekeeping/timers.py": {
1225
+ "size": 1135
1226
+ },
1227
+ "PySDM/products/impl/__init__.py": {
1228
+ "size": 612
1229
+ },
1230
+ "PySDM/products/impl/activation_filtered_product.py": {
1231
+ "size": 828
1232
+ },
1233
+ "PySDM/products/impl/concentration_product.py": {
1234
+ "size": 1505
1235
+ },
1236
+ "PySDM/products/impl/moist_environment_product.py": {
1237
+ "size": 889
1238
+ },
1239
+ "PySDM/products/impl/moment_product.py": {
1240
+ "size": 1488
1241
+ },
1242
+ "PySDM/products/impl/product.py": {
1243
+ "size": 3247
1244
+ },
1245
+ "PySDM/products/impl/rate_product.py": {
1246
+ "size": 1099
1247
+ },
1248
+ "PySDM/products/impl/register_product.py": {
1249
+ "size": 524
1250
+ },
1251
+ "PySDM/products/impl/spectrum_moment_product.py": {
1252
+ "size": 1670
1253
+ },
1254
+ "PySDM/products/optical/__init__.py": {
1255
+ "size": 121
1256
+ },
1257
+ "PySDM/products/optical/cloud_albedo.py": {
1258
+ "size": 345
1259
+ },
1260
+ "PySDM/products/optical/cloud_optical_depth.py": {
1261
+ "size": 421
1262
+ },
1263
+ "PySDM/products/parcel/__init__.py": {
1264
+ "size": 155
1265
+ },
1266
+ "PySDM/products/parcel/cloud_water_path.py": {
1267
+ "size": 1798
1268
+ },
1269
+ "PySDM/products/parcel/parcel_displacement.py": {
1270
+ "size": 683
1271
+ },
1272
+ "PySDM/products/size_spectral/__init__.py": {
1273
+ "size": 1600
1274
+ },
1275
+ "PySDM/products/size_spectral/arbitrary_moment.py": {
1276
+ "size": 1972
1277
+ },
1278
+ "PySDM/products/size_spectral/cloud_water_content.py": {
1279
+ "size": 2857
1280
+ },
1281
+ "PySDM/products/size_spectral/effective_radius.py": {
1282
+ "size": 1901
1283
+ },
1284
+ "PySDM/products/size_spectral/effective_radius_activated.py": {
1285
+ "size": 1326
1286
+ },
1287
+ "PySDM/products/size_spectral/mean_radius.py": {
1288
+ "size": 1130
1289
+ },
1290
+ "PySDM/products/size_spectral/mean_radius_activated.py": {
1291
+ "size": 945
1292
+ },
1293
+ "PySDM/products/size_spectral/mean_volume_radius.py": {
1294
+ "size": 909
1295
+ },
1296
+ "PySDM/products/size_spectral/number_size_spectrum.py": {
1297
+ "size": 1436
1298
+ },
1299
+ "PySDM/products/size_spectral/particle_concentration.py": {
1300
+ "size": 1413
1301
+ },
1302
+ "PySDM/products/size_spectral/particle_concentration_activated.py": {
1303
+ "size": 1554
1304
+ },
1305
+ "PySDM/products/size_spectral/particle_size_spectrum.py": {
1306
+ "size": 3216
1307
+ },
1308
+ "PySDM/products/size_spectral/particle_volume_versus_radius_logarithm_spectrum.py": {
1309
+ "size": 1725
1310
+ },
1311
+ "PySDM/products/size_spectral/radius_binned_number_averaged_terminal_velocity.py": {
1312
+ "size": 1372
1313
+ },
1314
+ "PySDM/products/size_spectral/size_standard_deviation.py": {
1315
+ "size": 2173
1316
+ },
1317
+ "PySDM/products/size_spectral/total_particle_concentration.py": {
1318
+ "size": 470
1319
+ },
1320
+ "PySDM/products/size_spectral/total_particle_specific_concentration.py": {
1321
+ "size": 476
1322
+ },
1323
+ "PySDM/products/size_spectral/water_mixing_ratio.py": {
1324
+ "size": 1483
1325
+ },
1326
+ "README.md": {
1327
+ "size": 14547
1328
+ },
1329
+ "docs/bibliography.json": {
1330
+ "size": 47413
1331
+ },
1332
+ "docs/generate_html.py": {
1333
+ "size": 5430
1334
+ },
1335
+ "docs/markdown/pysdm_landing.md": {
1336
+ "size": 31335
1337
+ },
1338
+ "docs/templates/README.md": {
1339
+ "size": 83
1340
+ },
1341
+ "examples/PySDM_examples/Abade_and_Albuquerque_2024/__init__.py": {
1342
+ "size": 279
1343
+ },
1344
+ "examples/PySDM_examples/Abade_and_Albuquerque_2024/settings.py": {
1345
+ "size": 2077
1346
+ },
1347
+ "examples/PySDM_examples/Abade_and_Albuquerque_2024/simulation.py": {
1348
+ "size": 4032
1349
+ },
1350
+ "examples/PySDM_examples/Abdul_Razzak_Ghan_2000/__init__.py": {
1351
+ "size": 311
1352
+ },
1353
+ "examples/PySDM_examples/Abdul_Razzak_Ghan_2000/aerosol.py": {
1354
+ "size": 3405
1355
+ },
1356
+ "examples/PySDM_examples/Abdul_Razzak_Ghan_2000/data_from_ARG2000_paper.py": {
1357
+ "size": 11585
1358
+ },
1359
+ "examples/PySDM_examples/Abdul_Razzak_Ghan_2000/data_from_CloudMicrophysics_ARG.py": {
1360
+ "size": 11547
1361
+ },
1362
+ "examples/PySDM_examples/Abdul_Razzak_Ghan_2000/run_ARG_parcel.py": {
1363
+ "size": 5500
1364
+ },
1365
+ "examples/PySDM_examples/Alpert_and_Knopf_2016/__init__.py": {
1366
+ "size": 519
1367
+ },
1368
+ "examples/PySDM_examples/Alpert_and_Knopf_2016/simulation.py": {
1369
+ "size": 10169
1370
+ },
1371
+ "examples/PySDM_examples/Alpert_and_Knopf_2016/table.py": {
1372
+ "size": 228
1373
+ },
1374
+ "examples/PySDM_examples/Alpert_and_Knopf_2016/table_1.py": {
1375
+ "size": 3791
1376
+ },
1377
+ "examples/PySDM_examples/Alpert_and_Knopf_2016/table_2.py": {
1378
+ "size": 1857
1379
+ },
1380
+ "examples/PySDM_examples/Arabas_and_Shima_2017/__init__.py": {
1381
+ "size": 237
1382
+ },
1383
+ "examples/PySDM_examples/Arabas_and_Shima_2017/example.py": {
1384
+ "size": 253
1385
+ },
1386
+ "examples/PySDM_examples/Arabas_and_Shima_2017/settings.py": {
1387
+ "size": 2370
1388
+ },
1389
+ "examples/PySDM_examples/Arabas_and_Shima_2017/simulation.py": {
1390
+ "size": 4162
1391
+ },
1392
+ "examples/PySDM_examples/Arabas_et_al_2015/__init__.py": {
1393
+ "size": 291
1394
+ },
1395
+ "examples/PySDM_examples/Arabas_et_al_2015/example.py": {
1396
+ "size": 826
1397
+ },
1398
+ "examples/PySDM_examples/Arabas_et_al_2015/example_benchmark.py": {
1399
+ "size": 2367
1400
+ },
1401
+ "examples/PySDM_examples/Arabas_et_al_2015/settings.py": {
1402
+ "size": 1028
1403
+ },
1404
+ "examples/PySDM_examples/Arabas_et_al_2015/spin_up.py": {
1405
+ "size": 736
1406
+ },
1407
+ "examples/PySDM_examples/Arabas_et_al_2025/__init__.py": {
1408
+ "size": 770
1409
+ },
1410
+ "examples/PySDM_examples/Arabas_et_al_2025/commons.py": {
1411
+ "size": 662
1412
+ },
1413
+ "examples/PySDM_examples/Arabas_et_al_2025/curved_text.py": {
1414
+ "size": 5338
1415
+ },
1416
+ "examples/PySDM_examples/Arabas_et_al_2025/frozen_fraction.py": {
1417
+ "size": 783
1418
+ },
1419
+ "examples/PySDM_examples/Arabas_et_al_2025/make_particulator.py": {
1420
+ "size": 2436
1421
+ },
1422
+ "examples/PySDM_examples/Arabas_et_al_2025/plots.py": {
1423
+ "size": 5031
1424
+ },
1425
+ "examples/PySDM_examples/Arabas_et_al_2025/run_simulation.py": {
1426
+ "size": 1281
1427
+ },
1428
+ "examples/PySDM_examples/Bartman_2020_MasterThesis/__init__.py": {
1429
+ "size": 136
1430
+ },
1431
+ "examples/PySDM_examples/Bartman_2020_MasterThesis/fig_4_adaptive_sdm.py": {
1432
+ "size": 2376
1433
+ },
1434
+ "examples/PySDM_examples/Bartman_2020_MasterThesis/fig_5_SCIPY_VS_ADAPTIVE.py": {
1435
+ "size": 4237
1436
+ },
1437
+ "examples/PySDM_examples/Bartman_et_al_2021/__init__.py": {
1438
+ "size": 255
1439
+ },
1440
+ "examples/PySDM_examples/Bartman_et_al_2021/label.py": {
1441
+ "size": 523
1442
+ },
1443
+ "examples/PySDM_examples/Berry_1967/__init__.py": {
1444
+ "size": 248
1445
+ },
1446
+ "examples/PySDM_examples/Berry_1967/example.py": {
1447
+ "size": 2506
1448
+ },
1449
+ "examples/PySDM_examples/Berry_1967/example_fig_6.py": {
1450
+ "size": 3101
1451
+ },
1452
+ "examples/PySDM_examples/Berry_1967/settings.py": {
1453
+ "size": 1617
1454
+ },
1455
+ "examples/PySDM_examples/Berry_1967/spectrum_plotter.py": {
1456
+ "size": 1105
1457
+ },
1458
+ "examples/PySDM_examples/Bieli_et_al_2022/__init__.py": {
1459
+ "size": 205
1460
+ },
1461
+ "examples/PySDM_examples/Bieli_et_al_2022/settings.py": {
1462
+ "size": 1679
1463
+ },
1464
+ "examples/PySDM_examples/Bieli_et_al_2022/simulation.py": {
1465
+ "size": 1338
1466
+ },
1467
+ "examples/PySDM_examples/Bolin_1958/__init__.py": {
1468
+ "size": 175
1469
+ },
1470
+ "examples/PySDM_examples/Bolot_et_al_2013/__init__.py": {
1471
+ "size": 187
1472
+ },
1473
+ "examples/PySDM_examples/Bulenok_2023_MasterThesis/__init__.py": {
1474
+ "size": 164
1475
+ },
1476
+ "examples/PySDM_examples/Bulenok_2023_MasterThesis/performance_comparison_Srivastava_Setup.py": {
1477
+ "size": 7272
1478
+ },
1479
+ "examples/PySDM_examples/Bulenok_2023_MasterThesis/setups.py": {
1480
+ "size": 3424
1481
+ },
1482
+ "examples/PySDM_examples/Bulenok_2023_MasterThesis/utils.py": {
1483
+ "size": 7825
1484
+ },
1485
+ "examples/PySDM_examples/Ervens_and_Feingold_2012/__init__.py": {
1486
+ "size": 159
1487
+ },
1488
+ "examples/PySDM_examples/Ervens_and_Feingold_2012/settings.py": {
1489
+ "size": 456
1490
+ },
1491
+ "examples/PySDM_examples/Fisher_1991/__init__.py": {
1492
+ "size": 380
1493
+ },
1494
+ "examples/PySDM_examples/Gedzelman_and_Arnold_1994/__init__.py": {
1495
+ "size": 303
1496
+ },
1497
+ "examples/PySDM_examples/Gonfiantini_1986/__init__.py": {
1498
+ "size": 312
1499
+ },
1500
+ "examples/PySDM_examples/Grabowski_and_Pawlowska_2023/__init__.py": {
1501
+ "size": 534
1502
+ },
1503
+ "examples/PySDM_examples/Grabowski_and_Pawlowska_2023/settings.py": {
1504
+ "size": 3231
1505
+ },
1506
+ "examples/PySDM_examples/Grabowski_and_Pawlowska_2023/simulation.py": {
1507
+ "size": 4608
1508
+ },
1509
+ "examples/PySDM_examples/Graf_et_al_2019/__init__.py": {
1510
+ "size": 252
1511
+ },
1512
+ "examples/PySDM_examples/Jaruga_and_Pawlowska_2018/__init__.py": {
1513
+ "size": 263
1514
+ },
1515
+ "examples/PySDM_examples/Jensen_and_Nugent_2017/__init__.py": {
1516
+ "size": 478
1517
+ },
1518
+ "examples/PySDM_examples/Jensen_and_Nugent_2017/plotting.py": {
1519
+ "size": 3605
1520
+ },
1521
+ "examples/PySDM_examples/Jensen_and_Nugent_2017/settings.py": {
1522
+ "size": 2245
1523
+ },
1524
+ "examples/PySDM_examples/Jensen_and_Nugent_2017/simulation.py": {
1525
+ "size": 4869
1526
+ },
1527
+ "examples/PySDM_examples/Jensen_and_Nugent_2017/table_3.py": {
1528
+ "size": 952
1529
+ },
1530
+ "examples/PySDM_examples/Jouzel_and_Merlivat_1984/__init__.py": {
1531
+ "size": 335
1532
+ },
1533
+ "examples/PySDM_examples/Jouzel_and_Merlivat_1984/thermodynamic_profiles.py": {
1534
+ "size": 928
1535
+ },
1536
+ "examples/PySDM_examples/Kinzer_And_Gunn_1951/__init__.py": {
1537
+ "size": 118
1538
+ },
1539
+ "examples/PySDM_examples/Kinzer_And_Gunn_1951/table_1_and_2.py": {
1540
+ "size": 3130
1541
+ },
1542
+ "examples/PySDM_examples/Kreidenweis_et_al_2003/__init__.py": {
1543
+ "size": 276
1544
+ },
1545
+ "examples/PySDM_examples/Kreidenweis_et_al_2003/settings.py": {
1546
+ "size": 2988
1547
+ },
1548
+ "examples/PySDM_examples/Kreidenweis_et_al_2003/simulation.py": {
1549
+ "size": 4759
1550
+ },
1551
+ "examples/PySDM_examples/Lamb_et_al_2017/__init__.py": {
1552
+ "size": 235
1553
+ },
1554
+ "examples/PySDM_examples/Lowe_et_al_2019/__init__.py": {
1555
+ "size": 442
1556
+ },
1557
+ "examples/PySDM_examples/Lowe_et_al_2019/aerosol.py": {
1558
+ "size": 6827
1559
+ },
1560
+ "examples/PySDM_examples/Lowe_et_al_2019/aerosol_code.py": {
1561
+ "size": 9666
1562
+ },
1563
+ "examples/PySDM_examples/Lowe_et_al_2019/constants_def.py": {
1564
+ "size": 480
1565
+ },
1566
+ "examples/PySDM_examples/Lowe_et_al_2019/plot_helper.py": {
1567
+ "size": 6427
1568
+ },
1569
+ "examples/PySDM_examples/Lowe_et_al_2019/settings.py": {
1570
+ "size": 2651
1571
+ },
1572
+ "examples/PySDM_examples/Lowe_et_al_2019/simulation.py": {
1573
+ "size": 5834
1574
+ },
1575
+ "examples/PySDM_examples/Matsushima_et_al_2023/__init__.py": {
1576
+ "size": 181
1577
+ },
1578
+ "examples/PySDM_examples/Merlivat_and_Nief_1967/__init__.py": {
1579
+ "size": 178
1580
+ },
1581
+ "examples/PySDM_examples/Miyake_et_al_1968/__init__.py": {
1582
+ "size": 202
1583
+ },
1584
+ "examples/PySDM_examples/Morrison_and_Grabowski_2007/__init__.py": {
1585
+ "size": 203
1586
+ },
1587
+ "examples/PySDM_examples/Morrison_and_Grabowski_2007/common.py": {
1588
+ "size": 5227
1589
+ },
1590
+ "examples/PySDM_examples/Morrison_and_Grabowski_2007/strato_cumulus.py": {
1591
+ "size": 1096
1592
+ },
1593
+ "examples/PySDM_examples/Niedermeier_et_al_2014/__init__.py": {
1594
+ "size": 199
1595
+ },
1596
+ "examples/PySDM_examples/Niedermeier_et_al_2014/settings.py": {
1597
+ "size": 1557
1598
+ },
1599
+ "examples/PySDM_examples/Niedermeier_et_al_2014/simulation.py": {
1600
+ "size": 3596
1601
+ },
1602
+ "examples/PySDM_examples/Pierchala_et_al_2022/__init__.py": {
1603
+ "size": 242
1604
+ },
1605
+ "examples/PySDM_examples/Pierchala_et_al_2022/commons.py": {
1606
+ "size": 1021
1607
+ },
1608
+ "examples/PySDM_examples/Pruppacher_and_Rasmussen_1979/__init__.py": {
1609
+ "size": 220
1610
+ },
1611
+ "examples/PySDM_examples/Pyrcel/__init__.py": {
1612
+ "size": 283
1613
+ },
1614
+ "examples/PySDM_examples/Pyrcel/profile_plotter.py": {
1615
+ "size": 2354
1616
+ },
1617
+ "examples/PySDM_examples/Pyrcel/settings.py": {
1618
+ "size": 2090
1619
+ },
1620
+ "examples/PySDM_examples/Pyrcel/simulation.py": {
1621
+ "size": 4229
1622
+ },
1623
+ "examples/PySDM_examples/Rogers_1975/__init__.py": {
1624
+ "size": 171
1625
+ },
1626
+ "examples/PySDM_examples/Rozanski_and_Sonntag_1982/__init__.py": {
1627
+ "size": 260
1628
+ },
1629
+ "examples/PySDM_examples/Rozanski_and_Sonntag_1982/multibox.py": {
1630
+ "size": 3594
1631
+ },
1632
+ "examples/PySDM_examples/Shima_et_al_2009/__init__.py": {
1633
+ "size": 234
1634
+ },
1635
+ "examples/PySDM_examples/Shima_et_al_2009/error_measure.py": {
1636
+ "size": 222
1637
+ },
1638
+ "examples/PySDM_examples/Shima_et_al_2009/example.py": {
1639
+ "size": 2396
1640
+ },
1641
+ "examples/PySDM_examples/Shima_et_al_2009/example_timing.py": {
1642
+ "size": 1844
1643
+ },
1644
+ "examples/PySDM_examples/Shima_et_al_2009/settings.py": {
1645
+ "size": 1176
1646
+ },
1647
+ "examples/PySDM_examples/Shima_et_al_2009/spectrum_plotter.py": {
1648
+ "size": 5622
1649
+ },
1650
+ "examples/PySDM_examples/Shima_et_al_2009/tutorial_example.py": {
1651
+ "size": 1677
1652
+ },
1653
+ "examples/PySDM_examples/Shima_et_al_2009/tutorial_plotter.py": {
1654
+ "size": 4190
1655
+ },
1656
+ "examples/PySDM_examples/Shima_et_al_2009/tutorial_settings.py": {
1657
+ "size": 1176
1658
+ },
1659
+ "examples/PySDM_examples/Shipway_and_Hill_2012/__init__.py": {
1660
+ "size": 298
1661
+ },
1662
+ "examples/PySDM_examples/Shipway_and_Hill_2012/mpdata_1d.py": {
1663
+ "size": 2341
1664
+ },
1665
+ "examples/PySDM_examples/Shipway_and_Hill_2012/plot.py": {
1666
+ "size": 3606
1667
+ },
1668
+ "examples/PySDM_examples/Shipway_and_Hill_2012/settings.py": {
1669
+ "size": 6404
1670
+ },
1671
+ "examples/PySDM_examples/Shipway_and_Hill_2012/simulation.py": {
1672
+ "size": 10338
1673
+ },
1674
+ "examples/PySDM_examples/Singer_Ward/__init__.py": {
1675
+ "size": 161
1676
+ },
1677
+ "examples/PySDM_examples/Singer_Ward/aerosol.py": {
1678
+ "size": 5805
1679
+ },
1680
+ "examples/PySDM_examples/Spichtinger_et_al_2023/__init__.py": {
1681
+ "size": 231
1682
+ },
1683
+ "examples/PySDM_examples/Spichtinger_et_al_2023/data/__init__.py": {
1684
+ "size": 0
1685
+ },
1686
+ "examples/PySDM_examples/Spichtinger_et_al_2023/data/reference_bulk.py": {
1687
+ "size": 1540
1688
+ },
1689
+ "examples/PySDM_examples/Spichtinger_et_al_2023/data/simulation_data.py": {
1690
+ "size": 782
1691
+ },
1692
+ "examples/PySDM_examples/Spichtinger_et_al_2023/settings.py": {
1693
+ "size": 2001
1694
+ },
1695
+ "examples/PySDM_examples/Spichtinger_et_al_2023/simulation.py": {
1696
+ "size": 3737
1697
+ },
1698
+ "examples/PySDM_examples/Srivastava_1982/__init__.py": {
1699
+ "size": 564
1700
+ },
1701
+ "examples/PySDM_examples/Srivastava_1982/equations.py": {
1702
+ "size": 3251
1703
+ },
1704
+ "examples/PySDM_examples/Srivastava_1982/example.py": {
1705
+ "size": 8576
1706
+ },
1707
+ "examples/PySDM_examples/Srivastava_1982/settings.py": {
1708
+ "size": 2275
1709
+ },
1710
+ "examples/PySDM_examples/Srivastava_1982/simulation.py": {
1711
+ "size": 3039
1712
+ },
1713
+ "examples/PySDM_examples/Stewart_1975/__init__.py": {
1714
+ "size": 140
1715
+ },
1716
+ "examples/PySDM_examples/Strzabala_2025_BEng/__init__.py": {
1717
+ "size": 240
1718
+ },
1719
+ "examples/PySDM_examples/Strzabala_2025_BEng/paraview_parcel_model.py": {
1720
+ "size": 7598
1721
+ },
1722
+ "examples/PySDM_examples/Toon_et_al_1980/__init__.py": {
1723
+ "size": 0
1724
+ },
1725
+ "examples/PySDM_examples/Van_Hook_1968/__init__.py": {
1726
+ "size": 170
1727
+ },
1728
+ "examples/PySDM_examples/Ware_et_al_2025/__init__.py": {
1729
+ "size": 196
1730
+ },
1731
+ "examples/PySDM_examples/Yang_et_al_2018/__init__.py": {
1732
+ "size": 278
1733
+ },
1734
+ "examples/PySDM_examples/Yang_et_al_2018/settings.py": {
1735
+ "size": 2278
1736
+ },
1737
+ "examples/PySDM_examples/Yang_et_al_2018/simulation.py": {
1738
+ "size": 4368
1739
+ },
1740
+ "examples/PySDM_examples/Zaba_et_al/__init__.py": {
1741
+ "size": 183
1742
+ },
1743
+ "examples/PySDM_examples/_HOWTOs/__init__.py": {
1744
+ "size": 169
1745
+ },
1746
+ "examples/PySDM_examples/__init__.py": {
1747
+ "size": 284
1748
+ },
1749
+ "examples/PySDM_examples/deJong_Azimi/__init__.py": {
1750
+ "size": 376
1751
+ },
1752
+ "examples/PySDM_examples/deJong_Azimi/cloudy_data.py": {
1753
+ "size": 11258
1754
+ },
1755
+ "examples/PySDM_examples/deJong_Azimi/cloudy_data_0d.py": {
1756
+ "size": 12260
1757
+ },
1758
+ "examples/PySDM_examples/deJong_Azimi/settings1D.py": {
1759
+ "size": 2232
1760
+ },
1761
+ "examples/PySDM_examples/deJong_Azimi/simulation_0D.py": {
1762
+ "size": 2023
1763
+ },
1764
+ "examples/PySDM_examples/deJong_Mackay_et_al_2023/__init__.py": {
1765
+ "size": 760
1766
+ },
1767
+ "examples/PySDM_examples/deJong_Mackay_et_al_2023/plot_rates.py": {
1768
+ "size": 2421
1769
+ },
1770
+ "examples/PySDM_examples/deJong_Mackay_et_al_2023/settings1D.py": {
1771
+ "size": 3058
1772
+ },
1773
+ "examples/PySDM_examples/deJong_Mackay_et_al_2023/settings_0D.py": {
1774
+ "size": 1918
1775
+ },
1776
+ "examples/PySDM_examples/deJong_Mackay_et_al_2023/simulation1D.py": {
1777
+ "size": 2430
1778
+ },
1779
+ "examples/PySDM_examples/deJong_Mackay_et_al_2023/simulation_0D.py": {
1780
+ "size": 4649
1781
+ },
1782
+ "examples/PySDM_examples/deJong_Mackay_et_al_2023/simulation_ss.py": {
1783
+ "size": 5864
1784
+ },
1785
+ "examples/PySDM_examples/seeding/__init__.py": {
1786
+ "size": 220
1787
+ },
1788
+ "examples/PySDM_examples/seeding/settings.py": {
1789
+ "size": 2238
1790
+ },
1791
+ "examples/PySDM_examples/seeding/simulation.py": {
1792
+ "size": 4124
1793
+ },
1794
+ "examples/PySDM_examples/utils/__init__.py": {
1795
+ "size": 217
1796
+ },
1797
+ "examples/PySDM_examples/utils/basic_simulation.py": {
1798
+ "size": 698
1799
+ },
1800
+ "examples/PySDM_examples/utils/dummy_controller.py": {
1801
+ "size": 741
1802
+ },
1803
+ "examples/PySDM_examples/utils/kinematic_2d/__init__.py": {
1804
+ "size": 989
1805
+ },
1806
+ "examples/PySDM_examples/utils/kinematic_2d/fields.py": {
1807
+ "size": 1584
1808
+ },
1809
+ "examples/PySDM_examples/utils/kinematic_2d/gui.py": {
1810
+ "size": 1314
1811
+ },
1812
+ "examples/PySDM_examples/utils/kinematic_2d/gui_controller.py": {
1813
+ "size": 4283
1814
+ },
1815
+ "examples/PySDM_examples/utils/kinematic_2d/gui_settings.py": {
1816
+ "size": 14456
1817
+ },
1818
+ "examples/PySDM_examples/utils/kinematic_2d/gui_viewer.py": {
1819
+ "size": 13162
1820
+ },
1821
+ "examples/PySDM_examples/utils/kinematic_2d/make_default_product_collection.py": {
1822
+ "size": 4700
1823
+ },
1824
+ "examples/PySDM_examples/utils/kinematic_2d/mpdata_2d.py": {
1825
+ "size": 4441
1826
+ },
1827
+ "examples/PySDM_examples/utils/kinematic_2d/plots.py": {
1828
+ "size": 6998
1829
+ },
1830
+ "examples/PySDM_examples/utils/kinematic_2d/simulation.py": {
1831
+ "size": 10403
1832
+ },
1833
+ "examples/PySDM_examples/utils/kinematic_2d/storage.py": {
1834
+ "size": 2579
1835
+ },
1836
+ "examples/PySDM_examples/utils/progbar_controller.py": {
1837
+ "size": 470
1838
+ },
1839
+ "examples/PySDM_examples/utils/pvanim.py": {
1840
+ "size": 10972
1841
+ },
1842
+ "examples/PySDM_examples/utils/read_vtk_1d.py": {
1843
+ "size": 966
1844
+ },
1845
+ "examples/PySDM_examples/utils/widgets/__init__.py": {
1846
+ "size": 519
1847
+ },
1848
+ "examples/PySDM_examples/utils/widgets/freezer.py": {
1849
+ "size": 407
1850
+ },
1851
+ "examples/PySDM_examples/utils/widgets/progbar_updater.py": {
1852
+ "size": 267
1853
+ },
1854
+ "examples/README.md": {
1855
+ "size": 680
1856
+ },
1857
+ "examples/docs/pysdm_examples_landing.md": {
1858
+ "size": 9951
1859
+ },
1860
+ "examples/pyproject.toml": {
1861
+ "size": 175
1862
+ },
1863
+ "examples/setup.py": {
1864
+ "size": 2105
1865
+ },
1866
+ "pyproject.toml": {
1867
+ "size": 1583
1868
+ },
1869
+ "setup.py": {
1870
+ "size": 1356
1871
+ },
1872
+ "tests/__init__.py": {
1873
+ "size": 0
1874
+ },
1875
+ "tests/examples_tests/__init__.py": {
1876
+ "size": 0
1877
+ },
1878
+ "tests/examples_tests/conftest.py": {
1879
+ "size": 6752
1880
+ },
1881
+ "tests/examples_tests/test_run_examples.py": {
1882
+ "size": 393
1883
+ },
1884
+ "tests/examples_tests/test_run_notebooks.py": {
1885
+ "size": 207
1886
+ },
1887
+ "tests/examples_tests/test_tests_completeness.py": {
1888
+ "size": 1758
1889
+ },
1890
+ "tests/smoke_tests/__init__.py": {
1891
+ "size": 0
1892
+ },
1893
+ "tests/smoke_tests/box/__init__.py": {
1894
+ "size": 0
1895
+ },
1896
+ "tests/smoke_tests/box/alpert_and_knopf_2016/__init__.py": {
1897
+ "size": 0
1898
+ },
1899
+ "tests/smoke_tests/box/alpert_and_knopf_2016/test_ak16_fig_1.py": {
1900
+ "size": 3198
1901
+ },
1902
+ "tests/smoke_tests/box/alpert_and_knopf_2016/test_frozen_fraction.py": {
1903
+ "size": 770
1904
+ },
1905
+ "tests/smoke_tests/box/berry_1967/__init__.py": {
1906
+ "size": 0
1907
+ },
1908
+ "tests/smoke_tests/box/berry_1967/test_coalescence.py": {
1909
+ "size": 2916
1910
+ },
1911
+ "tests/smoke_tests/box/bieli_et_al_2022/__init__.py": {
1912
+ "size": 0
1913
+ },
1914
+ "tests/smoke_tests/box/bieli_et_al_2022/test_moments.py": {
1915
+ "size": 2188
1916
+ },
1917
+ "tests/smoke_tests/box/dejong_and_mackay_et_al_2023/__init__.py": {
1918
+ "size": 0
1919
+ },
1920
+ "tests/smoke_tests/box/dejong_and_mackay_et_al_2023/test_collision.py": {
1921
+ "size": 1294
1922
+ },
1923
+ "tests/smoke_tests/box/dejong_and_mackay_et_al_2023/test_fig_6.py": {
1924
+ "size": 3352
1925
+ },
1926
+ "tests/smoke_tests/box/dejong_and_mackay_et_al_2023/test_fig_7.py": {
1927
+ "size": 6263
1928
+ },
1929
+ "tests/smoke_tests/box/dejong_and_mackay_et_al_2023/test_fig_8.py": {
1930
+ "size": 2416
1931
+ },
1932
+ "tests/smoke_tests/box/dejong_azimi/__init__.py": {
1933
+ "size": 0
1934
+ },
1935
+ "tests/smoke_tests/box/dejong_azimi/test_box.py": {
1936
+ "size": 3039
1937
+ },
1938
+ "tests/smoke_tests/box/partmc/__init__.py": {
1939
+ "size": 0
1940
+ },
1941
+ "tests/smoke_tests/box/partmc/test_dry_wet_equilibration.py": {
1942
+ "size": 3870
1943
+ },
1944
+ "tests/smoke_tests/box/shima_et_al_2009/__init__.py": {
1945
+ "size": 0
1946
+ },
1947
+ "tests/smoke_tests/box/shima_et_al_2009/test_convergence.py": {
1948
+ "size": 2899
1949
+ },
1950
+ "tests/smoke_tests/box/shima_et_al_2009/test_lwc_constant.py": {
1951
+ "size": 2874
1952
+ },
1953
+ "tests/smoke_tests/box/srivastava_1982/__init__.py": {
1954
+ "size": 0
1955
+ },
1956
+ "tests/smoke_tests/box/srivastava_1982/test_eq_10.py": {
1957
+ "size": 3207
1958
+ },
1959
+ "tests/smoke_tests/box/srivastava_1982/test_eq_13.py": {
1960
+ "size": 2441
1961
+ },
1962
+ "tests/smoke_tests/box/srivastava_1982/test_equations.py": {
1963
+ "size": 1754
1964
+ },
1965
+ "tests/smoke_tests/conftest.py": {
1966
+ "size": 200
1967
+ },
1968
+ "tests/smoke_tests/kinematic_1d/__init__.py": {
1969
+ "size": 0
1970
+ },
1971
+ "tests/smoke_tests/kinematic_1d/deJong_Azimi/__init__.py": {
1972
+ "size": 0
1973
+ },
1974
+ "tests/smoke_tests/kinematic_1d/deJong_Azimi/test_few_steps.py": {
1975
+ "size": 1749
1976
+ },
1977
+ "tests/smoke_tests/kinematic_1d/deJong_Azimi/test_initial_condition.py": {
1978
+ "size": 1563
1979
+ },
1980
+ "tests/smoke_tests/kinematic_1d/shipway_and_hill_2012/__init__.py": {
1981
+ "size": 0
1982
+ },
1983
+ "tests/smoke_tests/kinematic_1d/shipway_and_hill_2012/test_1d_exporters.py": {
1984
+ "size": 5977
1985
+ },
1986
+ "tests/smoke_tests/kinematic_1d/shipway_and_hill_2012/test_few_steps.py": {
1987
+ "size": 3927
1988
+ },
1989
+ "tests/smoke_tests/kinematic_1d/shipway_and_hill_2012/test_initial_condition.py": {
1990
+ "size": 3408
1991
+ },
1992
+ "tests/smoke_tests/kinematic_1d/shipway_and_hill_2012/test_settings.py": {
1993
+ "size": 1044
1994
+ },
1995
+ "tests/smoke_tests/kinematic_2d/__init__.py": {
1996
+ "size": 0
1997
+ },
1998
+ "tests/smoke_tests/kinematic_2d/arabas_et_al_2015/__init__.py": {
1999
+ "size": 0
2000
+ },
2001
+ "tests/smoke_tests/kinematic_2d/arabas_et_al_2015/dummy_storage.py": {
2002
+ "size": 556
2003
+ },
2004
+ "tests/smoke_tests/kinematic_2d/arabas_et_al_2015/test_adaptive_displacement.py": {
2005
+ "size": 2543
2006
+ },
2007
+ "tests/smoke_tests/kinematic_2d/arabas_et_al_2015/test_environment.py": {
2008
+ "size": 992
2009
+ },
2010
+ "tests/smoke_tests/kinematic_2d/arabas_et_al_2015/test_export.py": {
2011
+ "size": 3143
2012
+ },
2013
+ "tests/smoke_tests/kinematic_2d/arabas_et_al_2015/test_freezing.py": {
2014
+ "size": 1779
2015
+ },
2016
+ "tests/smoke_tests/kinematic_2d/arabas_et_al_2015/test_gui_settings.py": {
2017
+ "size": 686
2018
+ },
2019
+ "tests/smoke_tests/kinematic_2d/arabas_et_al_2015/test_initialisation.py": {
2020
+ "size": 3515
2021
+ },
2022
+ "tests/smoke_tests/kinematic_2d/arabas_et_al_2015/test_spin_up.py": {
2023
+ "size": 1683
2024
+ },
2025
+ "tests/smoke_tests/no_env/__init__.py": {
2026
+ "size": 0
2027
+ },
2028
+ "tests/smoke_tests/no_env/bolin_1958/__init__.py": {
2029
+ "size": 0
2030
+ },
2031
+ "tests/smoke_tests/no_env/bolin_1958/test_table_1.py": {
2032
+ "size": 1858
2033
+ },
2034
+ "tests/smoke_tests/no_env/gedzelman_and_arnold_1994/__init__.py": {
2035
+ "size": 0
2036
+ },
2037
+ "tests/smoke_tests/no_env/gedzelman_and_arnold_1994/test_fig_2.py": {
2038
+ "size": 1280
2039
+ },
2040
+ "tests/smoke_tests/no_env/gonfiantini_1986/__init__.py": {
2041
+ "size": 0
2042
+ },
2043
+ "tests/smoke_tests/no_env/gonfiantini_1986/test_fig_3_1.py": {
2044
+ "size": 1446
2045
+ },
2046
+ "tests/smoke_tests/no_env/jouzel_and_merlivat_1984/__init__.py": {
2047
+ "size": 0
2048
+ },
2049
+ "tests/smoke_tests/no_env/jouzel_and_merlivat_1984/test_thermodynamic_profiles.py": {
2050
+ "size": 2099
2051
+ },
2052
+ "tests/smoke_tests/no_env/kinzer_and_gunn_1951/__init__.py": {
2053
+ "size": 0
2054
+ },
2055
+ "tests/smoke_tests/no_env/kinzer_and_gunn_1951/test_table_1_and_2.py": {
2056
+ "size": 649
2057
+ },
2058
+ "tests/smoke_tests/no_env/lamb_et_al_2017/__init__.py": {
2059
+ "size": 0
2060
+ },
2061
+ "tests/smoke_tests/no_env/lamb_et_al_2017/test_fig_4.py": {
2062
+ "size": 1617
2063
+ },
2064
+ "tests/smoke_tests/no_env/matsushima_et_al_2023/__init__.py": {
2065
+ "size": 0
2066
+ },
2067
+ "tests/smoke_tests/no_env/matsushima_et_al_2023/test_fig_1.py": {
2068
+ "size": 2526
2069
+ },
2070
+ "tests/smoke_tests/no_env/miyake_et_al_1968/__init__.py": {
2071
+ "size": 0
2072
+ },
2073
+ "tests/smoke_tests/no_env/miyake_et_al_1968/test_fig_19.py": {
2074
+ "size": 2125
2075
+ },
2076
+ "tests/smoke_tests/no_env/pierchala_et_al_2022/__init__.py": {
2077
+ "size": 0
2078
+ },
2079
+ "tests/smoke_tests/no_env/pierchala_et_al_2022/test_fig_3.py": {
2080
+ "size": 4185
2081
+ },
2082
+ "tests/smoke_tests/no_env/pierchala_et_al_2022/test_fig_4.py": {
2083
+ "size": 2396
2084
+ },
2085
+ "tests/smoke_tests/no_env/pierchala_et_al_2022/test_supplement.py": {
2086
+ "size": 848
2087
+ },
2088
+ "tests/smoke_tests/no_env/pruppacher_and_rasmussen_1979/__init__.py": {
2089
+ "size": 0
2090
+ },
2091
+ "tests/smoke_tests/no_env/pruppacher_and_rasmussen_1979/test_fig_1.py": {
2092
+ "size": 1556
2093
+ },
2094
+ "tests/smoke_tests/no_env/stewart_1975/__init__.py": {
2095
+ "size": 0
2096
+ },
2097
+ "tests/smoke_tests/no_env/stewart_1975/test_fig_1.py": {
2098
+ "size": 1604
2099
+ },
2100
+ "tests/smoke_tests/no_env/toon_et_al_1980/__init__.py": {
2101
+ "size": 0
2102
+ },
2103
+ "tests/smoke_tests/no_env/toon_et_al_1980/test_fig_1.py": {
2104
+ "size": 1934
2105
+ },
2106
+ "tests/smoke_tests/no_env/zaba_et_al/__init__.py": {
2107
+ "size": 0
2108
+ },
2109
+ "tests/smoke_tests/no_env/zaba_et_al/test_global_meteoric_water_line.py": {
2110
+ "size": 1091
2111
+ },
2112
+ "tests/smoke_tests/parcel_a/__init__.py": {
2113
+ "size": 0
2114
+ },
2115
+ "tests/smoke_tests/parcel_a/lowe_et_al_2019/__init__.py": {
2116
+ "size": 0
2117
+ },
2118
+ "tests/smoke_tests/parcel_a/lowe_et_al_2019/conftest.py": {
2119
+ "size": 583
2120
+ },
2121
+ "tests/smoke_tests/parcel_a/lowe_et_al_2019/test_dz_sensitivity.py": {
2122
+ "size": 2238
2123
+ },
2124
+ "tests/smoke_tests/parcel_a/lowe_et_al_2019/test_fig_1.py": {
2125
+ "size": 4717
2126
+ },
2127
+ "tests/smoke_tests/parcel_a/lowe_et_al_2019/test_fig_2.py": {
2128
+ "size": 3373
2129
+ },
2130
+ "tests/smoke_tests/parcel_a/lowe_et_al_2019/test_fig_s2.py": {
2131
+ "size": 2386
2132
+ },
2133
+ "tests/smoke_tests/parcel_a/lowe_et_al_2019/test_surface_tension_models.py": {
2134
+ "size": 12461
2135
+ },
2136
+ "tests/smoke_tests/parcel_a/lowe_et_al_2019/test_zero_forg.py": {
2137
+ "size": 3803
2138
+ },
2139
+ "tests/smoke_tests/parcel_a/pyrcel/__init__.py": {
2140
+ "size": 0
2141
+ },
2142
+ "tests/smoke_tests/parcel_a/pyrcel/test_parcel_example.py": {
2143
+ "size": 2526
2144
+ },
2145
+ "tests/smoke_tests/parcel_b/__init__.py": {
2146
+ "size": 0
2147
+ },
2148
+ "tests/smoke_tests/parcel_b/arabas_and_shima_2017/__init__.py": {
2149
+ "size": 0
2150
+ },
2151
+ "tests/smoke_tests/parcel_b/arabas_and_shima_2017/test_conservation.py": {
2152
+ "size": 3297
2153
+ },
2154
+ "tests/smoke_tests/parcel_b/arabas_and_shima_2017/test_displacement.py": {
2155
+ "size": 821
2156
+ },
2157
+ "tests/smoke_tests/parcel_b/arabas_and_shima_2017/test_event_rates.py": {
2158
+ "size": 1238
2159
+ },
2160
+ "tests/smoke_tests/parcel_b/arabas_and_shima_2017/test_initialisation.py": {
2161
+ "size": 2592
2162
+ },
2163
+ "tests/smoke_tests/parcel_b/arabas_and_shima_2017/test_vs_scipy.py": {
2164
+ "size": 1296
2165
+ },
2166
+ "tests/smoke_tests/parcel_c/__init__.py": {
2167
+ "size": 0
2168
+ },
2169
+ "tests/smoke_tests/parcel_c/abade_and_albuquerque_2024/__init__.py": {
2170
+ "size": 0
2171
+ },
2172
+ "tests/smoke_tests/parcel_c/abade_and_albuquerque_2024/test_fig_2.py": {
2173
+ "size": 3702
2174
+ },
2175
+ "tests/smoke_tests/parcel_c/abdul_razzak_ghan_2000/__init__.py": {
2176
+ "size": 0
2177
+ },
2178
+ "tests/smoke_tests/parcel_c/abdul_razzak_ghan_2000/test_ARG_example.py": {
2179
+ "size": 2565
2180
+ },
2181
+ "tests/smoke_tests/parcel_c/abdul_razzak_ghan_2000/test_just_do_it.py": {
2182
+ "size": 459
2183
+ },
2184
+ "tests/smoke_tests/parcel_c/abdul_razzak_ghan_2000/test_single_supersaturation_peak.py": {
2185
+ "size": 4534
2186
+ },
2187
+ "tests/smoke_tests/parcel_c/grabowski_and_pawlowska_2023/__init__.py": {
2188
+ "size": 0
2189
+ },
2190
+ "tests/smoke_tests/parcel_c/grabowski_and_pawlowska_2023/test_condensation_tolerance.py": {
2191
+ "size": 1548
2192
+ },
2193
+ "tests/smoke_tests/parcel_c/grabowski_and_pawlowska_2023/test_figure_1_and_2.py": {
2194
+ "size": 3966
2195
+ },
2196
+ "tests/smoke_tests/parcel_c/grabowski_and_pawlowska_2023/test_figure_3.py": {
2197
+ "size": 2998
2198
+ },
2199
+ "tests/smoke_tests/parcel_c/grabowski_and_pawlowska_2023/test_figure_4.py": {
2200
+ "size": 1538
2201
+ },
2202
+ "tests/smoke_tests/parcel_c/grabowski_and_pawlowska_2023/test_ripening_rate.py": {
2203
+ "size": 1566
2204
+ },
2205
+ "tests/smoke_tests/parcel_d/__init__.py": {
2206
+ "size": 0
2207
+ },
2208
+ "tests/smoke_tests/parcel_d/graf_et_al_2019/__init__.py": {
2209
+ "size": 0
2210
+ },
2211
+ "tests/smoke_tests/parcel_d/graf_et_al_2019/test_fig_4.py": {
2212
+ "size": 786
2213
+ },
2214
+ "tests/smoke_tests/parcel_d/graf_et_al_2019/test_table_1.py": {
2215
+ "size": 2007
2216
+ },
2217
+ "tests/smoke_tests/parcel_d/jensen_and_nugent_2017/__init__.py": {
2218
+ "size": 0
2219
+ },
2220
+ "tests/smoke_tests/parcel_d/jensen_and_nugent_2017/test_fig_1.py": {
2221
+ "size": 1301
2222
+ },
2223
+ "tests/smoke_tests/parcel_d/jensen_and_nugent_2017/test_fig_3_and_tab_4_upper_rows.py": {
2224
+ "size": 4726
2225
+ },
2226
+ "tests/smoke_tests/parcel_d/jensen_and_nugent_2017/test_fig_4_and_7_and_tab_4_bottom_rows.py": {
2227
+ "size": 6898
2228
+ },
2229
+ "tests/smoke_tests/parcel_d/jensen_and_nugent_2017/test_fig_5.py": {
2230
+ "size": 2684
2231
+ },
2232
+ "tests/smoke_tests/parcel_d/jensen_and_nugent_2017/test_fig_6.py": {
2233
+ "size": 2639
2234
+ },
2235
+ "tests/smoke_tests/parcel_d/jensen_and_nugent_2017/test_table_3.py": {
2236
+ "size": 798
2237
+ },
2238
+ "tests/smoke_tests/parcel_d/kreidenweis_et_al_2003/__init__.py": {
2239
+ "size": 0
2240
+ },
2241
+ "tests/smoke_tests/parcel_d/kreidenweis_et_al_2003/test_fig_1.py": {
2242
+ "size": 3081
2243
+ },
2244
+ "tests/smoke_tests/parcel_d/kreidenweis_et_al_2003/test_ionic_strength.py": {
2245
+ "size": 3619
2246
+ },
2247
+ "tests/smoke_tests/parcel_d/kreidenweis_et_al_2003/test_spectrum_at_t_0.py": {
2248
+ "size": 1722
2249
+ },
2250
+ "tests/smoke_tests/parcel_d/kreidenweis_et_al_2003/test_table_3.py": {
2251
+ "size": 4306
2252
+ },
2253
+ "tests/smoke_tests/parcel_d/niedermeier_et_al_2013/__init__.py": {
2254
+ "size": 0
2255
+ },
2256
+ "tests/smoke_tests/parcel_d/niedermeier_et_al_2013/test_temperature_profile.py": {
2257
+ "size": 1031
2258
+ },
2259
+ "tests/smoke_tests/parcel_d/rogers_1975/__init__.py": {
2260
+ "size": 0
2261
+ },
2262
+ "tests/smoke_tests/parcel_d/rogers_1975/test_fig_1.py": {
2263
+ "size": 1754
2264
+ },
2265
+ "tests/smoke_tests/parcel_d/rozanski_and_sonntag_1982/__init__.py": {
2266
+ "size": 0
2267
+ },
2268
+ "tests/smoke_tests/parcel_d/rozanski_and_sonntag_1982/test_figs_4_5_6.py": {
2269
+ "size": 2361
2270
+ },
2271
+ "tests/smoke_tests/parcel_d/seeding/__init__.py": {
2272
+ "size": 0
2273
+ },
2274
+ "tests/smoke_tests/parcel_d/seeding/test_hello_world.py": {
2275
+ "size": 1591
2276
+ },
2277
+ "tests/smoke_tests/parcel_d/seeding/test_seeding_no_collisions.py": {
2278
+ "size": 1047
2279
+ },
2280
+ "tests/smoke_tests/parcel_d/yang_et_al_2018/__init__.py": {
2281
+ "size": 0
2282
+ },
2283
+ "tests/smoke_tests/parcel_d/yang_et_al_2018/test_displacement.py": {
2284
+ "size": 884
2285
+ },
2286
+ "tests/smoke_tests/parcel_d/yang_et_al_2018/test_initialisation.py": {
2287
+ "size": 2575
2288
+ },
2289
+ "tests/smoke_tests/parcel_d/yang_et_al_2018/test_just_do_it.py": {
2290
+ "size": 1856
2291
+ },
2292
+ "tests/tutorials_tests/__init__.py": {
2293
+ "size": 0
2294
+ },
2295
+ "tests/tutorials_tests/conftest.py": {
2296
+ "size": 397
2297
+ },
2298
+ "tests/tutorials_tests/test_run_notebooks.py": {
2299
+ "size": 207
2300
+ },
2301
+ "tests/unit_tests/__init__.py": {
2302
+ "size": 0
2303
+ },
2304
+ "tests/unit_tests/attributes/__init__.py": {
2305
+ "size": 0
2306
+ },
2307
+ "tests/unit_tests/attributes/test_acidity.py": {
2308
+ "size": 5671
2309
+ },
2310
+ "tests/unit_tests/attributes/test_area_radius.py": {
2311
+ "size": 2246
2312
+ },
2313
+ "tests/unit_tests/attributes/test_critical_saturation.py": {
2314
+ "size": 1003
2315
+ },
2316
+ "tests/unit_tests/attributes/test_diffusional_growth_mass_change.py": {
2317
+ "size": 2694
2318
+ },
2319
+ "tests/unit_tests/attributes/test_fall_velocity.py": {
2320
+ "size": 6133
2321
+ },
2322
+ "tests/unit_tests/attributes/test_impl_attribute_registry.py": {
2323
+ "size": 2054
2324
+ },
2325
+ "tests/unit_tests/attributes/test_isotopes.py": {
2326
+ "size": 4648
2327
+ },
2328
+ "tests/unit_tests/attributes/test_multiplicities.py": {
2329
+ "size": 1344
2330
+ },
2331
+ "tests/unit_tests/attributes/test_reynolds_number.py": {
2332
+ "size": 1120
2333
+ },
2334
+ "tests/unit_tests/backends/__init__.py": {
2335
+ "size": 0
2336
+ },
2337
+ "tests/unit_tests/backends/storage/__init__.py": {
2338
+ "size": 0
2339
+ },
2340
+ "tests/unit_tests/backends/storage/test_basic_ops.py": {
2341
+ "size": 1671
2342
+ },
2343
+ "tests/unit_tests/backends/storage/test_index.py": {
2344
+ "size": 956
2345
+ },
2346
+ "tests/unit_tests/backends/storage/test_setitem.py": {
2347
+ "size": 477
2348
+ },
2349
+ "tests/unit_tests/backends/test_collisions_methods.py": {
2350
+ "size": 11166
2351
+ },
2352
+ "tests/unit_tests/backends/test_ctor_defaults_and_warnings.py": {
2353
+ "size": 1265
2354
+ },
2355
+ "tests/unit_tests/backends/test_fake_thrust.py": {
2356
+ "size": 456
2357
+ },
2358
+ "tests/unit_tests/backends/test_instance_cache.py": {
2359
+ "size": 670
2360
+ },
2361
+ "tests/unit_tests/backends/test_isotope_methods.py": {
2362
+ "size": 728
2363
+ },
2364
+ "tests/unit_tests/backends/test_moments_methods.py": {
2365
+ "size": 1168
2366
+ },
2367
+ "tests/unit_tests/backends/test_oxidation.py": {
2368
+ "size": 5882
2369
+ },
2370
+ "tests/unit_tests/backends/test_pair_methods.py": {
2371
+ "size": 3642
2372
+ },
2373
+ "tests/unit_tests/backends/test_physics_methods.py": {
2374
+ "size": 3635
2375
+ },
2376
+ "tests/unit_tests/backends/test_seeding_methods.py": {
2377
+ "size": 5382
2378
+ },
2379
+ "tests/unit_tests/backends/test_toms748.py": {
2380
+ "size": 1084
2381
+ },
2382
+ "tests/unit_tests/conftest.py": {
2383
+ "size": 434
2384
+ },
2385
+ "tests/unit_tests/dummy_environment.py": {
2386
+ "size": 2133
2387
+ },
2388
+ "tests/unit_tests/dummy_particulator.py": {
2389
+ "size": 761
2390
+ },
2391
+ "tests/unit_tests/dynamics/__init__.py": {
2392
+ "size": 0
2393
+ },
2394
+ "tests/unit_tests/dynamics/collisions/__init__.py": {
2395
+ "size": 0
2396
+ },
2397
+ "tests/unit_tests/dynamics/collisions/conftest.py": {
2398
+ "size": 2497
2399
+ },
2400
+ "tests/unit_tests/dynamics/collisions/test_croupiers.py": {
2401
+ "size": 1744
2402
+ },
2403
+ "tests/unit_tests/dynamics/collisions/test_defaults.py": {
2404
+ "size": 701
2405
+ },
2406
+ "tests/unit_tests/dynamics/collisions/test_efficiencies.py": {
2407
+ "size": 3824
2408
+ },
2409
+ "tests/unit_tests/dynamics/collisions/test_fragmentations.py": {
2410
+ "size": 13842
2411
+ },
2412
+ "tests/unit_tests/dynamics/collisions/test_kernels.py": {
2413
+ "size": 3076
2414
+ },
2415
+ "tests/unit_tests/dynamics/collisions/test_sdm_breakup.py": {
2416
+ "size": 34120
2417
+ },
2418
+ "tests/unit_tests/dynamics/collisions/test_sdm_multi_cell.py": {
2419
+ "size": 1640
2420
+ },
2421
+ "tests/unit_tests/dynamics/collisions/test_sdm_single_cell.py": {
2422
+ "size": 10464
2423
+ },
2424
+ "tests/unit_tests/dynamics/condensation/__init__.py": {
2425
+ "size": 0
2426
+ },
2427
+ "tests/unit_tests/dynamics/condensation/test_diagnostics.py": {
2428
+ "size": 3829
2429
+ },
2430
+ "tests/unit_tests/dynamics/condensation/test_parcel_sanity_checks.py": {
2431
+ "size": 7464
2432
+ },
2433
+ "tests/unit_tests/dynamics/condensation/test_ventilation.py": {
2434
+ "size": 2828
2435
+ },
2436
+ "tests/unit_tests/dynamics/displacement/__init__.py": {
2437
+ "size": 0
2438
+ },
2439
+ "tests/unit_tests/dynamics/displacement/displacement_settings.py": {
2440
+ "size": 1876
2441
+ },
2442
+ "tests/unit_tests/dynamics/displacement/test_advection.py": {
2443
+ "size": 6897
2444
+ },
2445
+ "tests/unit_tests/dynamics/displacement/test_courant_product.py": {
2446
+ "size": 1672
2447
+ },
2448
+ "tests/unit_tests/dynamics/displacement/test_sedimentation.py": {
2449
+ "size": 1397
2450
+ },
2451
+ "tests/unit_tests/dynamics/test_eulerian_advection.py": {
2452
+ "size": 1296
2453
+ },
2454
+ "tests/unit_tests/dynamics/test_freezing.py": {
2455
+ "size": 12880
2456
+ },
2457
+ "tests/unit_tests/dynamics/test_impl_register_dynamic.py": {
2458
+ "size": 1178
2459
+ },
2460
+ "tests/unit_tests/dynamics/test_isotopic_fractionation.py": {
2461
+ "size": 2922
2462
+ },
2463
+ "tests/unit_tests/dynamics/test_relaxed_velocity.py": {
2464
+ "size": 5672
2465
+ },
2466
+ "tests/unit_tests/dynamics/test_seeding.py": {
2467
+ "size": 8811
2468
+ },
2469
+ "tests/unit_tests/dynamics/test_terminal_velocity.py": {
2470
+ "size": 7749
2471
+ },
2472
+ "tests/unit_tests/dynamics/test_vapour_deposition_on_ice.py": {
2473
+ "size": 12477
2474
+ },
2475
+ "tests/unit_tests/environments/__init__.py": {
2476
+ "size": 0
2477
+ },
2478
+ "tests/unit_tests/environments/test_impl.py": {
2479
+ "size": 1660
2480
+ },
2481
+ "tests/unit_tests/environments/test_moist.py": {
2482
+ "size": 2488
2483
+ },
2484
+ "tests/unit_tests/exporters/__init__.py": {
2485
+ "size": 0
2486
+ },
2487
+ "tests/unit_tests/exporters/test_vtk_exporter.py": {
2488
+ "size": 1534
2489
+ },
2490
+ "tests/unit_tests/exporters/test_vtk_exporter_parcel.py": {
2491
+ "size": 7326
2492
+ },
2493
+ "tests/unit_tests/impl/__init__.py": {
2494
+ "size": 0
2495
+ },
2496
+ "tests/unit_tests/impl/test_camel_case.py": {
2497
+ "size": 488
2498
+ },
2499
+ "tests/unit_tests/impl/test_mesh.py": {
2500
+ "size": 3618
2501
+ },
2502
+ "tests/unit_tests/impl/test_moments.py": {
2503
+ "size": 4541
2504
+ },
2505
+ "tests/unit_tests/impl/test_particle_attributes.py": {
2506
+ "size": 10612
2507
+ },
2508
+ "tests/unit_tests/initialisation/__init__.py": {
2509
+ "size": 0
2510
+ },
2511
+ "tests/unit_tests/initialisation/test_aerosol_init.py": {
2512
+ "size": 1751
2513
+ },
2514
+ "tests/unit_tests/initialisation/test_alpha_sampling.py": {
2515
+ "size": 1827
2516
+ },
2517
+ "tests/unit_tests/initialisation/test_discretise_multiplicities.py": {
2518
+ "size": 1984
2519
+ },
2520
+ "tests/unit_tests/initialisation/test_hygroscopic_equilibrium.py": {
2521
+ "size": 5588
2522
+ },
2523
+ "tests/unit_tests/initialisation/test_init_fall_momenta.py": {
2524
+ "size": 1921
2525
+ },
2526
+ "tests/unit_tests/initialisation/test_spatial_discretisation.py": {
2527
+ "size": 2478
2528
+ },
2529
+ "tests/unit_tests/initialisation/test_spectra_lognormal.py": {
2530
+ "size": 1244
2531
+ },
2532
+ "tests/unit_tests/initialisation/test_spectra_sum.py": {
2533
+ "size": 753
2534
+ },
2535
+ "tests/unit_tests/initialisation/test_spectral_discretisation.py": {
2536
+ "size": 3208
2537
+ },
2538
+ "tests/unit_tests/initialisation/test_spectro_glacial_discretisation.py": {
2539
+ "size": 1780
2540
+ },
2541
+ "tests/unit_tests/physics/__init__.py": {
2542
+ "size": 0
2543
+ },
2544
+ "tests/unit_tests/physics/test_accommodation_coefficients.py": {
2545
+ "size": 945
2546
+ },
2547
+ "tests/unit_tests/physics/test_air_dynamic_viscosity.py": {
2548
+ "size": 1793
2549
+ },
2550
+ "tests/unit_tests/physics/test_bulk_phase_partitioning.py": {
2551
+ "size": 906
2552
+ },
2553
+ "tests/unit_tests/physics/test_constants.py": {
2554
+ "size": 5851
2555
+ },
2556
+ "tests/unit_tests/physics/test_diffusion_ice_capacity.py": {
2557
+ "size": 4231
2558
+ },
2559
+ "tests/unit_tests/physics/test_dimensional_analysis.py": {
2560
+ "size": 1245
2561
+ },
2562
+ "tests/unit_tests/physics/test_drop_growth.py": {
2563
+ "size": 3070
2564
+ },
2565
+ "tests/unit_tests/physics/test_fake_unit_registry.py": {
2566
+ "size": 376
2567
+ },
2568
+ "tests/unit_tests/physics/test_formulae.py": {
2569
+ "size": 4871
2570
+ },
2571
+ "tests/unit_tests/physics/test_fragmentation_functions.py": {
2572
+ "size": 4952
2573
+ },
2574
+ "tests/unit_tests/physics/test_freezing_temperature_spectra.py": {
2575
+ "size": 1692
2576
+ },
2577
+ "tests/unit_tests/physics/test_homogeneous_nucleation_rates.py": {
2578
+ "size": 3691
2579
+ },
2580
+ "tests/unit_tests/physics/test_hydrostatics_var_g.py": {
2581
+ "size": 1758
2582
+ },
2583
+ "tests/unit_tests/physics/test_hygroscopicity_fierce_diagrams.py": {
2584
+ "size": 2582
2585
+ },
2586
+ "tests/unit_tests/physics/test_isotope_diffusivity_ratios.py": {
2587
+ "size": 6114
2588
+ },
2589
+ "tests/unit_tests/physics/test_isotope_equilibrium_fractionation_factors.py": {
2590
+ "size": 3863
2591
+ },
2592
+ "tests/unit_tests/physics/test_isotope_kinetic_fractionation_factors.py": {
2593
+ "size": 6139
2594
+ },
2595
+ "tests/unit_tests/physics/test_isotope_meteoric_water_line.py": {
2596
+ "size": 5566
2597
+ },
2598
+ "tests/unit_tests/physics/test_isotope_ratio_evolution.py": {
2599
+ "size": 2272
2600
+ },
2601
+ "tests/unit_tests/physics/test_isotope_relaxation_timescale.py": {
2602
+ "size": 2140
2603
+ },
2604
+ "tests/unit_tests/physics/test_isotope_temperature_inference.py": {
2605
+ "size": 2177
2606
+ },
2607
+ "tests/unit_tests/physics/test_isotope_ventilation_ratio.py": {
2608
+ "size": 1148
2609
+ },
2610
+ "tests/unit_tests/physics/test_latent_heat.py": {
2611
+ "size": 2121
2612
+ },
2613
+ "tests/unit_tests/physics/test_optical.py": {
2614
+ "size": 1417
2615
+ },
2616
+ "tests/unit_tests/physics/test_particle_shape_and_density.py": {
2617
+ "size": 6262
2618
+ },
2619
+ "tests/unit_tests/physics/test_saturation_vapour_pressure.py": {
2620
+ "size": 3826
2621
+ },
2622
+ "tests/unit_tests/physics/test_spectra.py": {
2623
+ "size": 3169
2624
+ },
2625
+ "tests/unit_tests/physics/test_spectra_top_hat.py": {
2626
+ "size": 1914
2627
+ },
2628
+ "tests/unit_tests/physics/test_surface_tension.py": {
2629
+ "size": 2680
2630
+ },
2631
+ "tests/unit_tests/physics/test_terminal_velocity.py": {
2632
+ "size": 2152
2633
+ },
2634
+ "tests/unit_tests/physics/test_thermal_conductivity.py": {
2635
+ "size": 1338
2636
+ },
2637
+ "tests/unit_tests/physics/test_trivia.py": {
2638
+ "size": 10079
2639
+ },
2640
+ "tests/unit_tests/physics/test_ventilation_coefficient.py": {
2641
+ "size": 5811
2642
+ },
2643
+ "tests/unit_tests/products/__init__.py": {
2644
+ "size": 0
2645
+ },
2646
+ "tests/unit_tests/products/test_activation_criteria.py": {
2647
+ "size": 4194
2648
+ },
2649
+ "tests/unit_tests/products/test_ambient_relative_humidity.py": {
2650
+ "size": 1257
2651
+ },
2652
+ "tests/unit_tests/products/test_arbitrary_moment.py": {
2653
+ "size": 3669
2654
+ },
2655
+ "tests/unit_tests/products/test_averaged_terminal_velocity.py": {
2656
+ "size": 2416
2657
+ },
2658
+ "tests/unit_tests/products/test_collision_rates.py": {
2659
+ "size": 11852
2660
+ },
2661
+ "tests/unit_tests/products/test_concentration_product.py": {
2662
+ "size": 2024
2663
+ },
2664
+ "tests/unit_tests/products/test_cooling_rate.py": {
2665
+ "size": 5079
2666
+ },
2667
+ "tests/unit_tests/products/test_effective_radii.py": {
2668
+ "size": 1856
2669
+ },
2670
+ "tests/unit_tests/products/test_impl.py": {
2671
+ "size": 5902
2672
+ },
2673
+ "tests/unit_tests/products/test_mixed_phase_moments.py": {
2674
+ "size": 2805
2675
+ },
2676
+ "tests/unit_tests/products/test_parcel_liquid_water_path.py": {
2677
+ "size": 2724
2678
+ },
2679
+ "tests/unit_tests/products/test_particle_size_product.py": {
2680
+ "size": 4657
2681
+ },
2682
+ "tests/unit_tests/products/test_particle_size_spectrum.py": {
2683
+ "size": 4283
2684
+ },
2685
+ "tests/unit_tests/products/test_surface_precipitation.py": {
2686
+ "size": 3603
2687
+ },
2688
+ "tests/unit_tests/test_builder.py": {
2689
+ "size": 2388
2690
+ },
2691
+ "tests/unit_tests/test_formulae.py": {
2692
+ "size": 5285
2693
+ },
2694
+ "tests/unit_tests/test_imports.py": {
2695
+ "size": 1453
2696
+ },
2697
+ "tests/unit_tests/test_particulator.py": {
2698
+ "size": 5023
2699
+ },
2700
+ "tutorials/README.md": {
2701
+ "size": 2883
2702
+ }
2703
+ },
2704
+ "processed_by": "zip_fallback",
2705
+ "success": true
2706
+ },
2707
+ "structure": {
2708
+ "packages": [
2709
+ "source.PySDM",
2710
+ "source.PySDM.attributes",
2711
+ "source.PySDM.backends",
2712
+ "source.PySDM.dynamics",
2713
+ "source.PySDM.environments",
2714
+ "source.PySDM.exporters",
2715
+ "source.PySDM.impl",
2716
+ "source.PySDM.initialisation",
2717
+ "source.PySDM.physics",
2718
+ "source.PySDM.products",
2719
+ "source.examples.PySDM_examples",
2720
+ "source.tests",
2721
+ "source.tests.examples_tests",
2722
+ "source.tests.smoke_tests",
2723
+ "source.tests.tutorials_tests",
2724
+ "source.tests.unit_tests"
2725
+ ]
2726
+ },
2727
+ "dependencies": {
2728
+ "has_environment_yml": false,
2729
+ "has_requirements_txt": false,
2730
+ "pyproject": true,
2731
+ "setup_cfg": false,
2732
+ "setup_py": true
2733
+ },
2734
+ "entry_points": {
2735
+ "imports": [],
2736
+ "cli": [],
2737
+ "modules": []
2738
+ },
2739
+ "llm_analysis": {
2740
+ "core_modules": [
2741
+ {
2742
+ "package": "source.PySDM",
2743
+ "module": "PySDM",
2744
+ "functions": [],
2745
+ "classes": [
2746
+ "Particulator"
2747
+ ],
2748
+ "description": "Main entry point for the PySDM package, handling particle-based cloud microphysics."
2749
+ },
2750
+ {
2751
+ "package": "source.PySDM.dynamics",
2752
+ "module": "dynamics",
2753
+ "functions": [
2754
+ "condensation",
2755
+ "freezing",
2756
+ "displacement"
2757
+ ],
2758
+ "classes": [],
2759
+ "description": "Handles the dynamics of cloud microphysics including condensation, freezing, and displacement."
2760
+ },
2761
+ {
2762
+ "package": "source.PySDM.backends",
2763
+ "module": "backends",
2764
+ "functions": [],
2765
+ "classes": [
2766
+ "NumbaBackend",
2767
+ "ThrustRTCBackend"
2768
+ ],
2769
+ "description": "Provides backend implementations for computational efficiency using Numba and ThrustRTC."
2770
+ },
2771
+ {
2772
+ "package": "source.PySDM.exporters",
2773
+ "module": "exporters",
2774
+ "functions": [
2775
+ "export_to_netcdf",
2776
+ "export_to_vtk"
2777
+ ],
2778
+ "classes": [],
2779
+ "description": "Handles exporting simulation data to various formats like NetCDF and VTK."
2780
+ }
2781
+ ],
2782
+ "cli_commands": [],
2783
+ "import_strategy": {
2784
+ "primary": "import",
2785
+ "fallback": "blackbox",
2786
+ "confidence": 0.85
2787
+ },
2788
+ "dependencies": {
2789
+ "required": [
2790
+ "numpy",
2791
+ "scipy",
2792
+ "numba"
2793
+ ],
2794
+ "optional": [
2795
+ "matplotlib",
2796
+ "netCDF4"
2797
+ ]
2798
+ },
2799
+ "risk_assessment": {
2800
+ "import_feasibility": 0.8,
2801
+ "intrusiveness_risk": "medium",
2802
+ "complexity": "complex"
2803
+ }
2804
+ },
2805
+ "deepwiki_analysis": {
2806
+ "repo_url": "https://github.com/open-atmos/PySDM",
2807
+ "repo_name": "PySDM",
2808
+ "content": "open-atmos/PySDM\nPythonic particle-based (super-droplet) warm-rain/aqueous-chemistry cloud microphysics package with box, parcel & 1D/2D prescribed-flow examples in Python, Julia and Matlab\nRepository Not Indexed\nThis repository hasn't been indexed yet. Indexing allows you to explore code structure, find documentation, and understand dependencies.\nIndexing typically takes 2-10 minutes to complete after it starts indexing\nOnce indexed, you'll have full access to code exploration and search functionality",
2809
+ "model": "gpt-4o-2024-08-06",
2810
+ "source": "selenium",
2811
+ "success": true
2812
+ },
2813
+ "deepwiki_options": {
2814
+ "enabled": true,
2815
+ "model": "gpt-4o-2024-08-06"
2816
+ },
2817
+ "risk": {
2818
+ "import_feasibility": 0.8,
2819
+ "intrusiveness_risk": "medium",
2820
+ "complexity": "complex"
2821
+ }
2822
+ }
PySDM/mcp_output/diff_report.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PySDM Project Difference Report
2
+
3
+ **Repository:** PySDM
4
+ **Project Type:** Python Library
5
+ **Report Date:** January 31, 2026
6
+ **Intrusiveness:** None
7
+ **Workflow Status:** Success
8
+ **Test Status:** Failed
9
+
10
+ ## Project Overview
11
+
12
+ PySDM is a Python library designed to provide basic functionality for stochastic dynamic modeling. It is a tool used by researchers and developers to simulate and analyze complex systems through stochastic processes. The library aims to offer a robust and flexible framework for modeling, with a focus on ease of use and integration.
13
+
14
+ ## Difference Analysis
15
+
16
+ ### New Files Added
17
+
18
+ In this update, 8 new files have been introduced to the PySDM repository. These files are likely to contain new features, enhancements, or documentation that expand the library's capabilities. However, no existing files were modified, indicating that the new additions are supplementary rather than replacements or modifications of existing functionalities.
19
+
20
+ ### Modified Files
21
+
22
+ There were no modifications to existing files in this update. This suggests that the current functionality remains unchanged, and the focus was on expanding the library with new features or components.
23
+
24
+ ## Technical Analysis
25
+
26
+ ### New Features and Components
27
+
28
+ The addition of 8 new files suggests the introduction of new modules or functionalities. Without specific details on the content of these files, it is assumed that they could include:
29
+
30
+ - New stochastic models or algorithms.
31
+ - Additional utilities or helper functions.
32
+ - Enhanced documentation or examples to aid users in understanding and utilizing the library.
33
+
34
+ ### Test Failures
35
+
36
+ Despite the successful workflow status, the test status indicates failures. This discrepancy suggests that while the integration and deployment processes were executed without errors, the new additions may have introduced issues that were not anticipated during development. Possible causes for test failures include:
37
+
38
+ - Incompatibility of new features with existing ones.
39
+ - Bugs or errors in the newly added code.
40
+ - Insufficient test coverage for new functionalities.
41
+
42
+ ## Recommendations and Improvements
43
+
44
+ 1. **Conduct Thorough Testing:** Review and expand the test suite to cover the new functionalities introduced by the 8 new files. Ensure that all edge cases are considered and that the new components integrate seamlessly with existing ones.
45
+
46
+ 2. **Debug and Resolve Issues:** Investigate the specific causes of the test failures. Focus on debugging the new code to identify and resolve any errors or incompatibilities.
47
+
48
+ 3. **Enhance Documentation:** Update the library's documentation to include detailed information about the new features. Provide examples and use cases to help users understand and implement the new functionalities effectively.
49
+
50
+ 4. **Community Feedback:** Engage with the user community to gather feedback on the new features. This can provide insights into potential issues and areas for improvement.
51
+
52
+ ## Deployment Information
53
+
54
+ The deployment process was executed successfully, indicating that the new files were integrated into the repository without any issues. However, given the test failures, it is advisable to hold off on a full release until the issues are resolved and the test suite passes successfully.
55
+
56
+ ## Future Planning
57
+
58
+ 1. **Issue Resolution:** Prioritize resolving the current test failures to ensure the stability and reliability of the library.
59
+
60
+ 2. **Feature Expansion:** Continue to expand the library's capabilities by introducing new models and utilities that align with user needs and industry trends.
61
+
62
+ 3. **Community Engagement:** Foster a strong community around PySDM by encouraging contributions, hosting discussions, and organizing events or workshops.
63
+
64
+ 4. **Versioning Strategy:** Consider implementing a versioning strategy to manage updates and releases effectively, ensuring users are aware of changes and improvements.
65
+
66
+ ## Conclusion
67
+
68
+ The recent update to the PySDM project introduces new functionalities that have the potential to enhance the library's capabilities. However, the test failures highlight the need for further testing and debugging to ensure the new features integrate smoothly with the existing framework. By addressing these issues and engaging with the community, PySDM can continue to evolve as a valuable tool for stochastic dynamic modeling.
PySDM/mcp_output/mcp_plugin/__init__.py ADDED
File without changes
PySDM/mcp_output/mcp_plugin/adapter.py ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import sys
3
+
4
+ # Path settings
5
+ source_path = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))), "source")
6
+ sys.path.insert(0, source_path)
7
+
8
+ # Import statements
9
+ try:
10
+ from PySDM import particulator
11
+ from PySDM.dynamics import condensation
12
+ from PySDM.backends import numba
13
+ from PySDM.exporters import netcdf_exporter
14
+ from PySDM.environments import parcel
15
+ from PySDM.initialisation import dry_aerosol
16
+ from PySDM.physics import constants
17
+ except ImportError as e:
18
+ print("Import failed: ", e)
19
+ print("Ensure that the source directory is correctly set and all dependencies are installed.")
20
+ # Fallback mode
21
+ particulator = None
22
+ condensation = None
23
+ numba = None
24
+ netcdf_exporter = None
25
+ parcel = None
26
+ dry_aerosol = None
27
+ constants = None
28
+
29
+ class Adapter:
30
+ """
31
+ Adapter class for MCP plugin, providing access to PySDM functionalities.
32
+ """
33
+
34
+ def __init__(self):
35
+ self.mode = "import" if particulator else "fallback"
36
+
37
+ # ------------------ Particulator Module ------------------
38
+
39
+ def create_particulator(self, *args, **kwargs):
40
+ """
41
+ Create an instance of the Particulator class.
42
+
43
+ Parameters:
44
+ *args: Positional arguments for Particulator.
45
+ **kwargs: Keyword arguments for Particulator.
46
+
47
+ Returns:
48
+ dict: Contains 'status' and 'instance' of Particulator or error message.
49
+ """
50
+ if not particulator:
51
+ return {"status": "error", "message": "Particulator module not available in fallback mode."}
52
+
53
+ try:
54
+ instance = particulator.Particulator(*args, **kwargs)
55
+ return {"status": "success", "instance": instance}
56
+ except Exception as e:
57
+ return {"status": "error", "message": str(e)}
58
+
59
+ # ------------------ Dynamics Module ------------------
60
+
61
+ def call_condensation(self, *args, **kwargs):
62
+ """
63
+ Call the condensation function.
64
+
65
+ Parameters:
66
+ *args: Positional arguments for condensation.
67
+ **kwargs: Keyword arguments for condensation.
68
+
69
+ Returns:
70
+ dict: Contains 'status' and result of condensation or error message.
71
+ """
72
+ if not condensation:
73
+ return {"status": "error", "message": "Condensation module not available in fallback mode."}
74
+
75
+ try:
76
+ result = condensation.condensation(*args, **kwargs)
77
+ return {"status": "success", "result": result}
78
+ except Exception as e:
79
+ return {"status": "error", "message": str(e)}
80
+
81
+ # ------------------ Backends Module ------------------
82
+
83
+ def call_numba_backend(self, *args, **kwargs):
84
+ """
85
+ Call the numba backend function.
86
+
87
+ Parameters:
88
+ *args: Positional arguments for numba backend.
89
+ **kwargs: Keyword arguments for numba backend.
90
+
91
+ Returns:
92
+ dict: Contains 'status' and result of numba backend or error message.
93
+ """
94
+ if not numba:
95
+ return {"status": "error", "message": "Numba backend not available in fallback mode."}
96
+
97
+ try:
98
+ result = numba.backend(*args, **kwargs)
99
+ return {"status": "success", "result": result}
100
+ except Exception as e:
101
+ return {"status": "error", "message": str(e)}
102
+
103
+ # ------------------ Exporters Module ------------------
104
+
105
+ def create_netcdf_exporter(self, *args, **kwargs):
106
+ """
107
+ Create an instance of the NetCDFExporter class.
108
+
109
+ Parameters:
110
+ *args: Positional arguments for NetCDFExporter.
111
+ **kwargs: Keyword arguments for NetCDFExporter.
112
+
113
+ Returns:
114
+ dict: Contains 'status' and 'instance' of NetCDFExporter or error message.
115
+ """
116
+ if not netcdf_exporter:
117
+ return {"status": "error", "message": "NetCDFExporter module not available in fallback mode."}
118
+
119
+ try:
120
+ instance = netcdf_exporter.NetCDFExporter(*args, **kwargs)
121
+ return {"status": "success", "instance": instance}
122
+ except Exception as e:
123
+ return {"status": "error", "message": str(e)}
124
+
125
+ # ------------------ Environments Module ------------------
126
+
127
+ def create_parcel_environment(self, *args, **kwargs):
128
+ """
129
+ Create an instance of the Parcel environment.
130
+
131
+ Parameters:
132
+ *args: Positional arguments for Parcel.
133
+ **kwargs: Keyword arguments for Parcel.
134
+
135
+ Returns:
136
+ dict: Contains 'status' and 'instance' of Parcel or error message.
137
+ """
138
+ if not parcel:
139
+ return {"status": "error", "message": "Parcel environment not available in fallback mode."}
140
+
141
+ try:
142
+ instance = parcel.Parcel(*args, **kwargs)
143
+ return {"status": "success", "instance": instance}
144
+ except Exception as e:
145
+ return {"status": "error", "message": str(e)}
146
+
147
+ # ------------------ Initialisation Module ------------------
148
+
149
+ def create_dry_aerosol(self, *args, **kwargs):
150
+ """
151
+ Create an instance of the DryAerosol class.
152
+
153
+ Parameters:
154
+ *args: Positional arguments for DryAerosol.
155
+ **kwargs: Keyword arguments for DryAerosol.
156
+
157
+ Returns:
158
+ dict: Contains 'status' and 'instance' of DryAerosol or error message.
159
+ """
160
+ if not dry_aerosol:
161
+ return {"status": "error", "message": "DryAerosol module not available in fallback mode."}
162
+
163
+ try:
164
+ instance = dry_aerosol.DryAerosol(*args, **kwargs)
165
+ return {"status": "success", "instance": instance}
166
+ except Exception as e:
167
+ return {"status": "error", "message": str(e)}
168
+
169
+ # ------------------ Physics Module ------------------
170
+
171
+ def get_constants(self):
172
+ """
173
+ Retrieve constants from the physics module.
174
+
175
+ Returns:
176
+ dict: Contains 'status' and 'constants' or error message.
177
+ """
178
+ if not constants:
179
+ return {"status": "error", "message": "Constants module not available in fallback mode."}
180
+
181
+ try:
182
+ return {"status": "success", "constants": constants}
183
+ except Exception as e:
184
+ return {"status": "error", "message": str(e)}
PySDM/mcp_output/mcp_plugin/main.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ MCP Service Auto-Wrapper - Auto-generated
3
+ """
4
+ from mcp_service import create_app
5
+
6
+ def main():
7
+ """Main entry point"""
8
+ app = create_app()
9
+ return app
10
+
11
+ if __name__ == "__main__":
12
+ app = main()
13
+ app.run()
PySDM/mcp_output/mcp_plugin/mcp_service.py ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import sys
3
+
4
+ # Add the local source directory to sys.path
5
+ source_path = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))), "source")
6
+ if source_path not in sys.path:
7
+ sys.path.insert(0, source_path)
8
+
9
+ from fastmcp import FastMCP
10
+
11
+ # Import core modules from the source directory
12
+ from PySDM import particulator
13
+ from PySDM.dynamics import condensation
14
+ from PySDM.physics import constants
15
+
16
+ # Create the FastMCP service application
17
+ mcp = FastMCP("pysdm_service")
18
+
19
+ @mcp.tool(name="simulate_particles", description="Simulate particle dynamics using PySDM")
20
+ def simulate_particles(particle_count: int, time_step: float) -> dict:
21
+ """
22
+ Simulate particle dynamics using PySDM.
23
+
24
+ Parameters:
25
+ - particle_count (int): Number of particles to simulate.
26
+ - time_step (float): Time step for the simulation.
27
+
28
+ Returns:
29
+ - dict: A dictionary containing success, result, and error fields.
30
+ """
31
+ try:
32
+ # Example simulation logic
33
+ result = particulator.simulate(particle_count, time_step)
34
+ return {"success": True, "result": result, "error": None}
35
+ except Exception as e:
36
+ return {"success": False, "result": None, "error": str(e)}
37
+
38
+ @mcp.tool(name="calculate_condensation", description="Calculate condensation rates")
39
+ def calculate_condensation(temperature: float, pressure: float) -> dict:
40
+ """
41
+ Calculate condensation rates.
42
+
43
+ Parameters:
44
+ - temperature (float): Temperature in Kelvin.
45
+ - pressure (float): Pressure in Pascals.
46
+
47
+ Returns:
48
+ - dict: A dictionary containing success, result, and error fields.
49
+ """
50
+ try:
51
+ # Example condensation calculation
52
+ rate = condensation.calculate_rate(temperature, pressure)
53
+ return {"success": True, "result": rate, "error": None}
54
+ except Exception as e:
55
+ return {"success": False, "result": None, "error": str(e)}
56
+
57
+ @mcp.tool(name="get_physical_constants", description="Retrieve physical constants")
58
+ def get_physical_constants() -> dict:
59
+ """
60
+ Retrieve physical constants.
61
+
62
+ Returns:
63
+ - dict: A dictionary containing success, result, and error fields.
64
+ """
65
+ try:
66
+ # Example retrieval of constants
67
+ constants_data = constants.get_constants()
68
+ return {"success": True, "result": constants_data, "error": None}
69
+ except Exception as e:
70
+ return {"success": False, "result": None, "error": str(e)}
71
+
72
+ def create_app() -> FastMCP:
73
+ """
74
+ Create and return the FastMCP application instance.
75
+
76
+ Returns:
77
+ - FastMCP: The FastMCP application instance.
78
+ """
79
+ return mcp
PySDM/mcp_output/requirements.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ fastmcp
2
+ fastapi
3
+ uvicorn[standard]
4
+ pydantic>=2.0.0
5
+ numpy
6
+ scipy
7
+ numba
PySDM/mcp_output/start_mcp.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ """
3
+ MCP Service Startup Entry
4
+ """
5
+ import sys
6
+ import os
7
+
8
+ project_root = os.path.dirname(os.path.abspath(__file__))
9
+ mcp_plugin_dir = os.path.join(project_root, "mcp_plugin")
10
+ if mcp_plugin_dir not in sys.path:
11
+ sys.path.insert(0, mcp_plugin_dir)
12
+
13
+ from mcp_service import create_app
14
+
15
+ def main():
16
+ """Start FastMCP service"""
17
+ app = create_app()
18
+ # Use environment variable to configure port, default 8000
19
+ port = int(os.environ.get("MCP_PORT", "8000"))
20
+
21
+ # Choose transport mode based on environment variable
22
+ transport = os.environ.get("MCP_TRANSPORT", "stdio")
23
+ if transport == "http":
24
+ app.run(transport="http", host="0.0.0.0", port=port)
25
+ else:
26
+ # Default to STDIO mode
27
+ app.run()
28
+
29
+ if __name__ == "__main__":
30
+ main()
PySDM/mcp_output/workflow_summary.json ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repository": {
3
+ "name": "PySDM",
4
+ "url": "https://github.com/open-atmos/PySDM",
5
+ "local_path": "/export/zxcpu1/shiweijie/code/ghh/Code2MCP/workspace/PySDM",
6
+ "description": "Python library",
7
+ "features": "Basic functionality",
8
+ "tech_stack": "Python",
9
+ "stars": 0,
10
+ "forks": 0,
11
+ "language": "Python",
12
+ "last_updated": "",
13
+ "complexity": "complex",
14
+ "intrusiveness_risk": "medium"
15
+ },
16
+ "execution": {
17
+ "start_time": 1769870957.2162707,
18
+ "end_time": 1769871085.716835,
19
+ "duration": 128.50056433677673,
20
+ "status": "success",
21
+ "workflow_status": "success",
22
+ "nodes_executed": [
23
+ "download",
24
+ "analysis",
25
+ "env",
26
+ "generate",
27
+ "run",
28
+ "review",
29
+ "finalize"
30
+ ],
31
+ "total_files_processed": 16,
32
+ "environment_type": "unknown",
33
+ "llm_calls": 0,
34
+ "deepwiki_calls": 0
35
+ },
36
+ "tests": {
37
+ "original_project": {
38
+ "passed": false,
39
+ "details": {},
40
+ "test_coverage": "100%",
41
+ "execution_time": 0,
42
+ "test_files": []
43
+ },
44
+ "mcp_plugin": {
45
+ "passed": true,
46
+ "details": {},
47
+ "service_health": "healthy",
48
+ "startup_time": 0,
49
+ "transport_mode": "stdio",
50
+ "fastmcp_version": "unknown",
51
+ "mcp_version": "unknown"
52
+ }
53
+ },
54
+ "analysis": {
55
+ "structure": {
56
+ "packages": [
57
+ "source.PySDM",
58
+ "source.PySDM.attributes",
59
+ "source.PySDM.backends",
60
+ "source.PySDM.dynamics",
61
+ "source.PySDM.environments",
62
+ "source.PySDM.exporters",
63
+ "source.PySDM.impl",
64
+ "source.PySDM.initialisation",
65
+ "source.PySDM.physics",
66
+ "source.PySDM.products",
67
+ "source.examples.PySDM_examples",
68
+ "source.tests",
69
+ "source.tests.examples_tests",
70
+ "source.tests.smoke_tests",
71
+ "source.tests.tutorials_tests",
72
+ "source.tests.unit_tests"
73
+ ]
74
+ },
75
+ "dependencies": {
76
+ "has_environment_yml": false,
77
+ "has_requirements_txt": false,
78
+ "pyproject": true,
79
+ "setup_cfg": false,
80
+ "setup_py": true
81
+ },
82
+ "entry_points": {
83
+ "imports": [],
84
+ "cli": [],
85
+ "modules": []
86
+ },
87
+ "risk_assessment": {
88
+ "import_feasibility": 0.8,
89
+ "intrusiveness_risk": "medium",
90
+ "complexity": "complex"
91
+ },
92
+ "deepwiki_analysis": {
93
+ "repo_url": "https://github.com/open-atmos/PySDM",
94
+ "repo_name": "PySDM",
95
+ "content": "open-atmos/PySDM\nPythonic particle-based (super-droplet) warm-rain/aqueous-chemistry cloud microphysics package with box, parcel & 1D/2D prescribed-flow examples in Python, Julia and Matlab\nRepository Not Indexed\nThis repository hasn't been indexed yet. Indexing allows you to explore code structure, find documentation, and understand dependencies.\nIndexing typically takes 2-10 minutes to complete after it starts indexing\nOnce indexed, you'll have full access to code exploration and search functionality",
96
+ "model": "gpt-4o-2024-08-06",
97
+ "source": "selenium",
98
+ "success": true
99
+ },
100
+ "code_complexity": {
101
+ "cyclomatic_complexity": "medium",
102
+ "cognitive_complexity": "medium",
103
+ "maintainability_index": 75
104
+ },
105
+ "security_analysis": {
106
+ "vulnerabilities_found": 0,
107
+ "security_score": 85,
108
+ "recommendations": []
109
+ }
110
+ },
111
+ "plugin_generation": {
112
+ "files_created": [
113
+ "mcp_output/start_mcp.py",
114
+ "mcp_output/mcp_plugin/__init__.py",
115
+ "mcp_output/mcp_plugin/mcp_service.py",
116
+ "mcp_output/mcp_plugin/adapter.py",
117
+ "mcp_output/mcp_plugin/main.py",
118
+ "mcp_output/requirements.txt",
119
+ "mcp_output/README_MCP.md"
120
+ ],
121
+ "main_entry": "start_mcp.py",
122
+ "requirements": [
123
+ "fastmcp>=0.1.0",
124
+ "pydantic>=2.0.0"
125
+ ],
126
+ "readme_path": "/export/zxcpu1/shiweijie/code/ghh/Code2MCP/workspace/PySDM/mcp_output/README_MCP.md",
127
+ "adapter_mode": "import",
128
+ "total_lines_of_code": 0,
129
+ "generated_files_size": 0,
130
+ "tool_endpoints": 0,
131
+ "supported_features": [
132
+ "Basic functionality"
133
+ ],
134
+ "generated_tools": [
135
+ "Basic tools",
136
+ "Health check tools",
137
+ "Version info tools"
138
+ ]
139
+ },
140
+ "code_review": {},
141
+ "errors": [],
142
+ "warnings": [],
143
+ "recommendations": [
144
+ "Improve test coverage by adding more unit tests for uncovered modules",
145
+ "optimize large files by breaking them into smaller",
146
+ "more manageable components",
147
+ "ensure all dependencies are clearly defined in a requirements.txt or environment.yml file",
148
+ "enhance documentation for better understanding of complex modules",
149
+ "consider indexing the repository for easier code exploration and search functionality",
150
+ "streamline the import strategy to reduce complexity and improve import feasibility",
151
+ "evaluate and reduce the intrusiveness risk of the project",
152
+ "improve the README to provide a clearer overview of the project and its usage",
153
+ "implement continuous integration to automate testing and deployment processes",
154
+ "refactor code to reduce complexity and improve maintainability."
155
+ ],
156
+ "performance_metrics": {
157
+ "memory_usage_mb": 0,
158
+ "cpu_usage_percent": 0,
159
+ "response_time_ms": 0,
160
+ "throughput_requests_per_second": 0
161
+ },
162
+ "deployment_info": {
163
+ "supported_platforms": [
164
+ "Linux",
165
+ "Windows",
166
+ "macOS"
167
+ ],
168
+ "python_versions": [
169
+ "3.8",
170
+ "3.9",
171
+ "3.10",
172
+ "3.11",
173
+ "3.12"
174
+ ],
175
+ "deployment_methods": [
176
+ "Docker",
177
+ "pip",
178
+ "conda"
179
+ ],
180
+ "monitoring_support": true,
181
+ "logging_configuration": "structured"
182
+ },
183
+ "execution_analysis": {
184
+ "success_factors": [
185
+ "Comprehensive node execution covering download, analysis, environment setup, generation, run, review, and finalize",
186
+ "Successful MCP plugin generation and service health"
187
+ ],
188
+ "failure_reasons": [],
189
+ "overall_assessment": "good",
190
+ "node_performance": {
191
+ "download_time": "Efficient download process with no reported delays",
192
+ "analysis_time": "Completed successfully with medium complexity analysis",
193
+ "generation_time": "Efficient generation of MCP plugin files",
194
+ "test_time": "Original project tests did not pass, but MCP plugin tests were successful"
195
+ },
196
+ "resource_usage": {
197
+ "memory_efficiency": "Memory usage data not available",
198
+ "cpu_efficiency": "CPU usage data not available",
199
+ "disk_usage": "Disk usage data not available"
200
+ }
201
+ },
202
+ "technical_quality": {
203
+ "code_quality_score": 75,
204
+ "architecture_score": 70,
205
+ "performance_score": 65,
206
+ "maintainability_score": 75,
207
+ "security_score": 85,
208
+ "scalability_score": 70
209
+ }
210
+ }
PySDM/source/.binder/apt.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ libgl1
PySDM/source/.binder/postBuild ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # mimicking what happens on Colab: packages are fetched from PyPI, only notebooks from the repo
4
+
5
+ set -e
6
+ shopt -s extglob
7
+ rm -rfv !("examples"|"tutorials")
PySDM/source/.binder/requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ PySDM-examples
PySDM/source/.codecov.yml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ coverage:
2
+ status:
3
+ project:
4
+ default:
5
+ threshold: 0.1%
PySDM/source/.pre-commit-config.yaml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ files: '.py|.json'
2
+ exclude: '.git'
3
+ default_stages: [pre-commit]
4
+
5
+ repos:
6
+ - repo: https://github.com/psf/black
7
+ rev: 25.1.0
8
+ hooks:
9
+ - id: black
10
+
11
+ # - repo: https://github.com/timothycrosley/isort
12
+ # rev: 5.13.2
13
+ # hooks:
14
+ # - id: isort
15
+
16
+ - repo: https://github.com/pre-commit/pre-commit-hooks
17
+ rev: v5.0.0
18
+ hooks:
19
+ - id: trailing-whitespace
20
+ - id: end-of-file-fixer
21
+ - id: debug-statements
22
+ - id: check-json
23
+ files: '.json'
24
+
25
+ - repo: https://github.com/lk16/detect-missing-init
26
+ rev: v0.1.6
27
+ hooks:
28
+ - id: detect-missing-init
29
+ args: ['--create', "--track", "--python-folders", "tests,PySDM,examples/PySDM_examples"]
30
+
31
+ # TODO #1794
32
+ # - repo: https://github.com/open-atmos/devops_tests
33
+ # rev: v0.0.2
34
+ # hooks:
35
+ # - id: check-badges
36
+ # name: check badges
37
+ # args: [--fix-header, --repo-name=PySDM]
PySDM/source/.zenodo.json ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "PySDM",
3
+ "description": "Pythonic particle-based (super-droplet) warm-rain/aqueous-chemistry cloud microphysics package with box, parcel & 1D/2D prescribed-flow examples in Python, Julia and Matlab",
4
+ "creators": [
5
+ {
6
+ "affiliation": "AGH University of Krakow, Kraków, Poland (2023-...); University of Illinois at Urbana-Champaign, IL, USA (2021-2022); Jagiellonian University, Kraków, Poland (2018-2023)",
7
+ "name": "Arabas, Sylwester",
8
+ "orcid": "0000-0003-2361-0082"
9
+ },
10
+ {
11
+ "affiliation": "California Institute of Technology, Pasadena, CA, USA",
12
+ "name": "Azimi, Sajjad",
13
+ "orcid": "0000-0002-6329-7775"
14
+ },
15
+ {
16
+ "affiliation": "University of Washington, Seattle, WA, USA",
17
+ "name": "Barr, Jason"
18
+ },
19
+ {
20
+ "affiliation": "Jagiellonian University, Kraków, Poland",
21
+ "name": "Bartman, Piotr",
22
+ "orcid": "0000-0003-0265-6428"
23
+ },
24
+ {
25
+ "affiliation": "California Institute of Technology, Pasadena, CA, USA",
26
+ "name": "Bhalla, Brady"
27
+ },
28
+ {
29
+ "affiliation": "AGH University of Krakow, Poland",
30
+ "name": "Bhiogade, Sanket"
31
+ },
32
+ {
33
+ "affiliation": "Jagiellonian University, Kraków, Poland",
34
+ "name": "Bulenok, Oleksii",
35
+ "orcid": "0000-0003-2272-8548"
36
+ },
37
+ {
38
+ "affiliation": "Columbia University, New York, NY, USA",
39
+ "name": "Buch, Jatan",
40
+ "orcid": "0000-0001-6672-6750"
41
+ },
42
+ {
43
+ "affiliation": "California Institute of Technology, Pasadena, CA, USA",
44
+ "name": "Croci, Caterina"
45
+ },
46
+ {
47
+ "affiliation": "California Institute of Technology, Pasadena, CA, USA",
48
+ "name": "de Jong, Emily",
49
+ "orcid": "0000-0002-5310-4554"
50
+ },
51
+ {
52
+ "affiliation": "Jagiellonian University, Kraków, Poland",
53
+ "name": "Derlatka, Kacper"
54
+ },
55
+ {
56
+ "affiliation": "California Institute of Technology, Pasadena, CA, USA",
57
+ "name": "Dula, Isabella"
58
+ },
59
+ {
60
+ "affiliation": "Jagiellonian University, Kraków, Poland",
61
+ "name": "Górski, Kamil"
62
+ },
63
+ {
64
+ "affiliation": "California Institute of Technology, Pasadena, CA, USA",
65
+ "name": "Jaruga, Anna",
66
+ "orcid": "0000-0003-3194-6440"
67
+ },
68
+ {
69
+ "affiliation": "DTN, Aberdeen, Scotland, UK",
70
+ "name": "Konstantinov, Boris"
71
+ },
72
+ {
73
+ "affiliation": "Columbia University, New York, NY, USA",
74
+ "name": "Loftus, Kaitlyn",
75
+ "orcid": "0000-0002-1927-9326"
76
+ },
77
+ {
78
+ "affiliation": "Johannes Gutenberg University Mainz, Germany",
79
+ "name": "Lüttmer, Tim"
80
+ },
81
+ {
82
+ "affiliation": "Jagiellonian University, Kraków, Poland",
83
+ "name": "Łazarski, Grzegorz",
84
+ "orcid": "0000-0002-5595-371X"
85
+ },
86
+ {
87
+ "affiliation": "California Institute of Technology, Pasadena, CA, USA",
88
+ "name": "Mackay, J. Ben",
89
+ "orcid": "0000-0001-8677-3562"
90
+ },
91
+ {
92
+ "affiliation": "AGH University of Krakow, Poland",
93
+ "name": "Magnuszewski, Paweł",
94
+ "orcid": "0009-0007-9269-6795"
95
+ },
96
+ {
97
+ "affiliation": "California Institute of Technology, Pasadena, CA, USA",
98
+ "name": "Mints, Mikhail"
99
+ },
100
+ {
101
+ "affiliation": "University of Warsaw, Poland",
102
+ "name": "Makulska, Agnieszka"
103
+ },
104
+ {
105
+ "affiliation": "Jagiellonian University, Kraków, Poland",
106
+ "name": "Olesik, Michael",
107
+ "orcid": "0000-0002-6319-9358"
108
+ },
109
+ {
110
+ "affiliation": "Jagiellonian University, Kraków, Poland",
111
+ "name": "Piasecki, Bartosz"
112
+ },
113
+ {
114
+ "affiliation": "AGH University of Krakow, Kraków, Poland",
115
+ "name": "Romaniec, Weronika"
116
+ },
117
+ {
118
+ "affiliation": "NOAA GFDL, Princeton, NJ, USA (2024-); Columbia University, New York, NY, USA (2023-2024); California Institute of Technology, Pasadena, CA, USA (2018-2023)",
119
+ "name": "Singer, Clare E.",
120
+ "orcid": "0000-0002-1708-0997"
121
+ },
122
+ {
123
+ "affiliation": "AGH University of Krakow, Kraków, Poland",
124
+ "name": "Strząbała, Alksandra"
125
+ },
126
+ {
127
+ "affiliation": "Jagiellonian University, Kraków, Poland",
128
+ "name": "Talar, Aleksandra"
129
+ },
130
+ {
131
+ "affiliation": "California Institute of Technology, Pasadena, CA, USA",
132
+ "name": "Ward, Ryan X.",
133
+ "orcid": "0000-0003-2317-3310"
134
+ },
135
+ {
136
+ "affiliation": "University of California Davis, Davis, CA, USA",
137
+ "name": "Ware, Emma C.",
138
+ "orcid": "0009-0000-6556-9730"
139
+ },
140
+ {
141
+ "affiliation": "AGH University of Krakow, Kraków, Poland",
142
+ "name": "Wroński, Michał"
143
+ },
144
+ {
145
+ "affiliation": "AGH University of Krakow, Kraków, Poland",
146
+ "name": "Żaba, Agnieszka",
147
+ "orcid": "0009-0002-0922-4599"
148
+ }
149
+ ],
150
+ "keywords": [
151
+ "cloud microphysics",
152
+ "aerosol microphysics",
153
+ "aerosol-cloud interactions",
154
+ "atmospheric physics",
155
+ "super-droplet method",
156
+ "particle-based simulation",
157
+ "Monte-Carlo"
158
+ ],
159
+ "license": "GPL-3.0-only",
160
+ "upload_type": "software"
161
+ }
PySDM/source/LICENSE ADDED
@@ -0,0 +1,674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
622
+
623
+ How to Apply These Terms to Your New Programs
624
+
625
+ If you develop a new program, and you want it to be of the greatest
626
+ possible use to the public, the best way to achieve this is to make it
627
+ free software which everyone can redistribute and change under these terms.
628
+
629
+ To do so, attach the following notices to the program. It is safest
630
+ to attach them to the start of each source file to most effectively
631
+ state the exclusion of warranty; and each file should have at least
632
+ the "copyright" line and a pointer to where the full notice is found.
633
+
634
+ <one line to give the program's name and a brief idea of what it does.>
635
+ Copyright (C) <year> <name of author>
636
+
637
+ This program is free software: you can redistribute it and/or modify
638
+ it under the terms of the GNU General Public License as published by
639
+ the Free Software Foundation, either version 3 of the License, or
640
+ (at your option) any later version.
641
+
642
+ This program is distributed in the hope that it will be useful,
643
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
644
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645
+ GNU General Public License for more details.
646
+
647
+ You should have received a copy of the GNU General Public License
648
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
649
+
650
+ Also add information on how to contact you by electronic and paper mail.
651
+
652
+ If the program does terminal interaction, make it output a short
653
+ notice like this when it starts in an interactive mode:
654
+
655
+ <program> Copyright (C) <year> <name of author>
656
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
+ This is free software, and you are welcome to redistribute it
658
+ under certain conditions; type `show c' for details.
659
+
660
+ The hypothetical commands `show w' and `show c' should show the appropriate
661
+ parts of the General Public License. Of course, your program's commands
662
+ might be different; for a GUI interface, you would use an "about box".
663
+
664
+ You should also get your employer (if you work as a programmer) or school,
665
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
666
+ For more information on this, and how to apply and follow the GNU GPL, see
667
+ <https://www.gnu.org/licenses/>.
668
+
669
+ The GNU General Public License does not permit incorporating your program
670
+ into proprietary programs. If your program is a subroutine library, you
671
+ may consider it more useful to permit linking proprietary applications with
672
+ the library. If this is what you want to do, use the GNU Lesser General
673
+ Public License instead of this License. But first, please read
674
+ <https://www.gnu.org/licenses/why-not-lgpl.html>.
PySDM/source/PySDM/__init__.py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # pylint:disable=invalid-name
2
+ """
3
+ .. include:: ../docs/markdown/pysdm_landing.md
4
+ """
5
+
6
+ from importlib.metadata import PackageNotFoundError, version
7
+
8
+ from PySDM.attributes.impl.attribute_registry import register_attribute
9
+
10
+ from . import attributes
11
+ from . import environments, exporters, products
12
+ from .builder import Builder
13
+ from .formulae import Formulae
14
+ from .particulator import Particulator
15
+
16
+ try:
17
+ __version__ = version(__name__)
18
+ except PackageNotFoundError:
19
+ # package is not installed
20
+ pass
PySDM/source/PySDM/attributes/__init__.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Classes representing super-particle attributes
3
+ """
4
+
5
+ from .physics import *
6
+ from .numerics import *
7
+ from .ice import *
8
+ from .chemistry import *
9
+ from .isotopes import *
PySDM/source/PySDM/attributes/chemistry/__init__.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ """
2
+ attributes used by the `PySDM.dynamics.aqueous_chemistry` dynamic
3
+ """
4
+
5
+ from .acidity import Acidity
6
+ from .concentration import make_concentration_factory
7
+ from .hydrogen_ion_concentration import HydrogenIonConcentration
PySDM/source/PySDM/attributes/chemistry/acidity.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pH calculated by finding equilibrium hydrogen ion concentration
3
+ """
4
+
5
+ from PySDM.attributes.impl import DerivedAttribute, register_attribute
6
+ from PySDM.backends.impl_numba.methods.chemistry_methods import _conc
7
+ from PySDM.dynamics.impl.chemistry_utils import AQUEOUS_COMPOUNDS
8
+
9
+
10
+ @register_attribute(name="pH")
11
+ class Acidity(DerivedAttribute):
12
+ def __init__(self, builder):
13
+ self.conc = {}
14
+ for key, val in AQUEOUS_COMPOUNDS.items():
15
+ if len(val) > 1:
16
+ self.conc[key] = builder.get_attribute("conc_" + key)
17
+ super().__init__(builder, name="pH", dependencies=self.conc.values())
18
+ self.environment = builder.particulator.environment
19
+ self.cell_id = builder.get_attribute("cell id")
20
+
21
+ def allocate(self, idx):
22
+ super().allocate(idx)
23
+ self.data.fill(self.formulae.constants.pH_w)
24
+
25
+ def recalculate(self):
26
+ dynamic = self.particulator.dynamics["AqueousChemistry"]
27
+
28
+ self.particulator.backend.equilibrate_H(
29
+ equilibrium_consts=dynamic.equilibrium_consts,
30
+ cell_id=self.cell_id.get(),
31
+ conc=_conc(
32
+ N_mIII=self.conc["N_mIII"].get(),
33
+ N_V=self.conc["N_V"].get(),
34
+ C_IV=self.conc["C_IV"].get(),
35
+ S_IV=self.conc["S_IV"].get(),
36
+ S_VI=self.conc["S_VI"].get(),
37
+ ),
38
+ do_chemistry_flag=dynamic.do_chemistry_flag,
39
+ pH=self.data,
40
+ H_min=dynamic.pH_H_min,
41
+ H_max=dynamic.pH_H_max,
42
+ ionic_strength_threshold=dynamic.ionic_strength_threshold,
43
+ rtol=dynamic.pH_rtol,
44
+ )
PySDM/source/PySDM/attributes/chemistry/concentration.py ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ concentrations (intensive, derived attributes)
3
+ """
4
+
5
+ from PySDM.attributes.impl import IntensiveAttribute, register_attribute
6
+ from PySDM.attributes.impl.mole_amount import make_mole_amount_factory
7
+ from PySDM.dynamics.impl.chemistry_utils import AQUEOUS_COMPOUNDS
8
+
9
+
10
+ class ConcentrationImpl(IntensiveAttribute):
11
+ def __init__(self, builder, *, what):
12
+ super().__init__(builder, name="conc_" + what, base="moles_" + what)
13
+
14
+
15
+ def make_concentration_factory(what):
16
+ def _factory(builder):
17
+ return ConcentrationImpl(builder, what=what)
18
+
19
+ return _factory
20
+
21
+
22
+ for compound in AQUEOUS_COMPOUNDS:
23
+ register_attribute(name=f"conc_{compound}")(make_concentration_factory(compound))
24
+
25
+ register_attribute(name=f"moles_{compound}")(make_mole_amount_factory(compound))
PySDM/source/PySDM/attributes/chemistry/hydrogen_ion_concentration.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ hydrogen ion concentration derived from pH
3
+ """
4
+
5
+ from PySDM.attributes.impl import DerivedAttribute, register_attribute
6
+
7
+
8
+ @register_attribute(name="conc_H")
9
+ class HydrogenIonConcentration(DerivedAttribute):
10
+ def __init__(self, builder):
11
+ self.acidity = builder.get_attribute("pH")
12
+ super().__init__(builder, name="conc_H", dependencies=(self.acidity,))
13
+
14
+ def recalculate(self):
15
+ self.data[:] = self.formulae.trivia.pH2H(self.acidity.get().data)
PySDM/source/PySDM/attributes/ice/__init__.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ """
2
+ attributes used by the `PySDM.dynamics.freezing.Freezing` dynamic
3
+ """
4
+
5
+ from .cooling_rate import CoolingRate
6
+ from .freezing_temperature import FreezingTemperature
7
+ from .immersed_surface_area import ImmersedSurfaceArea
PySDM/source/PySDM/attributes/ice/cooling_rate.py ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ cooling rate estimated as the difference in current and previous grid-cell
3
+ temperatures divided by the timestep (i.e. equals zero if particle has not
4
+ moved to a different cell since the last timestep)
5
+ """
6
+
7
+ import numpy as np
8
+ from PySDM.attributes.impl import DerivedAttribute, register_attribute
9
+
10
+
11
+ @register_attribute()
12
+ class CoolingRate(DerivedAttribute):
13
+ def __init__(self, builder):
14
+ self.cell_id = builder.get_attribute("cell id")
15
+ super().__init__(
16
+ builder=builder, name="cooling rate", dependencies=(self.cell_id,)
17
+ )
18
+ self.prev_T = builder.particulator.backend.Storage.from_ndarray(
19
+ np.full(builder.particulator.n_sd, np.nan)
20
+ )
21
+ builder.particulator.observers.append(self)
22
+
23
+ def notify(self):
24
+ """triggers update to ensure recalculation is done before
25
+ overwriting `self.prev_T` with current temperature"""
26
+ self.update()
27
+ cell_id = self.particulator.attributes["cell id"]
28
+ self.prev_T[:] = self.particulator.environment["T"][cell_id]
29
+
30
+ def recalculate(self):
31
+ cell_id = self.particulator.attributes["cell id"]
32
+ env_T = self.particulator.environment["T"]
33
+ self.data[:] = env_T[cell_id]
34
+ self.data -= self.prev_T
35
+ self.data /= -self.particulator.environment.dt
PySDM/source/PySDM/attributes/ice/freezing_temperature.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ particle freezing temperature
3
+ """
4
+
5
+ from PySDM.attributes.impl import MaximumAttribute, register_attribute
6
+ from ..impl import DerivedAttribute
7
+
8
+
9
+ @register_attribute()
10
+ class FreezingTemperature(MaximumAttribute):
11
+ """singular variant: assigned at initialisation, modified through collisions only"""
12
+
13
+ def __init__(self, builder):
14
+ super().__init__(builder, name="freezing temperature")
15
+
16
+
17
+ @register_attribute()
18
+ class TemperatureOfLastFreezing(DerivedAttribute):
19
+ """time-dependent variant: assigned upon freezing"""
20
+
21
+ def __init__(self, builder):
22
+ assert "Freezing" in builder.particulator.dynamics
23
+ assert (
24
+ builder.particulator.dynamics["Freezing"].immersion_freezing != "singular"
25
+ )
26
+ self.signed_water_mass = builder.get_attribute("signed water mass")
27
+ self.cell_id = builder.get_attribute("cell id")
28
+ super().__init__(
29
+ builder,
30
+ name="temperature of last freezing",
31
+ dependencies=(self.signed_water_mass, self.cell_id),
32
+ )
33
+ builder.particulator.observers.append(self)
34
+
35
+ def notify(self):
36
+ self.update()
37
+
38
+ def recalculate(self):
39
+ self.particulator.backend.record_freezing_temperatures(
40
+ data=self.data,
41
+ cell_id=self.cell_id.data,
42
+ temperature=self.particulator.environment["T"],
43
+ signed_water_mass=self.signed_water_mass.data,
44
+ )
PySDM/source/PySDM/attributes/ice/immersed_surface_area.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ immersed INP surface area (assigned at initialisation, modified through collisions only,
3
+ used in time-dependent regime)
4
+ """
5
+
6
+ from ..impl import ExtensiveAttribute, register_attribute
7
+
8
+
9
+ @register_attribute()
10
+ class ImmersedSurfaceArea(ExtensiveAttribute):
11
+ def __init__(self, particles_builder):
12
+ super().__init__(particles_builder, name="immersed surface area")
PySDM/source/PySDM/attributes/impl/__init__.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ common code intended for use from within attribute classes (not in user code)
3
+ """
4
+
5
+ from .attribute import Attribute
6
+ from .base_attribute import BaseAttribute
7
+ from .cell_attribute import CellAttribute
8
+ from .derived_attribute import DerivedAttribute
9
+ from .dummy_attribute import DummyAttribute
10
+ from .extensive_attribute import ExtensiveAttribute
11
+ from .maximum_attribute import MaximumAttribute
12
+ from .attribute_registry import register_attribute, get_attribute_class
13
+ from .intensive_attribute import IntensiveAttribute
14
+ from .temperature_variation_option_attribute import TemperatureVariationOptionAttribute
PySDM/source/PySDM/attributes/impl/attribute.py ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ logic around `PySDM.attributes.impl.attribute.Attribute` - the parent class for all attributes
3
+ """
4
+
5
+
6
+ class Attribute:
7
+ def __init__(self, builder, name, dtype=float, n_vector_components=0):
8
+ self.particulator = builder.particulator
9
+ self.timestamp: int = 0
10
+ self.data = None
11
+ self.dtype = dtype
12
+ self.n_vector_components = n_vector_components
13
+ self.name = name
14
+ self.formulae = self.particulator.formulae
15
+
16
+ def allocate(self, idx):
17
+ if self.n_vector_components >= 1:
18
+ self.data = self.particulator.IndexedStorage.empty(
19
+ idx,
20
+ (self.n_vector_components, self.particulator.n_sd),
21
+ dtype=self.dtype,
22
+ )
23
+ else:
24
+ self.data = self.particulator.IndexedStorage.empty(
25
+ idx, (self.particulator.n_sd,), dtype=self.dtype
26
+ )
27
+
28
+ def set_data(self, data):
29
+ self.data = data
30
+
31
+ def get(self):
32
+ self.update()
33
+ return self.data
34
+
35
+ def update(self):
36
+ pass
37
+
38
+ def mark_updated(self):
39
+ self.timestamp += 1
40
+
41
+ def __str__(self):
42
+ return self.name
PySDM/source/PySDM/attributes/impl/attribute_registry.py ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """definition of decorator used to register PySDM attribute classes"""
2
+
3
+ import warnings
4
+
5
+ from PySDM.impl.camel_case import camel_case_to_words
6
+
7
+ _ATTRIBUTES_REGISTRY = {}
8
+
9
+
10
+ def _make_dummy_attribute_factory(name):
11
+ # pylint: disable=import-outside-toplevel
12
+ from PySDM.attributes.impl.dummy_attribute import DummyAttribute
13
+
14
+ def _factory(builder):
15
+ return DummyAttribute(builder, name=name)
16
+
17
+ return _factory
18
+
19
+
20
+ def register_attribute(*, name=None, variant=None, dummy_default=False, warn=False):
21
+ if variant is not None:
22
+ assert name is not None
23
+ if dummy_default:
24
+ assert variant is not None
25
+ if warn:
26
+ assert dummy_default
27
+
28
+ def decorator(cls):
29
+ key = name or camel_case_to_words(cls.__name__)
30
+
31
+ if key not in _ATTRIBUTES_REGISTRY:
32
+ _ATTRIBUTES_REGISTRY[key] = {}
33
+ elif cls in _ATTRIBUTES_REGISTRY[key]:
34
+ raise ValueError(f"attribute {key} already exists!")
35
+ _ATTRIBUTES_REGISTRY[key][cls] = variant or (lambda _, __: cls)
36
+ if dummy_default:
37
+ _ATTRIBUTES_REGISTRY[key][_make_dummy_attribute_factory(key)] = (
38
+ lambda _, __: (
39
+ warnings.warn(
40
+ f"dummy implementation used for requested attribute named '{name}'"
41
+ )
42
+ if warn
43
+ else None
44
+ )
45
+ is None
46
+ and not variant(_, __)
47
+ )
48
+ return cls
49
+
50
+ return decorator
51
+
52
+
53
+ def get_attribute_class(name, dynamics=None, formulae=None):
54
+ if name not in _ATTRIBUTES_REGISTRY:
55
+ raise ValueError(
56
+ f"Unknown attribute name: {name};"
57
+ f" valid names: {', '.join(sorted(_ATTRIBUTES_REGISTRY))}"
58
+ )
59
+ for cls, func in _ATTRIBUTES_REGISTRY[name].items():
60
+ if func(dynamics, formulae):
61
+ return cls
62
+ assert False
PySDM/source/PySDM/attributes/impl/base_attribute.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ logic around `PySDM.attributes.impl.base_attribute.BaseAttribute` - the parent class
3
+ for non-derived attributes
4
+ """
5
+
6
+ from .attribute import Attribute
7
+
8
+
9
+ class BaseAttribute(Attribute):
10
+ def __init__(self, builder, name, dtype=float, n_vector_components=0):
11
+ super().__init__(
12
+ builder, name=name, dtype=dtype, n_vector_components=n_vector_components
13
+ )
14
+
15
+ def init(self, data):
16
+ self.data.upload(data)
17
+ self.mark_updated()
PySDM/source/PySDM/attributes/impl/cell_attribute.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ logic around `PySDM.attributes.impl.cell_attribute.CellAttribute` - the parent class
3
+ for grid-particle mapping attributes
4
+ """
5
+
6
+ from .base_attribute import BaseAttribute
7
+
8
+
9
+ class CellAttribute(BaseAttribute):
10
+ pass
PySDM/source/PySDM/attributes/impl/derived_attribute.py ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ logic around `PySDM.attributes.impl.derived_attribute.DerivedAttribute` - the parent class
3
+ for all derived attributes
4
+ """
5
+
6
+ from .attribute import Attribute
7
+
8
+
9
+ class DerivedAttribute(Attribute):
10
+ def __init__(self, builder, name, dependencies):
11
+ assert len(dependencies) > 0
12
+ super().__init__(builder, name)
13
+ self.dependencies = dependencies
14
+
15
+ def update(self):
16
+ for dependency in self.dependencies:
17
+ dependency.update()
18
+ dependencies_timestamp = sum(
19
+ dependency.timestamp for dependency in self.dependencies
20
+ )
21
+ if self.timestamp < dependencies_timestamp:
22
+ self.timestamp = dependencies_timestamp
23
+ self.recalculate()
24
+
25
+ def recalculate(self):
26
+ raise NotImplementedError()
27
+
28
+ def mark_updated(self):
29
+ raise AssertionError()
PySDM/source/PySDM/attributes/impl/dummy_attribute.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """logic around `PySDM.attributes.impl.dummy_attribute.DummyAttribute` - parent class
2
+ for do-nothing attributes"""
3
+
4
+ import numpy as np
5
+
6
+ from .attribute import Attribute
7
+
8
+
9
+ class DummyAttribute(Attribute):
10
+ def __init__(self, builder, name):
11
+ super().__init__(builder, name)
12
+
13
+ def allocate(self, idx):
14
+ super().allocate(idx)
15
+ self.data[:] = np.nan
16
+
17
+ def get(self):
18
+ return self.data
PySDM/source/PySDM/attributes/impl/extensive_attribute.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ logic around `PySDM.attributes.impl.extensive_attribute.ExtensiveAttribute` - parent class
3
+ for all extensive attributes
4
+ """
5
+
6
+ from .base_attribute import BaseAttribute
7
+
8
+
9
+ class ExtensiveAttribute(BaseAttribute):
10
+ pass
PySDM/source/PySDM/attributes/impl/intensive_attribute.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ logic around `PySDM.attributes.impl.intensive_attribute.IntensiveAttribute` - parent class
3
+ for all intensive attributes
4
+ """
5
+
6
+ from .derived_attribute import DerivedAttribute
7
+
8
+
9
+ class IntensiveAttribute(DerivedAttribute):
10
+ def __init__(self, builder, name: str, base: str):
11
+ self.volume = builder.get_attribute("volume")
12
+ self.base = builder.get_attribute(base)
13
+ super().__init__(builder, name, dependencies=(self.volume, self.base))
14
+
15
+ def recalculate(self):
16
+ self.data.ratio(self.base.get(), self.volume.get())
PySDM/source/PySDM/attributes/impl/maximum_attribute.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ logic around `PySDM.attributes.impl.maximum_attribute.MaximumAttribute` - parent class
3
+ for attributes for which under coalescence the newly collided particle's attribute
4
+ value is set to maximum of values of colliding particle (e.g., freezing temperature
5
+ in singular immersion freezing)
6
+ """
7
+
8
+ from .base_attribute import BaseAttribute
9
+
10
+
11
+ class MaximumAttribute(BaseAttribute):
12
+ pass
PySDM/source/PySDM/attributes/impl/mole_amount.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ mole amounts (extensive, base attributes)
3
+ """
4
+
5
+ from PySDM.attributes.impl.extensive_attribute import ExtensiveAttribute
6
+
7
+
8
+ class MoleAmountImpl(ExtensiveAttribute):
9
+ def __init__(self, builder, *, name):
10
+ super().__init__(builder, name=name)
11
+
12
+
13
+ def make_mole_amount_factory(compound):
14
+ def _factory(builder):
15
+ return MoleAmountImpl(builder, name="moles_" + compound)
16
+
17
+ return _factory
PySDM/source/PySDM/attributes/impl/temperature_variation_option_attribute.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """common code for attributes offering an option to neglect temperature variation,
2
+ intended for use with Parcel environment only"""
3
+
4
+
5
+ class TemperatureVariationOptionAttribute: # pylint: disable=too-few-public-methods
6
+ """base class"""
7
+
8
+ def __init__(self, builder, neglect_temperature_variations: bool):
9
+ if neglect_temperature_variations:
10
+ assert builder.particulator.environment.mesh.dimension == 0
11
+ self.neglect_temperature_variations = neglect_temperature_variations
12
+ self.initial_temperature = (
13
+ builder.particulator.Storage.from_ndarray(
14
+ builder.particulator.environment["T"].to_ndarray()
15
+ )
16
+ if neglect_temperature_variations
17
+ else None
18
+ )
PySDM/source/PySDM/attributes/isotopes/__init__.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ """
2
+ isotopic fractionation related attributes
3
+ """
4
+
5
+ from .moles import Moles1H, Moles16O, MolesLightWater
6
+ from ..isotopes import delta
PySDM/source/PySDM/attributes/isotopes/delta.py ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ per-droplet isotopic ratio of heavy-to-light isotope number concentrations
3
+ expressed vs the VSMOW reference in SI units (i.e., not per mille)
4
+ """
5
+
6
+ from PySDM.attributes.impl import DerivedAttribute, register_attribute
7
+ from PySDM.dynamics.isotopic_fractionation import HEAVY_ISOTOPES
8
+
9
+
10
+ class DeltaImpl(DerivedAttribute):
11
+ def __init__(self, builder, *, heavy_isotope):
12
+ assert heavy_isotope[:-1].isnumeric()
13
+ if heavy_isotope[-1] == "H":
14
+ light_isotope = "1H"
15
+ elif heavy_isotope[-1] == "O":
16
+ light_isotope = "16O"
17
+ else:
18
+ raise NotImplementedError()
19
+
20
+ self.heavy_isotope = builder.get_attribute(f"moles_{heavy_isotope}")
21
+ self.light_isotope = builder.get_attribute(f"moles_{light_isotope}")
22
+ super().__init__(
23
+ builder,
24
+ name="delta_" + heavy_isotope,
25
+ dependencies=(
26
+ self.heavy_isotope,
27
+ self.light_isotope,
28
+ ),
29
+ )
30
+
31
+ self.reference_ratio = getattr(
32
+ self.formulae.constants, f"VSMOW_R_{heavy_isotope}"
33
+ )
34
+
35
+ def recalculate(self):
36
+ self.data.ratio(self.heavy_isotope.get(), self.light_isotope.get())
37
+ self.particulator.backend.isotopic_delta(
38
+ self.data, self.data, self.reference_ratio
39
+ )
40
+
41
+
42
+ def make_delta_factory(what):
43
+ def _factory(builder):
44
+ return DeltaImpl(builder, heavy_isotope=what)
45
+
46
+ return _factory
47
+
48
+
49
+ for isotope in HEAVY_ISOTOPES:
50
+ register_attribute(name=f"delta_{isotope}")(make_delta_factory(isotope))
PySDM/source/PySDM/attributes/isotopes/moles.py ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ derived attributes providing amounts of light isotopes in water (1H and 16O)
3
+
4
+ (water mass) = (
5
+ moles_H2O * (2 * molar_mass_1H + molar_mass_16O) +
6
+ moles_2H * (molar_mass_1H + molar_mass_2H + molar_mass_16O) +
7
+ moles_3H * (molar_mass_1H + molar_mass_3H + molar_mass_16O) +
8
+ moles_17O * (2 * molar_mass_1H + molar_mass_17O) +
9
+ moles_18O * (2 * molar_mass_1H + molar_mass_18O)
10
+ )
11
+
12
+ moles_H2O = (
13
+ water_mass
14
+ - moles_2H * (molar_mass_1H + molar_mass_2H + molar_mass_16O)
15
+ - moles_3H * (molar_mass_1H + molar_mass_3H + molar_mass_16O)
16
+ - moles_17O * (2 * molar_mass_1H + molar_mass_17O)
17
+ - moles_18O * (2 * molar_mass_1H + molar_mass_18O)
18
+ ) / (2 * molar_mass_1H + molar_mass_16O)
19
+
20
+ moles_1H = 2 * (moles_H2O + moles_17O + moles_18O) + moles_2H + moles_3H
21
+ moles_16O = moles_2H + moles_3H + moles_H2O
22
+ """
23
+
24
+ from PySDM.attributes.impl import DerivedAttribute, register_attribute
25
+ from PySDM.attributes.impl.mole_amount import make_mole_amount_factory
26
+ from PySDM.dynamics.isotopic_fractionation import HEAVY_ISOTOPES
27
+
28
+
29
+ class Helper(DerivedAttribute):
30
+ def __init__(self, builder, name, attrs_to_multiplier):
31
+ self.attrs_to_multiplier = attrs_to_multiplier
32
+ super().__init__(
33
+ builder=builder,
34
+ name=name,
35
+ dependencies=attrs_to_multiplier.keys(),
36
+ )
37
+
38
+ def recalculate(self):
39
+ self.data.fill(0)
40
+ for attr, mult in self.attrs_to_multiplier.items():
41
+ self.data += (mult, "*", attr.data)
42
+
43
+
44
+ @register_attribute()
45
+ class MolesLightWater(Helper):
46
+ def __init__(self, builder):
47
+ const = builder.formulae.constants
48
+ super().__init__(
49
+ builder=builder,
50
+ name="moles light water",
51
+ attrs_to_multiplier={
52
+ builder.get_attribute("moles_2H"): -const.M_2H_1H_16O / const.M_1H2_16O,
53
+ builder.get_attribute("moles_3H"): -const.M_3H_1H_16O / const.M_1H2_16O,
54
+ builder.get_attribute("moles_17O"): -const.M_1H2_17O / const.M_1H2_16O,
55
+ builder.get_attribute("moles_18O"): -const.M_1H2_18O / const.M_1H2_16O,
56
+ builder.get_attribute("signed water mass"): 1 / const.M_1H2_16O,
57
+ },
58
+ )
59
+
60
+
61
+ @register_attribute(name="moles_1H")
62
+ class Moles1H(Helper):
63
+ def __init__(self, builder):
64
+ super().__init__(
65
+ builder=builder,
66
+ name="moles_1H",
67
+ attrs_to_multiplier={
68
+ builder.get_attribute("moles_17O"): 2.0,
69
+ builder.get_attribute("moles_18O"): 2.0,
70
+ builder.get_attribute("moles_2H"): 1.0,
71
+ builder.get_attribute("moles_3H"): 1.0,
72
+ builder.get_attribute("moles light water"): 2.0,
73
+ },
74
+ )
75
+
76
+
77
+ @register_attribute(name="moles_16O")
78
+ class Moles16O(Helper):
79
+ def __init__(self, builder):
80
+ super().__init__(
81
+ builder=builder,
82
+ name="moles_16O",
83
+ attrs_to_multiplier={
84
+ builder.get_attribute("moles_2H"): 1.0,
85
+ builder.get_attribute("moles_3H"): 1.0,
86
+ builder.get_attribute("moles light water"): 1.0,
87
+ },
88
+ )
89
+
90
+
91
+ for isotope in HEAVY_ISOTOPES:
92
+ register_attribute(name=f"moles_{isotope}")(make_mole_amount_factory(isotope))
PySDM/source/PySDM/attributes/numerics/__init__.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ """
2
+ attributes used for tracking cell-particle mapping in multi-dimensional simulations
3
+ """
4
+
5
+ from .cell_id import CellId
6
+ from .cell_origin import CellOrigin
7
+ from .position_in_cell import PositionInCell
PySDM/source/PySDM/attributes/numerics/cell_id.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ grid cell id attribute
3
+ """
4
+
5
+ from PySDM.attributes.impl import CellAttribute, register_attribute
6
+
7
+
8
+ @register_attribute()
9
+ class CellId(CellAttribute):
10
+ def __init__(self, builder):
11
+ super().__init__(builder, name="cell id", dtype=int)
12
+
13
+ def recalculate(self):
14
+ pass
PySDM/source/PySDM/attributes/numerics/cell_origin.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ grid-cell origin (multi-dimensional)
3
+ """
4
+
5
+ from PySDM.attributes.impl import CellAttribute, register_attribute
6
+
7
+
8
+ @register_attribute()
9
+ class CellOrigin(CellAttribute):
10
+ def __init__(self, builder):
11
+ super().__init__(
12
+ builder,
13
+ name="cell origin",
14
+ dtype=int,
15
+ n_vector_components=builder.particulator.mesh.dim,
16
+ )
PySDM/source/PySDM/attributes/numerics/position_in_cell.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ position-within-cell attribute (multi-dimensional, values normalised to one)
3
+ """
4
+
5
+ from PySDM.attributes.impl import CellAttribute, register_attribute
6
+
7
+
8
+ @register_attribute()
9
+ class PositionInCell(CellAttribute):
10
+ def __init__(self, builder):
11
+ super().__init__(
12
+ builder,
13
+ name="position in cell",
14
+ n_vector_components=builder.particulator.mesh.dim,
15
+ )
PySDM/source/PySDM/attributes/physics/__init__.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ attributes carrying information on particle physical properties
3
+ """
4
+
5
+ from .area import Area
6
+ from .critical_saturation import CriticalSaturation
7
+ from .critical_volume import CriticalVolume, WetToCriticalVolumeRatio
8
+ from .dry_radius import DryRadius
9
+ from .dry_volume import DryVolume
10
+ from .equilibrium_saturation import EquilibriumSaturation
11
+ from .heat import Heat
12
+ from .hygroscopicity import Kappa, KappaTimesDryVolume
13
+ from .water_mass import SignedWaterMass
14
+ from .multiplicity import Multiplicity
15
+ from .radius import Radius, SquareRootOfRadius
16
+ from .relative_fall_velocity import RelativeFallMomentum, RelativeFallVelocity
17
+ from .temperature import Temperature
18
+ from .terminal_velocity import TerminalVelocity
19
+ from .volume import Volume
20
+ from .reynolds_number import ReynoldsNumber
21
+ from .diffusional_growth_mass_change import DiffusionalGrowthMassChange
PySDM/source/PySDM/attributes/physics/area.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ particle wet radius (calculated from the volume)
3
+ """
4
+
5
+ from PySDM.attributes.impl import DerivedAttribute, register_attribute
6
+
7
+
8
+ @register_attribute()
9
+ class Area(DerivedAttribute):
10
+ def __init__(self, builder):
11
+ self.volume = builder.get_attribute("volume")
12
+ dependencies = [self.volume]
13
+ super().__init__(builder, name="area", dependencies=dependencies)
14
+
15
+ def recalculate(self):
16
+ self.data.product(self.volume.get(), 1 / self.formulae.constants.PI_4_3)
17
+ self.data **= 2 / 3
18
+ self.data *= self.formulae.constants.PI_4_3 * 3
PySDM/source/PySDM/attributes/physics/critical_saturation.py ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ kappa-Koehler critical saturation calculated for either initial or actual environment temperature
3
+ """
4
+
5
+ from PySDM.attributes.impl import (
6
+ DerivedAttribute,
7
+ register_attribute,
8
+ TemperatureVariationOptionAttribute,
9
+ )
10
+
11
+
12
+ @register_attribute()
13
+ class CriticalSaturation(DerivedAttribute, TemperatureVariationOptionAttribute):
14
+ def __init__(self, builder, neglect_temperature_variations=False):
15
+ assert builder.particulator.mesh.dimension == 0
16
+
17
+ self.v_crit = builder.get_attribute("critical volume")
18
+ self.v_dry = builder.get_attribute("dry volume")
19
+ self.kappa = builder.get_attribute("kappa")
20
+ self.f_org = builder.get_attribute("dry volume organic fraction")
21
+ TemperatureVariationOptionAttribute.__init__(
22
+ self, builder, neglect_temperature_variations
23
+ )
24
+ DerivedAttribute.__init__(
25
+ self,
26
+ builder=builder,
27
+ name="critical saturation",
28
+ dependencies=(self.v_crit, self.kappa, self.v_dry, self.f_org),
29
+ )
30
+
31
+ def recalculate(self):
32
+ temperature = (
33
+ self.initial_temperature
34
+ if self.neglect_temperature_variations
35
+ else self.particulator.environment["T"]
36
+ )
37
+ r_cr = self.formulae.trivia.radius(self.v_crit.data.data)
38
+ rd3 = self.v_dry.data.data / self.formulae.constants.PI_4_3
39
+ sgm = self.formulae.surface_tension.sigma(
40
+ temperature.data,
41
+ self.v_crit.data.data,
42
+ self.v_dry.data.data,
43
+ self.f_org.data.data,
44
+ )
45
+
46
+ self.data.data[:] = self.formulae.hygroscopicity.RH_eq(
47
+ r_cr, T=temperature.data, kp=self.kappa.data.data, rd3=rd3, sgm=sgm
48
+ )
49
+
50
+
51
+ @register_attribute()
52
+ class CriticalSaturationNeglectingTemperatureVariations(CriticalSaturation):
53
+ def __init__(self, builder):
54
+ super().__init__(builder, neglect_temperature_variations=True)