Difference between revisions of "Tutorials:Parameters"
From ALPS
(New page: = Common input parameters = The following input parameters are common to most of the ALPS applications == Lattice defintion == ALPS applications on lattices specify the lattice with the ...) 

Line 1:  Line 1:  
= Common input parameters =  = Common input parameters =  
The following input parameters are common to most of the ALPS applications  The following input parameters are common to most of the ALPS applications  
+  
+  
+  
+  { border="1" cellpadding="5" cellspacing="0"  
+  
+   '''Parameter'''  
+   '''Default'''  
+   '''Meaning'''  
+    
+   SEED  
+   align="center" 0  
+   The random number seed used in the next Monte Carlo run created. After using a seed in the creation of a Monte Carlo run, this value gets incremented by one.  
+    
+   WORK_FACTOR  
+   align="center" 1  
+   A factor by which the work that needs to be done for a simulation is multiplied in load balancing.  
+  }  
+  
+  
== Lattice defintion ==  == Lattice defintion ==  
ALPS applications on lattices specify the lattice with the following three parameters  ALPS applications on lattices specify the lattice with the following three parameters  
+  
Revision as of 23:25, 28 February 2007
Common input parameters
The following input parameters are common to most of the ALPS applications
Parameter  Default  Meaning 
SEED  0  The random number seed used in the next Monte Carlo run created. After using a seed in the creation of a Monte Carlo run, this value gets incremented by one. 
WORK_FACTOR  1  A factor by which the work that needs to be done for a simulation is multiplied in load balancing. 
Lattice defintion
ALPS applications on lattices specify the lattice with the following three parameters
Name  Default  Description 
LATTICE_LIBRARY  lattices.xml  path to a file containing lattice descriptions 
LATTICE  name of the lattice  
MODEL_LIBRARY  models.xml  path to a file containing model descriptions 
MODEL  name of the model (for example "spin" or "boson")  
T  the temperature  
BETA 
inverse of temperature (if
temperature is not given) 

SWEEPS 
number of Monte Carlo steps
(after thermalization) 

THERMALIZATION  SWEEPS / 10  Number of Monte Carlo sweeps for thermalization 
In addition, the lattice description can require further parameters
(e.g. L or W) as specified in the lattice
description file.
The model description can also require further parameters (e.g. S=1/2
or S=1, h=0.5 for spin models, t=1.5 or mu=0.5
for boson models) as specified in the model description file.