-
Notifications
You must be signed in to change notification settings - Fork 0
/
core.f
44 lines (32 loc) · 965 Bytes
/
core.f
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
35
36
37
38
39
40
41
42
43
44
program MC2DIM
c
c Core part of Monte Carlo simulation of Ising-like SCO model
c *** M. Blasko et al., 2022 ***
c
implicit none
character IN1FILE*128
character output*128
parameter(
1 IN1FILE='in.2d' ,
1 output='output.txt' )
integer lattype, L
real*8 V2, V1, erko
real*8 Tinit, Tfinal
integer nTsteps, q, nMC, ntimes
real*8 ConcInit
parameter( ConcInit=0.5 )
WRITE(*,*) 'Welcome to SCO modeling with 2-dim Monte Carlo'
call readinpt(
1 IN1FILE,
2 lattype, L, V2, V1, erko,
3 Tinit, Tfinal, nTsteps,
4 nMC, ntimes, q )
WRITE(*,*) 'Input is okay, or at least I hope...'
call runout(
1 output,
1 lattype, L, V2, V1, erko,
2 Tinit, Tfinal, nTsteps,
4 nMC, ntimes, q,
3 ConcInit )
WRITE(*,*) 'Enjoy your results, I am off now...'
end