Skip to content

Commit

Permalink
Prevent calculation of HeHe for only one helium
Browse files Browse the repository at this point in the history
  • Loading branch information
cschran authored and hforbert committed Sep 2, 2019
1 parent 98a0cf8 commit 4b0fe39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/motion/helium_methods.F
Original file line number Diff line number Diff line change
Expand Up @@ -2022,6 +2022,11 @@ SUBROUTINE helium_rdf_init(helium)
"MOTION%PINT%HELIUM%RDF%HE_HE", &
l_val=helium%rdf_he_he)

! Prevent He_He Rdfs for a single he atom:
IF (helium%atoms <= 1) THEN
helium%rdf_he_he = .FALSE.
END IF

helium%rdf_num = 0
IF (helium%rdf_sol_he) THEN
IF (helium%solute_present) THEN
Expand Down

0 comments on commit 4b0fe39

Please sign in to comment.