Skip to content

Commit

Permalink
Merge pull request #5 from mir-group/gpaw_cleanup
Browse files Browse the repository at this point in the history
Gpaw cleanup
  • Loading branch information
kylebystrom authored Nov 6, 2024
2 parents 65c8589 + b0d3907 commit fc5daf9
Show file tree
Hide file tree
Showing 42 changed files with 4,738 additions and 11,897 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_mpi_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ ulimit -s 20000

version=$(python -c 'import sys; print("{0}.{1}".format(*sys.version_info[:2]))')
mpirun -np 2 --oversubscribe gpaw python -m unittest ciderpress.gpaw.tests.test_basic_calc
mpirun -np 2 --oversubscribe gpaw python -m unittest ciderpress.gpaw.tests.test_fast_force
mpirun -np 2 --oversubscribe gpaw python -m unittest ciderpress.gpaw.tests.test_fast_stress
mpirun -np 2 --oversubscribe gpaw python -m unittest ciderpress.gpaw.tests.test_si_force
mpirun -np 2 --oversubscribe gpaw python -m unittest ciderpress.gpaw.tests.test_si_stress
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.idea/
.vscode/
build/
ciderpress/lib/deps/
ciderpress/lib/pwutil/config.h
dist/
docs/_build
docs/_static
Expand Down
2 changes: 1 addition & 1 deletion ciderpress/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.0"
__version__ = "0.3.0"
4 changes: 2 additions & 2 deletions ciderpress/dft/pwutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def eval_cubic_interp_noderiv(i_g, t_g, c_ip):
return _eval_cubic_interp(i_g, t_g, c_ip, False)


def recursive_sph_harm_t2(nlm, rhat_gv):
def recursive_sph_harm(nlm, rhat_gv):
n = rhat_gv.shape[0]
res = np.empty((n, nlm), order="C")
assert rhat_gv.flags.c_contiguous
Expand All @@ -141,7 +141,7 @@ def recursive_sph_harm_t2(nlm, rhat_gv):
return res


def recursive_sph_harm_t2_deriv(nlm, rhat_gv):
def recursive_sph_harm_deriv(nlm, rhat_gv):
n = rhat_gv.shape[0]
res = np.empty((n, nlm), order="C")
dres = np.empty((n, 3, nlm), order="C")
Expand Down
Loading

0 comments on commit fc5daf9

Please sign in to comment.