-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24760 from ax3l/add-waket
Add Wake-T
- Loading branch information
Showing
3 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{% set version = "0.7.1" %} | ||
|
||
package: | ||
name: wake-t | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/AngelFP/Wake-T/archive/refs/tags/v{{ version }}.tar.gz | ||
sha256: 9386cc52ca98e272518686da3e02a690363ecde689f7b03b07aeb2ecece2ee05 | ||
|
||
build: | ||
number: 0 | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install . -vv | ||
|
||
requirements: | ||
host: | ||
- pip | ||
- python >=3.8 | ||
- setuptools | ||
run: | ||
- aptools | ||
- numba | ||
- numpy | ||
- openpmd-api | ||
- python >=3.8 | ||
- scipy | ||
- tqdm | ||
|
||
test: | ||
requires: | ||
- matplotlib-base | ||
- openpmd-viewer | ||
- python | ||
- pytest | ||
source_files: | ||
- examples/ | ||
- tests/ | ||
imports: | ||
- wake_t | ||
|
||
about: | ||
home: https://wake-t.readthedocs.io | ||
license: GPL-3.0-or-later | ||
license_family: GPL3 | ||
license_file: LICENSE | ||
summary: A fast tracking code for plasma accelerators | ||
|
||
description: | | ||
Wake-T (Wakefield particle Tracker) is a tracking code for laser- and | ||
beam-driven plasma wakefield accelerators which aims at providing a fast | ||
alternative to Particle-in-Cell (PIC) simulations. Instead of relying on | ||
the computationally-expensive PIC algorithm for simulating the plasma | ||
wakefields and the beam evolution, Wake-T uses a Runge-Kutta solver to | ||
track the evolution of the beam electrons in the wakefields, which, at | ||
the same time, are computed from reduced models. | ||
dev_url: https://github.com/AngelFP/Wake-T | ||
|
||
extra: | ||
recipe-maintainers: | ||
- AngelFP | ||
- ax3l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@echo on | ||
|
||
set "OMP_NUM_THREADS=2" | ||
|
||
:: pytest | ||
%PYTHON% -m pytest -s -vvvv tests\ | ||
if errorlevel 1 exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eu -x -o pipefail | ||
|
||
export OMP_NUM_THREADS=2 | ||
|
||
# pytest | ||
$PYTHON -m pytest -s -vvvv tests/ |