Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
ffa9976
Update format
nedtaylor Oct 31, 2024
255dc50
Add files
nedtaylor Oct 31, 2024
6851be8
Add installation guide
nedtaylor Oct 31, 2024
e9688df
Add tutorial templates
nedtaylor Oct 31, 2024
ffeb263
Add issue templates
nedtaylor Oct 31, 2024
54b16ae
Update README
nedtaylor Oct 31, 2024
88a9cf3
Tidy up examples
nedtaylor Oct 31, 2024
fccc79f
Update ignore list
nedtaylor Oct 31, 2024
aaaacf2
Handle NaNs in angles and dfs
nedtaylor Nov 1, 2024
03202ef
Add bounds check
nedtaylor Nov 1, 2024
7632d25
Change host setting
nedtaylor Nov 1, 2024
df74284
Add strip null for species setting
nedtaylor Nov 1, 2024
0f1f8ef
Remove unused variable
nedtaylor Nov 1, 2024
8e9640a
Improve gdf printing
nedtaylor Nov 1, 2024
4083bea
Change build name
nedtaylor Nov 1, 2024
67ef316
Fix random placement viable boolean
nedtaylor Nov 2, 2024
360855b
Update tutorials
nedtaylor Nov 2, 2024
22ba14f
Move readthedocs source files
nedtaylor Nov 4, 2024
e14c7a0
Include docstrings
nedtaylor Nov 4, 2024
93a4644
Update docstrings
nedtaylor Nov 4, 2024
6a47a24
Add more structure handling implement evaluate
nedtaylor Nov 5, 2024
737468c
Add atom division to evaluate
nedtaylor Nov 6, 2024
c8b4bf9
Fix placement methods
nedtaylor Nov 6, 2024
155338d
Fix element maps
nedtaylor Nov 6, 2024
2da59f2
Add learning examples
nedtaylor Nov 21, 2024
5edf5c7
Add error and warning checks
nedtaylor Dec 2, 2024
d1f2773
Add bounding box
nedtaylor Dec 5, 2024
162f496
Fix bounds default
nedtaylor Dec 5, 2024
555130a
Add unrelaxed structure print
nedtaylor Dec 5, 2024
a4bcb3c
Remove dev print
nedtaylor Dec 5, 2024
84bee23
Fix theme name
nedtaylor Dec 16, 2024
afad901
Fix theme
nedtaylor Dec 16, 2024
2c890e5
Include requirements
nedtaylor Dec 16, 2024
4829ed5
Add file
nedtaylor Dec 16, 2024
fb1b442
Update links to ExeQuantCode
nedtaylor Dec 16, 2024
9f6bd30
Remove duplicate badge
nedtaylor Dec 16, 2024
d1f3e95
Add bounds unit tests
nedtaylor Dec 16, 2024
7382d07
Fix unit tests
nedtaylor Dec 16, 2024
fdee95e
Add file
nedtaylor Dec 16, 2024
2d18be0
Update README.md
nedtaylor Dec 16, 2024
d885d27
Add file
nedtaylor Dec 16, 2024
df281a1
Add file exist check
nedtaylor Dec 11, 2024
abc6cfc
Fix settings printing
nedtaylor Dec 12, 2024
a3cc027
Change parallel process
nedtaylor Dec 16, 2024
18c052b
Remove trailing whitespace
nedtaylor Dec 16, 2024
07624a3
Add unit tests
nedtaylor Dec 16, 2024
6eddd1b
Add file
nedtaylor Dec 16, 2024
d7fd04e
Handle settings read
nedtaylor Dec 16, 2024
a144ba3
Add unit tests
nedtaylor Dec 16, 2024
9dd89c0
Handle settings read
nedtaylor Dec 16, 2024
aa32650
Add python unit tests
nedtaylor Dec 16, 2024
2f9b0ab
Update ignore list
nedtaylor Dec 16, 2024
4a73539
Fix uninitialised tolerance
nedtaylor Dec 16, 2024
1a322ad
Fix missing tolerance
nedtaylor Dec 17, 2024
8c17d26
Add missing use statement
nedtaylor Dec 17, 2024
3be9ab2
Fix viability update
nedtaylor Dec 17, 2024
fa4d517
Fix indentation check
nedtaylor Dec 17, 2024
a43eea1
Update example
nedtaylor Dec 18, 2024
4cdf115
Update version number
nedtaylor Dec 18, 2024
bdf8f8a
Update CITATION
nedtaylor Dec 18, 2024
d9fc7b0
Add RSS script
nedtaylor Jan 22, 2025
f50ed2b
Add RSS output notebook
nedtaylor Jan 22, 2025
afbb9fc
Remove print
nedtaylor Jan 22, 2025
63bf07e
Add file
nedtaylor Jan 22, 2025
6ba9661
Add RAFFLE learning script
nedtaylor Jan 22, 2025
35cab50
Update RSS and RAFFLE scripts
nedtaylor Jan 23, 2025
9d58029
Fix rlxd structure printing
nedtaylor Jan 24, 2025
fd91850
Fix rlxd structure printing
nedtaylor Jan 24, 2025
4d3e5c4
Improve pca analysis
nedtaylor Jan 27, 2025
4454f88
Improve analysis scripts
nedtaylor Jan 28, 2025
dcbcaa1
Merge branch 'main' into development
nedtaylor Jan 29, 2025
510b756
Add new examples
nedtaylor Jan 30, 2025
fdc6db6
Improve pca plotting
nedtaylor Feb 4, 2025
36f60c5
Fix typos
nedtaylor Feb 4, 2025
9589bd5
Fix cell size
nedtaylor Feb 5, 2025
53a1670
Add file
nedtaylor Feb 5, 2025
6ea1ac0
Update examples
nedtaylor Feb 5, 2025
706b280
Fix distance check across cell edges
nedtaylor Feb 5, 2025
4498a48
Add known structures
nedtaylor Feb 7, 2025
3918800
Analyse Si|Ge interfaces
nedtaylor Feb 7, 2025
dce7975
Meaningless notebook changes
nedtaylor Feb 7, 2025
2052766
Merge remote-tracking branch 'origin/development' into development
nedtaylor Feb 7, 2025
4a569db
Move Si slab file
nedtaylor Feb 7, 2025
4f6c28e
Fix plotting range
nedtaylor Feb 8, 2025
c320117
Add file
nedtaylor Feb 9, 2025
f610d97
Remove files
nedtaylor Feb 10, 2025
a4aab28
Add database files
nedtaylor Feb 10, 2025
08e2a7e
Add benchmarks
nedtaylor Feb 10, 2025
44bd3a4
Fix evaluate
nedtaylor Feb 11, 2025
4cd4011
Add benchmark
nedtaylor Feb 11, 2025
dc6fd70
Update Al example
nedtaylor Feb 11, 2025
fad97af
Rename benchmark
nedtaylor Feb 11, 2025
5698705
Add file
nedtaylor Feb 11, 2025
137c5dc
Fix typos
nedtaylor Feb 11, 2025
e58326b
Fix typos
nedtaylor Feb 12, 2025
e1ea23d
Add file
nedtaylor Feb 12, 2025
3df1fe5
Add file
nedtaylor Feb 12, 2025
343dce4
Add plotting notebook
nedtaylor Feb 12, 2025
c261a59
Tidy up files
nedtaylor Feb 12, 2025
fda2d08
Delete file
nedtaylor Feb 12, 2025
6d01475
Delete file
nedtaylor Feb 12, 2025
b70b598
Add file
nedtaylor Feb 12, 2025
75a6a59
Add files
nedtaylor Feb 12, 2025
d64c348
Add graphite diamond example
nedtaylor Feb 12, 2025
5852b8d
Move files
nedtaylor Feb 12, 2025
05a9163
Fix indentation
nedtaylor Feb 13, 2025
f45fd55
Fix workflows
nedtaylor Feb 13, 2025
6602dc7
Add ase installation
nedtaylor Feb 13, 2025
e3bd3ce
Change branch pages
nedtaylor Feb 13, 2025
9865ddf
Update python version compatibility
nedtaylor Feb 13, 2025
b1e51f9
Comment out other branch handling
nedtaylor Feb 13, 2025
46d2bea
Update filenames
nedtaylor Feb 13, 2025
9e25627
Revert filename
nedtaylor Feb 13, 2025
770ceff
Add file
nedtaylor Feb 13, 2025
3303c17
Add file
nedtaylor Feb 13, 2025
48c2075
Add energetic calculation
nedtaylor Feb 13, 2025
8cdf6e9
Add insets
nedtaylor Feb 13, 2025
1ebede1
Change plotted data
nedtaylor Feb 13, 2025
e95863d
Add files
nedtaylor Feb 14, 2025
0af31a7
Change legend
nedtaylor Feb 14, 2025
b098711
Change legend
nedtaylor Feb 14, 2025
e2cdddc
Change legend
nedtaylor Feb 14, 2025
671d41a
Fix fortran executable data handling
nedtaylor Feb 15, 2025
1b4778a
Update example parameters
nedtaylor Feb 15, 2025
6d503c9
Uncomment line
nedtaylor Feb 15, 2025
56f125d
Fix checker
nedtaylor Feb 15, 2025
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
19 changes: 10 additions & 9 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ concurrency:

