Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wxj6000 committed Jan 25, 2024
1 parent 11fbf9d commit 371d460
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ Features
- Dispersion corrections via [DFTD3](https://github.com/dftd3/simple-dftd3) and [DFTD4](https://github.com/dftd4/dftd4);
- Nonlocal functional correction (vv10) for SCF and gradient;
- ECP is supported and calculated on CPU;
- PCM solvent models, analytical gradients, and semi-analytical Hessian matrix;
- SMD solvent models and solvation free energy
- PCM models, SMD model, their analytical gradients, and semi-analytical Hessian matrix;

Limitations
--------
Expand Down
1 change: 0 additions & 1 deletion examples/16-smd.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@
gradobj = mf.nuc_grad_method()
f = gradobj.kernel()

exit()
hessobj = mf.Hessian()
h = hessobj.kernel()
Binary file removed examples/16-smd.py.lprof
Binary file not shown.
6 changes: 2 additions & 4 deletions gpu4pyscf/lib/cupy_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,8 @@ def cart2sph(t, axis=0, ang=1, out=None):
t_cart = t.reshape([i0*nli, li_size[0], i3])
if(out is not None):
out = out.reshape([i0*nli, li_size[1], i3])
out[:] = cupy.einsum('min,ip->mpn', t_cart, c2s)
else:
out = cupy.einsum('min,ip->mpn', t_cart, c2s)
return out.reshape(out_shape)
t_sph = contract('min,ip->mpn', t_cart, c2s, out=out)
return t_sph.reshape(out_shape)

# a copy with modification from
# https://github.com/pyscf/pyscf/blob/9219058ac0a1bcdd8058166cad0fb9127b82e9bf/pyscf/lib/linalg_helper.py#L1536
Expand Down

0 comments on commit 371d460

Please sign in to comment.