Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pul develop into fniycbo branch #5

Merged
merged 74 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
d215077
Based on Tom's modification on removing crossing points of the mesh n…
Jun 13, 2023
dd1152f
Separatrion of the Tg equation from the Ti equation
Jun 20, 2023
545b00e
add user-specified fraction of ionization for D2 dissociation - intro…
Jun 20, 2023
02d92c0
Merge branch 'LLNL:develop' into develop
ganjinzero1 Aug 16, 2023
9accc48
the bug with j5, replace j5 with j6
Aug 17, 2023
1daefee
untrack pyscripts/__src__.py
Aug 17, 2023
344308f
merge from remote
Aug 17, 2023
17d0f48
version number updated
Oct 19, 2023
0f609a4
update bbb.v and com.v adding +input according to 8.0.4.1
Oct 19, 2023
7bc273a
remove the error that was not compatible with newer compiler
Oct 19, 2023
9215c43
remove most of the comments with #..zml
Oct 19, 2023
b1edd8b
remove comments #..zml in bbb.v and com.v
Oct 19, 2023
18f63d8
remove some commented-out lines
Oct 19, 2023
9b88574
change the comments on energy transfer due to ion/molecule collisions
Oct 19, 2023
c245ab3
Merge branch 'develop' into develop
ganjinzero1 Oct 19, 2023
c507ac9
Merge branch 'develop' into develop
ganjinzero1 Nov 7, 2023
576c6a0
Merge pull request #1 from LLNL/master
ganjinzero1 Nov 8, 2023
d1acd7d
Removes install-generated files from repo
holm10 Dec 1, 2023
de78340
Adds setup-generated files to gitignore
holm10 Dec 1, 2023
1d61b1b
Adds broader output supression com.iprint
holm10 Dec 7, 2023
61e7303
Makes tests run on pytests branch
holm10 Dec 7, 2023
3eabc25
Attempts to run tests from dedicated branch
holm10 Dec 7, 2023
841a336
Merge branch 'develop' of https://github.com/LLNL/UEDGE into develop
holm10 Dec 7, 2023
148b901
Fixes workflow syntax error
holm10 Dec 7, 2023
82dbcb7
Fixes additional workflow syntax error
holm10 Dec 7, 2023
3b1c98c
Updates setup-python to v4
holm10 Dec 7, 2023
c17cf3a
Fixes missed use of checkout v2
holm10 Dec 7, 2023
9b69a72
Changes checks to new tests on pytests-branch
holm10 Dec 9, 2023
f92ed31
Tries to fix chekout of pytests
holm10 Dec 9, 2023
df02527
Adds repo to branch search path in action
holm10 Dec 9, 2023
ad419ed
Adds repo path for pytests
holm10 Dec 9, 2023
000453e
Adds output file a.out to gitignore
holm10 Dec 9, 2023
e506630
Removes terms related to manufactured solutions
holm10 Dec 9, 2023
8409be9
Removes manuf. solution term pwrsorg
holm10 Dec 9, 2023
021e42a
Removes changes related to 1D FT setup
holm10 Dec 9, 2023
762528b
Fixes label misspell
holm10 Dec 9, 2023
436b12f
Adds minimal working UEDGE example
holm10 Dec 9, 2023
694f34e
Removes test from example
holm10 Dec 9, 2023
6e26da6
Updates workflow to be compatible with pytests
holm10 Dec 11, 2023
e2ef530
Updates workflow to be compatible with pytests
holm10 Dec 11, 2023
6c9096a
Merge pull request #65 from LLNL/iprint_quiet
holm10 Dec 12, 2023
862d7f6
Initial add
llnl-fesp Nov 27, 2023
684a18e
Added new reference to a group from another package without adding
llnl-fesp Dec 20, 2023
3c9669c
Duplicated Group use statement. Not an error for python but fatal
llnl-fesp Dec 20, 2023
f365d76
Fixes bug for albedo pumping
holm10 Jan 3, 2024
3de2ce1
Initial add
llnl-fesp Nov 27, 2023
1832b2b
Added new reference to a group from another package without adding
llnl-fesp Dec 20, 2023
ec9e353
Duplicated Group use statement. Not an error for python but fatal
llnl-fesp Dec 20, 2023
1572ced
Removes usage of override switch
holm10 Jan 3, 2024
0d03ed5
Updates develop branch version
holm10 Jan 3, 2024
16cb4cb
Ensures uedge_ver is up-to-date with Python
holm10 Jan 3, 2024
acac3da
Updates uedge_ver to current version
holm10 Jan 3, 2024
94e87d0
Makes HDF5 grid files compatible with iprint
holm10 Jan 4, 2024
7cb200a
remove switches of istiexclg and istiinclg_test
Jan 8, 2024
f33732d
add comments to the coef. cftgticore
Jan 8, 2024
1920705
complete boundary conditions for istglb,istgrb,istgwc,istgpfc = 5
Jan 8, 2024
3aec13b
remove some unused coef.
Jan 9, 2024
40427fa
add comments for istgcore and cftiexclg
Jan 9, 2024
9ae0736
Adds warnings pertaining to new variable cftiexclg
holm10 Jan 9, 2024
399fb95
Merge branch 'Tg_for_test' of https://github.com/ganjinzero1/UEDGE in…
holm10 Jan 9, 2024
47b0cc2
Merge branch 'develop' into Tg_for_test
holm10 Jan 9, 2024
672573f
Merge pull request #62 from ganjinzero1/Tg_for_test
holm10 Jan 9, 2024
e7bba78
Merge branch 'develop' into albedo_area_bugfix
holm10 Jan 9, 2024
506a927
Merge pull request #67 from holm10/albedo_area_bugfix
holm10 Jan 9, 2024
7d42ee4
Merge branch 'develop' into removing_override
holm10 Jan 9, 2024
c27b831
Update UEDGE version in setup.py
holm10 Jan 9, 2024
92c5f91
Update version for bbb.uedge_ver
holm10 Jan 9, 2024
fb4896f
Merge pull request #68 from holm10/removing_override
holm10 Jan 9, 2024
2ff7a5b
Allows hdf5_restore to restore from any save
holm10 Jan 10, 2024
3519b4a
Updates develop to use pytests-develop tests
holm10 Jan 10, 2024
18447ab
Run test suite in parallel jobs
holm10 Jan 10, 2024
2a8a704
Put HDF5 restore output behind iprint
holm10 Jan 11, 2024
2da412d
Makes oldseec a float
holm10 Jan 11, 2024
c778688
Bugfix for variable oldseec
holm10 Jan 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 163 additions & 0 deletions .github/workflows/run_testsuite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Build UEDGE and run test suite

