|
1 year ago | |
---|---|---|
opencl_fdtd | 1 year ago | |
.gitignore | 1 year ago | |
LICENSE.md | 4 years ago | |
README.md | 3 years ago | |
fdtd.py | 2 years ago | |
pcgen.py | 4 years ago | |
requirements.txt | 3 years ago | |
setup.py | 2 years ago |
opencl_fdtd is a python application for running 3D time-domain electromagnetic simulations on parallel compute hardware (mainly GPUs).
Performance highly depends on what hardware you have available:
Capabilities are currently pretty minimal:
Requirements:
Optional (used for examples):
To get the code, just clone this repository:
git clone https://mpxd.net/code/jan/opencl_fdtd.git
You can install the requirements and their dependencies easily with
pip install -r requirements.txt
The root directory contains fdtd.py
, which sets up and runs a sample simulation
(cavity ringdown).
python3 fdtd.py