-
Notifications
You must be signed in to change notification settings - Fork 58
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 #386 from Warwick-Plasma/4.18-devel
Updating to EPOCH 4.18
- Loading branch information
Showing
408 changed files
with
10,324 additions
and
9,535 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,42 @@ | ||
name: auto-pr | ||
|
||
on: | ||
push: | ||
branches: | ||
- 4.*-devel | ||
|
||
jobs: | ||
pull-request: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set branch variables | ||
run: BASE_REF=$(echo $GITHUB_REF | cut -f3- -d\/); | ||
major=$(echo $BASE_REF | cut -f1 -d\.); | ||
minor=$(echo $BASE_REF | cut -f2 -d\. | cut -f1 -d\-); | ||
DEST_BRANCH=$major.$((minor+1))-devel; | ||
git branch -a | grep "origin/$DEST_BRANCH" || { | ||
DEST_BRANCH=$((major+1)).0-devel; | ||
git branch -a | grep "origin/$DEST_BRANCH" || exit 1; | ||
}; | ||
echo "BASE_REF=$BASE_REF" >> $GITHUB_ENV; | ||
echo "DEST_BRANCH=$DEST_BRANCH" >> $GITHUB_ENV; | ||
|
||
- name: Create Pull Request | ||
id: open-pr | ||
uses: repo-sync/pull-request@v2 | ||
with: | ||
destination_branch: ${{ env.DEST_BRANCH }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
pr_title: "Pull $BASE_REF into $DEST_BRANCH" | ||
pr_label: "auto-pr" | ||
|
||
- name: Auto approve | ||
uses: hmarr/auto-approve-action@v2 | ||
with: | ||
github-token: ${{ secrets.GH_APPROVE }} | ||
pull-request-number: ${{ steps.open-pr.outputs.pr_number }} |
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,18 @@ | ||
name: automerge | ||
|
||
# Controls when the action will run. | ||
on: | ||
pull_request_review: | ||
branches: | ||
- main | ||
- '*-devel' | ||
|
||
jobs: | ||
automerge: | ||
if: contains(github.event.pull_request.labels.*.name, 'auto-pr') | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Auto merge | ||
uses: alexwilson/enable-github-automerge-action@1.0.0 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
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
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
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
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,65 @@ | ||
begin:constant | ||
|
||
dl = 7.4e-10 | ||
|
||
end:constant | ||
|
||
begin:control | ||
|
||
x_min = 0.0 | ||
x_max = 100*dl | ||
nx = 5 | ||
t_end = 20e-12 | ||
stdout_frequency = 1000 | ||
print_eta_string = T | ||
smooth_currents = T | ||
|
||
end:control | ||
|
||
begin:boundaries | ||
|
||
bc_x_max = periodic | ||
bc_x_min = periodic | ||
|
||
end:boundaries | ||
|
||
begin:species | ||
|
||
name = protons | ||
charge = 1 | ||
mass = 1836 | ||
temp_ev = 50 | ||
npart_per_cell = 5000 | ||
density = 1e22/cc | ||
|
||
end:species | ||
|
||
begin:species | ||
|
||
name = electrons | ||
charge = -1 | ||
mass = 1 | ||
temp_ev = 100 | ||
npart_per_cell = 5000 | ||
density = 1e22/cc | ||
|
||
end:species | ||
|
||
begin:collisions | ||
|
||
use_collisions = T | ||
coulomb_log = 5 | ||
collide = all | ||
use_nanbu = T | ||
|
||
end:collisions | ||
|
||
begin:output | ||
|
||
nstep_snapshot = 1000 | ||
grid = always | ||
temperature = always + species | ||
number_density = always + species | ||
ekbar = always + species | ||
|
||
end:output |
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,57 @@ | ||
begin:constant | ||
|
||
dl = 7.4e-10 | ||
|
||
end:constant | ||
|
||
begin:control | ||
|
||
x_min = 0.0 | ||
x_max = 100*dl | ||
nx = 10 | ||
t_end = 5e-14 | ||
stdout_frequency = 1000 | ||
print_eta_string = T | ||
smooth_currents = T | ||
|
||
end:control | ||
|
||
begin:boundaries | ||
bc_x_max = periodic | ||
bc_x_min = periodic | ||
end:boundaries | ||
|
||
begin:species | ||
|
||
name = electrons | ||
charge = -1 | ||
mass = 1 | ||
temp_x_ev = 150 | ||
temp_y_ev = 50 | ||
temp_z_ev = 50 | ||
npart_per_cell = 5000 | ||
density = 1e22/cc | ||
|
||
end:species | ||
|
||
begin:collisions | ||
|
||
use_collisions = T | ||
coulomb_log = 5 | ||
collide = all | ||
use_nanbu = T | ||
|
||
end:collisions | ||
|
||
begin:output | ||
|
||
nstep_snapshot = 10 | ||
grid = always | ||
temperature = always + species | ||
number_density = always + species | ||
ekbar = always + species | ||
temperature_x = always + species | ||
temperature_y = always + species | ||
temperature_z = always + species | ||
|
||
end:output |
Oops, something went wrong.