diff --git a/github-workflows_ci.yml b/.github/workflows/ci.yml similarity index 100% rename from github-workflows_ci.yml rename to .github/workflows/ci.yml diff --git a/core__init__.py b/core/__init__.py similarity index 100% rename from core__init__.py rename to core/__init__.py diff --git a/core_gray_scott.py b/core/gray_scott.py similarity index 100% rename from core_gray_scott.py rename to core/gray_scott.py diff --git a/core_laplacian.py b/core/laplacian.py similarity index 100% rename from core_laplacian.py rename to core/laplacian.py diff --git a/core_parameters.py b/core/parameters.py similarity index 100% rename from core_parameters.py rename to core/parameters.py diff --git a/core_seeding.py b/core/seeding.py similarity index 100% rename from core_seeding.py rename to core/seeding.py diff --git a/cpu__init__.py b/cpu/__init__.py similarity index 100% rename from cpu__init__.py rename to cpu/__init__.py diff --git a/benchmark_results.md b/cpu/benchmarks/benchmark_results.md similarity index 100% rename from benchmark_results.md rename to cpu/benchmarks/benchmark_results.md diff --git a/cpu_cython_accelerated.pyx b/cpu/cython_accelerated.pyx similarity index 100% rename from cpu_cython_accelerated.pyx rename to cpu/cython_accelerated.pyx diff --git a/cpu_fortran_backend.f90 b/cpu/fortran_backend.f90 similarity index 100% rename from cpu_fortran_backend.f90 rename to cpu/fortran_backend.f90 diff --git a/cpu_numpy_vectorized.py b/cpu/numpy_vectorized.py similarity index 100% rename from cpu_numpy_vectorized.py rename to cpu/numpy_vectorized.py diff --git a/01-mathematical-foundations.md b/docs/01-mathematical-foundations.md similarity index 100% rename from 01-mathematical-foundations.md rename to docs/01-mathematical-foundations.md diff --git a/02-gray-scott-deep-dive.md b/docs/02-gray-scott-deep-dive.md similarity index 100% rename from 02-gray-scott-deep-dive.md rename to docs/02-gray-scott-deep-dive.md diff --git a/03-pearson-classification.md b/docs/03-pearson-classification.md similarity index 100% rename from 03-pearson-classification.md rename to docs/03-pearson-classification.md diff --git a/04-bifurcation-theory.md b/docs/04-bifurcation-theory.md similarity index 100% rename from 04-bifurcation-theory.md rename to docs/04-bifurcation-theory.md diff --git a/05-topological-defects.md b/docs/05-topological-defects.md similarity index 100% rename from 05-topological-defects.md rename to docs/05-topological-defects.md diff --git a/06-implementation-patterns.md b/docs/06-implementation-patterns.md similarity index 100% rename from 06-implementation-patterns.md rename to docs/06-implementation-patterns.md diff --git a/07-coloring-strategies.md b/docs/07-coloring-strategies.md similarity index 100% rename from 07-coloring-strategies.md rename to docs/07-coloring-strategies.md diff --git a/08-spatial-parameter-sweeps.md b/docs/08-spatial-parameter-sweeps.md similarity index 100% rename from 08-spatial-parameter-sweeps.md rename to docs/08-spatial-parameter-sweeps.md diff --git a/09-alternative-models.md b/docs/09-alternative-models.md similarity index 100% rename from 09-alternative-models.md rename to docs/09-alternative-models.md diff --git a/10-blur-sharpen-equivalence.md b/docs/10-blur-sharpen-equivalence.md similarity index 100% rename from 10-blur-sharpen-equivalence.md rename to docs/10-blur-sharpen-equivalence.md diff --git a/example_threejs-webgl.html b/examples/threejs-webgl/index.html similarity index 100% rename from example_threejs-webgl.html rename to examples/threejs-webgl/index.html diff --git a/gpu__init__.py b/gpu/__init__.py similarity index 100% rename from gpu__init__.py rename to gpu/__init__.py diff --git a/gpu_speedups.md b/gpu/benchmarks/gpu_speedups.md similarity index 100% rename from gpu_speedups.md rename to gpu/benchmarks/gpu_speedups.md diff --git a/gpu/pytorch/__init__.py b/gpu/pytorch/__init__.py new file mode 100644 index 0000000..77199a5 --- /dev/null +++ b/gpu/pytorch/__init__.py @@ -0,0 +1,7 @@ +""" +PyTorch GPU implementations for Gray-Scott reaction-diffusion. +""" +from .gray_scott_torch import GrayScottTorch +from .pearson_plot_gpu import PearsonPlotGPU + +__all__ = ['GrayScottTorch', 'PearsonPlotGPU'] diff --git a/gpu_gray_scott_torch.py b/gpu/pytorch/gray_scott_torch.py similarity index 100% rename from gpu_gray_scott_torch.py rename to gpu/pytorch/gray_scott_torch.py diff --git a/gpu_pearson_plot_gpu.py b/gpu/pytorch/pearson_plot_gpu.py similarity index 100% rename from gpu_pearson_plot_gpu.py rename to gpu/pytorch/pearson_plot_gpu.py diff --git a/webgpu_compute.wgsl b/gpu/webgpu/compute.wgsl similarity index 100% rename from webgpu_compute.wgsl rename to gpu/webgpu/compute.wgsl diff --git a/webgpu_pipeline.js b/gpu/webgpu/pipeline.js similarity index 100% rename from webgpu_pipeline.js rename to gpu/webgpu/pipeline.js diff --git a/models__init__.py b/models/__init__.py similarity index 100% rename from models__init__.py rename to models/__init__.py diff --git a/model_belousov_zhabotinsky.py b/models/belousov_zhabotinsky.py similarity index 100% rename from model_belousov_zhabotinsky.py rename to models/belousov_zhabotinsky.py diff --git a/model_cahn_hilliard.py b/models/cahn_hilliard.py similarity index 100% rename from model_cahn_hilliard.py rename to models/cahn_hilliard.py diff --git a/model_fitzHugh_nagumo.py b/models/fitzHugh_nagumo.py similarity index 100% rename from model_fitzHugh_nagumo.py rename to models/fitzHugh_nagumo.py diff --git a/model_schnakenberg.py b/models/schnakenberg.py similarity index 100% rename from model_schnakenberg.py rename to models/schnakenberg.py diff --git a/presets__init__.py b/presets/__init__.py similarity index 100% rename from presets__init__.py rename to presets/__init__.py diff --git a/preset_named-behaviors.json b/presets/named-behaviors.json similarity index 100% rename from preset_named-behaviors.json rename to presets/named-behaviors.json diff --git a/preset_pearson-types.json b/presets/pearson-types.json similarity index 100% rename from preset_pearson-types.json rename to presets/pearson-types.json diff --git a/shaders__init__.py b/shaders/__init__.py similarity index 100% rename from shaders__init__.py rename to shaders/__init__.py diff --git a/shader_color-ramps.glsl b/shaders/color-ramps.glsl similarity index 100% rename from shader_color-ramps.glsl rename to shaders/color-ramps.glsl diff --git a/shader_display-munafo.frag b/shaders/display-munafo.frag similarity index 100% rename from shader_display-munafo.frag rename to shaders/display-munafo.frag diff --git a/shader_gray-scott-sim.frag b/shaders/gray-scott-sim.frag similarity index 100% rename from shader_gray-scott-sim.frag rename to shaders/gray-scott-sim.frag diff --git a/tests__init__.py b/tests/__init__.py similarity index 100% rename from tests__init__.py rename to tests/__init__.py diff --git a/test_convergence.py b/tests/test_convergence.py similarity index 100% rename from test_convergence.py rename to tests/test_convergence.py diff --git a/test_laplacian.py b/tests/test_laplacian.py similarity index 100% rename from test_laplacian.py rename to tests/test_laplacian.py diff --git a/test_presets.py b/tests/test_presets.py similarity index 100% rename from test_presets.py rename to tests/test_presets.py diff --git a/tools__init__.py b/tools/__init__.py similarity index 100% rename from tools__init__.py rename to tools/__init__.py diff --git a/tool_parameter_scanner.py b/tools/parameter_scanner.py similarity index 100% rename from tool_parameter_scanner.py rename to tools/parameter_scanner.py diff --git a/tool_profiler.py b/tools/profiler.py similarity index 100% rename from tool_profiler.py rename to tools/profiler.py diff --git a/tool_video_generator.py b/tools/video_generator.py similarity index 100% rename from tool_video_generator.py rename to tools/video_generator.py