ensure proper initial conditions in helium_worm code (fixes bug with multiple helium environments with worm propagation)

This commit is contained in:
Harald Forbert 2025-01-28 14:03:34 +01:00 committed by hforbert
parent ae6f7bfca4
commit 52fc3dc60e

View file

@ -94,6 +94,9 @@ CONTAINS
helium%saveiperm(:) = helium%iperm(:)
helium%savepermutation(:) = helium%permutation(:)
END IF
!make sure work array is in sync with pos
! (helium_print_coordinates for example messes with that...)
helium%work = helium%pos
nMC = helium%iter_rot
ncycle = 0