1.5 KiB
1.5 KiB
Legacy Code Archive
This directory contains code that has been superseded by the current architecture but is kept for reference.
Contents
| File / Dir | Replaced By | Reason |
|---|---|---|
lbm_driver.py |
src/CelerisLab/simulation.py + lbm/field.py + lbm/stepper.py |
Monolithic FlowField class. New Simulation API separates concerns: CudaContext / LBMField / LBMStepper / ObjectManager. |
cuda_compiler_v1.py |
src/CelerisLab/cuda/compiler_v2.py |
macros.h-based build system. New compiler writes typed config/*.h headers per architectural layer. |
macros.h |
src/CelerisLab/lbm/kernels/config/*.h |
Single flat macro file. Now split into config_grid.h / config_physics.h / config_method.h / config_objects.h matching the Global/Method/Case/Debug parameter hierarchy. |
common_utils.py |
src/CelerisLab/config.py + src/CelerisLab/cuda/context.py |
FlowFieldConfig / CudaConfig NamedTuples and their JSON loaders. Replaced by LBMConfig / BodyConfig dataclasses (config.py) and CudaContext (cuda/context.py). |
lbm_configs/ |
src/CelerisLab/configs/ |
Old JSON config format used by FlowField / compiler_v1. |
Notes
- None of these files is imported by any active module.
lbm_driver.py(FlowField) depended oncuda_compiler_v1.pyandcommon_utils.py; all three were removed from src together.macros.hwas the old single-file configuration forkernel_v2.cu; kernel_v2.cu now includesconfig.hwhich aggregatesconfig/*.h.