Skip to content

Commit

Permalink
update surface.f & volume.f to use unionball for more cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jayponder committed May 18, 2024
1 parent d6aed01 commit 3072c66
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions source/surface.f
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ subroutine surface (rad,weight,probe,surf,asurf)
symmtyp = 'NONE'
call chksymm (symmtyp)
dowiggle = .false.
if (n.le.200 .and. symmtyp.ne.'NONE') dowiggle = .true.
if (n.gt.2 .and. symmtyp.eq.'LINEAR') dowiggle = .true.
if (n.gt.3 .and. symmtyp.eq.'PLANAR') dowiggle = .true.
c
c use Richmond method for small symmetric structures
c
Expand Down Expand Up @@ -212,7 +213,8 @@ subroutine surface1 (rad,weight,probe,surf,asurf,dsurf)
symmtyp = 'NONE'
call chksymm (symmtyp)
dowiggle = .false.
if (n.le.200 .and. symmtyp.ne.'NONE') dowiggle = .true.
if (n.gt.2 .and. symmtyp.eq.'LINEAR') dowiggle = .true.
if (n.gt.3 .and. symmtyp.eq.'PLANAR') dowiggle = .true.
c
c use Richmond method for small symmetric structures
c
Expand Down
6 changes: 4 additions & 2 deletions source/volume.f
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ subroutine volume (rad,weight,probe,surf,vol,asurf,avol)
symmtyp = 'NONE'
call chksymm (symmtyp)
dowiggle = .false.
if (n.le.200 .and. symmtyp.ne.'NONE') dowiggle = .true.
if (n.gt.2 .and. symmtyp.eq.'LINEAR') dowiggle = .true.
if (n.gt.3 .and. symmtyp.eq.'PLANAR') dowiggle = .true.
c
c use Connolly method for small symmetric structures
c
Expand Down Expand Up @@ -241,7 +242,8 @@ subroutine volume1 (rad,weight,probe,surf,vol,asurf,avol,
symmtyp = 'NONE'
call chksymm (symmtyp)
dowiggle = .false.
if (n.le.200 .and. symmtyp.ne.'NONE') dowiggle = .true.
if (n.gt.2 .and. symmtyp.eq.'LINEAR') dowiggle = .true.
if (n.gt.3 .and. symmtyp.eq.'PLANAR') dowiggle = .true.
c
c use arc-based methods for small symmetric structures
c
Expand Down

0 comments on commit 3072c66

Please sign in to comment.