jobs:
run-code-coverage:
# permissions:
# contents: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down Expand Up @@ -97,7 +99,7 @@ jobs:
minColorRange: 0

- name: upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: './build/coverage/'

Expand All @@ -106,12 +108,11 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
uses: actions/deploy-pages@v2
id: deployment
with:
path: './build/coverage/' # Use the same coverage directory

- name: deploy to GitHub Pages (non-main branch)
if: ${{ github.ref != 'refs/heads/main' }}
uses: actions/deploy-pages@v2
with:
path: './build/coverage/' # Same local coverage directory
branch: gh-pages-${{ github.head_ref }} # Deploy to a branch-specific GitHub Pages branch
# - name: deploy to Github Pages (development branch)
# if: ${{ github.ref != 'refs/heads/main' }}
# uses: peaceiris/actions-gh-pages@v4
# with:
# publish_dir: ./build/coverage/
# github_token: ${{ secrets.GITHUB_TOKEN }}
# destination_dir: development-branch/
3 changes: 2 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
python --version
python -m pip install pip-tools
python -m pip install pytest
python -m pip install parameterized
python -m piptools compile -o requirements.txt pyproject.toml --all-build-deps
python -m pip install -r requirements.txt

Expand All @@ -79,7 +80,7 @@ jobs:
cmake --version
python --version
${{ env.FC }} --version
python -m pip install .
python -m pip install '.[ase]'

