-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFepMovie.f90
35 lines (23 loc) · 903 Bytes
/
FepMovie.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PROGRAM FepMovie
USE Util, ONLY : Startup, Cleanup
USE Data, ONLY : ComputeDerivedData
USE Log, ONLY : logUnit
IMPLICIT NONE
CALL Startup(readCoords=.FALSE.)
CALL ComputeDerivedData(logUnit,doTiming=.FALSE.,readCoords=.FALSE.,doFEPUS=.TRUE.)
CALL Driver()
CALL CleanUp()
CONTAINS
!*
SUBROUTINE Driver()
USE Data, ONLY : mappingEnergies, energyGap, groundStateEnergy, lambda
USE Input, ONLY : mask, Nbins, minPop
USE FileIO, ONLY : OpenFile, CloseFile
USE Movies, ONLY : SetupMovies, TeardownMovies, MakeFepMovie, MakeFepUsMovie
IMPLICIT NONE
CALL SetupMovies()
CALL MakeFepMovie(mappingEnergies(:,:,:,1),mask(:,:),lambda(:))
CALL MakeFepusMovie(energyGap(:,:),groundStateEnergy(:,:),mappingEnergies(:,:,:,1),mask(:,:),Nbins,minPop)
CALL TeardownMovies()
END SUBROUTINE Driver
END PROGRAM FepMovie