on: [push, pull_request]

jobs:
fulltests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
python -m pip install forthon mppl numpy h5py
python -m pip install flake8
python -m pip install pytest-isolate pytest-xdist
- name: Build UEDGE
run: |
python setup.py build
python setup.py install
- name: Return to pytests branch
uses: actions/checkout@v4
with:
ref: pytests-develop
repository: LLNL/UEDGE
- name: Test with pytest
run: |
# Create a clean UEDGE instance for every test
pytest --isolate --tb=native pytests/fulltests

unittests_D-and-C:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
python -m pip install forthon mppl numpy h5py
python -m pip install flake8
python -m pip install pytest-isolate pytest-xdist
- name: Build UEDGE
run: |
python setup.py build
python setup.py install
- name: Return to pytests branch
uses: actions/checkout@v4
with:
ref: pytests-develop
repository: LLNL/UEDGE
- name: Test with pytest
run: |
# Create a clean UEDGE instance for every test
pytest --isolate --tb=native pytests/unittests/D+C

unittests_D-mols:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
python -m pip install forthon mppl numpy h5py
python -m pip install flake8
python -m pip install pytest-isolate pytest-xdist
- name: Build UEDGE
run: |
python setup.py build
python setup.py install
- name: Return to pytests branch
uses: actions/checkout@v4
with:
ref: pytests-develop
repository: LLNL/UEDGE
- name: Test with pytest
run: |
# Create a clean UEDGE instance for every test
pytest --isolate --tb=native pytests/unittests/D_mols

unittests_D-only:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
python -m pip install forthon mppl numpy h5py
python -m pip install flake8
python -m pip install pytest-isolate pytest-xdist
- name: Build UEDGE
run: |
python setup.py build
python setup.py install
- name: Return to pytests branch
uses: actions/checkout@v4
with:
ref: pytests-develop
repository: LLNL/UEDGE
- name: Test with pytest
run: |
# Create a clean UEDGE instance for every test
pytest --isolate --tb=native pytests/unittests/D_only

unittests_slab-D-only:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
python -m pip install forthon mppl numpy h5py
python -m pip install flake8
python -m pip install pytest-isolate pytest-xdist
- name: Build UEDGE
run: |
python setup.py build
python setup.py install
- name: Return to pytests branch
uses: actions/checkout@v4
with:
ref: pytests-develop
repository: LLNL/UEDGE
- name: Test with pytest
run: |
# Create a clean UEDGE instance for every test
pytest --isolate --tb=native pytests/unittests/slab_D_only

35 changes: 0 additions & 35 deletions .github/workflows/tests.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.pyc
*.F
a.out
*/build/
build/
.idea/
Expand All @@ -10,8 +11,10 @@ a.out
PyUEDGE_tutorial/*
*.swo
pyscripts/__src__.py
pyscripts/__version__.py
dist/uedge-8.0.0-py3.7-macosx-10.9-x86_64.egg
uedge.egg-info
*.egg
*.c
*.f
pyscripts/__version__.py
Binary file removed a.out
Binary file not shown.
2 changes: 1 addition & 1 deletion api/Package
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ POINTER = cray

VDF = api.v

NVDF = ../com/com.v
NVDF = ../com/com.v ../bbb/bbb.v

SM = apifcn.m apip93.m apisorc.m fimp.m inelrates.m fmombal.m sputt.m

2 changes: 1 addition & 1 deletion api/fimp.m
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ subroutine readmc(nzdf,mcfilename)
character*256 fname
Use(Multicharge)
Use(Math_problem_size) # neqmx
Use(Lsode) # iprint
Use(Flags) # iprint
Use(Impdata) #apidir

c ... Function:
Expand Down
2 changes: 1 addition & 1 deletion api/sputt.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ SUBROUTINE SYLD96(MATT,MATP,CION,CIZB,CRMB)

Use(Cyield) # ceth,cetf,cq,ntars,cidata
Use(Math_problem_size) # neqmx
Use(Lsode) # iprint
Use(Flags) # iprint

real ETH(7,12), ETF(7,12), Q(7,12), EBD(12)
LOGICAL IDATA(7,12)
Expand Down
Loading