Repository navigation
Releases
v.0.11.0
Update highlights:
- GPU runtime is identical to CPU with RK4, not just Euler.
- GPU supports temperature tracking.
- Test suite for various scenarios and GPU.
- Deep refactoring for better architecture and maintainability.
- Fixed semi-surface supported diffusion yielding inaccurate results for some geometries.
- Fixed a rare IndexError stemming from the Monte Carlo module.
GPU Acceleration
- GPU precursor calculation kernel now implements the RK4 + FTCS solution scheme that is identical to the CPU implementation, yielding identical results.
- GPU computation path now has kernels that accept arrays of residence time and diffusion coefficient, enabling support for thermally-activated process.
- Cellular automata remains CPU-only.
Semi-surface fix
The bug was causing artificial precursor depletion in semi-surface cells due to inclusion of semi-surface cells in the RDE, which was especially pronounced with higher beam currents.
- New solution algorithm clearly divides cells according to their usage: surface+semi-surface for diffusion, surface for RDE.
Refactoring
Improvements are introducing a dedicated architecture, clearer abstractions, transparent pipelines, better modularity, extensibility and significantly easier debugging.
- Process class refactored into 7 smaller dedicated classes.
- The simulation launch pipeline is segmented into reasonable and clear stages, represented by a dedicated class.
- MainPanel class refactored and its functionality distributed.
- Introduced application-wide logging.
- Introduced a dedicated time-stepper for intrinsic time tracking, thread sync and orchestration.
- Most cell configuration defining functions moved from Structure class to MLCCA class for clearer separation of concerns.
Testing
Added various testing scenarios:
- Deposition with and without CA
- Analytical vs numerical solution
- GPU vs CPU
- Flat substrate vs a single deposit layer
- Varying diffusion coefficients
- Added a sample Gaussian beam flux
v0.10.0
Update highlights:
- Optimized GPU memory transfer
- Faster Cellular Automata
- New frame rate slider and Surface deposit visualization
Visualization Enhancements
- Introduced option to toggle between precursor coverage and surface deposit visualizations. The latter is especially helpful for 2D patterning.
- Added frame rate control via a slider for setting desired update frequency. The higher the frame rate the slower the simulation.
- Scalar bars now hide along with data layers in
show_file, improving clarity.
GPU Acceleration and Memory Optimization
- Significantly reduced memory transfer between GPU and CPU by only copying affected array chunks.
- Centralized GPU memory management to
ProcessandGPUclasses—removing logic fromStructureclass. GPUclass underwent major refactoring for clarity and performance.- When using GPU, full data offloading now happens only when statistics save or visualization update are requested.
Auxiliary Operations Optimized
- Sparse data handling improved with broader use of indexed array processing.
- Optimized algorithms for index generation and cell-fill checks, reducing overhead.
- Code refactored to prevent redundant index regeneration.
Minor & fixes
- Custom suffixes can be added to stream scan filenames for better data tracking.
- ETrajMap3d class refactored for maintainability.
- Added missing pyopencl to requirements.txt.
- GPU kernels are now bundled in the distribution package.
- UI bug fixed: correct pattern parameter is now read.
0.9.6
Current 0.9.6 release introduces an experimental feature to run the simulation on the GPU.
The offload of the calculation to a GPU is partial, only RDE solution and deposit calulation are ported so far. Monte Carlo module is executed on the CPU.
So far snapshot saving, statistics record and visualization on demand are supported when running on GPU.
The initial code base for enabling GPU computations for FEBID was written by @vadkra. Current version is refactored and slightly optimized.
0.9.4
New features:
- Main window remains responsive when simulation is running thanks to separation of the process visualization code from the deposition code.
- Simulation can be stopped and restarted from the interface without killing the program.
- Visualization window can be closed and reopened at any time to inspect the progress.
- Added statusbar messages.
Fixes:
- Interface inconsistency in some of the edge cases
0.9.2
Fixes:
- Intervals for statistics recording and snapshot saving are now working correctly.
- Fixed issues with importing a structure from a third-party VTK file.
- Fixed numpy version to 1.26.4, as the new 2.0.0 verison is not backward compatible and was breaking the build.
0.9.1
0.9.0
0.8.2
FEBID Simulation initial release
Release version: - Added a workflow to package and publish on PyPi. - Changed ':' to '.' in structure snapshot save names to fix compatability with windows. - Added requirements.txt