- name: Test
run: |
Expand Down
17 changes: 16 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,19 @@ fort.*
*.eps
*.pyc
*.xyz
.coverage
.coverage
*CAR
*.pckl
.DS_Store
fortranobject.c*
*.db
CHG
EIGENVAL
IBZKPT
KPOINTS
PCDAT
REPORT
vasprun.xml
DVASP_MACE_comparison/
pca_model*.pkl
.benchmarks/
6 changes: 4 additions & 2 deletions app/main.f90
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ program raffle_program
use inputs
use read_structures, only: get_gdfs_from_data
use raffle, only: raffle_generator_type, distribs_container_type
use raffle__geom_rw, only: geom_read, geom_write
use raffle__geom_rw, only: geom_read, geom_write, basis_type
implicit none

! Local variables
Expand All @@ -21,6 +21,7 @@ program raffle_program
!! Buffer for strings
character(:), allocatable :: next_dir
!! Next directory name
type(basis_type) :: host

real(real32), dimension(:), allocatable :: tmp_energies
!! Temporary array for element energies
Expand Down Expand Up @@ -107,7 +108,8 @@ program raffle_program
! set the host structure
!-----------------------------------------------------------------------------
open(newunit=unit, file=filename_host, status='old')
call geom_read(unit, generator%host)
call geom_read(unit, host)
call generator%set_host(host)
close(unit)
if(grid_spacing.gt.1.E-6.and.all(grid.ne.0))then
call stop_program('Cannot specify grid spacing and grid at the same time')
Expand Down
3 changes: 2 additions & 1 deletion app/mod_read_structures.f90
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ function get_gdfs_from_data(input_dir, &
! read the structures from the list of files
!---------------------------------------------------------------------------
num_structures = 0
allocate(basis_list(0))
do i = 1, size(structure_list)
write(*,*) "Reading structure: ", trim(adjustl(structure_list(i)))
select case(ifile_format)
Expand Down Expand Up @@ -184,7 +185,7 @@ function get_gdfs_from_data(input_dir, &
trim(basis%spec(j)%name), basis%spec(j)%num, &
j=1, basis%nspec &
)
call distribs_container%add(basis)
basis_list = [ basis_list, basis ]
end do
cycle
end select
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx==7.1.2
sphinx-rtd-theme==1.3.0rc1
f90wrap==0.2.16
f90wrap==0.2.16
2 changes: 1 addition & 1 deletion docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,4 @@ To test the installation of the Python library, navigate to the repository root

pytest

This will run the unit tests for the Python wrapper, as well as compile and run the Fortran unit tests.
This will run the unit tests for the Python wrapper, as well as compile and run the Fortran unit tests.
12 changes: 12 additions & 0 deletions docs/source/raffle.distributions.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
raffle.distributions module
===========================

.. .. automodule:: raffle.Raffle__Distribs_Container
.. :members:
.. :undoc-members:
.. :show-inheritance:

.. autoclass:: raffle.Raffle__Distribs_Container
:members:
:undoc-members:
:show-inheritance:
13 changes: 13 additions & 0 deletions docs/source/raffle.generator.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
raffle.generator module
=======================

.. .. automodule:: raffle.Generator
.. :members:
.. :undoc-members:
.. :show-inheritance:


.. autoclass:: raffle.Generator
:members:
:undoc-members:
:show-inheritance:
12 changes: 12 additions & 0 deletions docs/source/raffle.geom.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
raffle.geom_rw module
=======================

.. .. automodule:: raffle.Geom_Rw
.. :members:
.. :undoc-members:
.. :show-inheritance:

.. autoclass:: raffle.Geom_Rw
:members:
:undoc-members:
:show-inheritance:
Loading
Loading