Polymers in Confined Geometry.pdf
Polymers in Confined Geometry.pdf
Polymers in Confined Geometry.pdf
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
4.3. SAMPLING THE CANONICAL ENSEMBLE 45<br />
(where the first would not be very effective which will be expla<strong>in</strong>ed later <strong>in</strong><br />
more detail). Transform<strong>in</strong>g the sum <strong>in</strong>to an <strong>in</strong>tegral—which is allowed when the<br />
“correlation time” between successive states is s large compared to δt—than gives<br />
(T = tn = n δt be<strong>in</strong>g the total sampl<strong>in</strong>g time)<br />
2<br />
(δx) = 1 2<br />
x<br />
n<br />
<br />
− 〈x〉<br />
2<br />
1 + 1<br />
δt<br />
T<br />
0<br />
<br />
dt 1 − t<br />
<br />
φx(t) , (4.16)<br />
T<br />
with the normalized autocorrelation function (or “l<strong>in</strong>ear relaxation function”)<br />
φx(t) =<br />
〈x(0)x(t)〉 − 〈x〉2<br />
〈x 2 〉 − 〈x〉 2 . (4.17)<br />
This function is normalized φx(0) = 1 and decays to zero φx(t → ∞) = 0, s<strong>in</strong>ce<br />
the samples of x should become uncorrelated when they are separated by a large<br />
time <strong>in</strong>terval.<br />
Sett<strong>in</strong>g a time-scale<br />
∞<br />
τx = dt φx(t), (4.18)<br />
0<br />
<strong>in</strong> which we assume the correlation function φx(t) to decay essentially to zero,<br />
with τx ≪ T which just means sampl<strong>in</strong>g long enough. This also means that φx(t)<br />
is essentially nonzero only for t ≪ T , so that the term t/T <strong>in</strong> eq. (4.16) can be<br />
neglected and the <strong>in</strong>tegration extended to the upper limit of <strong>in</strong>f<strong>in</strong>ity<br />
2<br />
(δx) = 1 2<br />
x<br />
n<br />
<br />
− 〈x〉<br />
2<br />
1 + 2 τx<br />
<br />
. (4.19)<br />
δt<br />
This shows that the error over correlated data must be enhanced <strong>in</strong> comparison<br />
to the error calculated over uncorrelated data (〈x2 〉−〈x〉 2 )/n (which would mean<br />
sett<strong>in</strong>g τx = 0 here). The factor by which this error is enhanced is also called<br />
statistical <strong>in</strong>efficiency. The time τx can then be seen as the autocorrelation time.<br />
In the case of sampl<strong>in</strong>g <strong>in</strong> steps much larger than the correlation time δt ≫ τx<br />
the result for uncorrelated sampl<strong>in</strong>g is reobta<strong>in</strong>ed, s<strong>in</strong>ce the parenthesis is unity.<br />
On the other hand us<strong>in</strong>g τx ≪ δt results <strong>in</strong> a form <strong>in</strong>dependent of the sampl<strong>in</strong>g<br />
step size<br />
2<br />
(δx) = 2 τx 2<br />
x − 〈x〉 2 , (4.20)<br />
T<br />
because the unity term <strong>in</strong> the parenthesis can be omitted. This means that it<br />
is not useful to <strong>in</strong>crease the number of correlated samples by reduc<strong>in</strong>g the time<br />
between two samples. In this regime there is no change <strong>in</strong> the error. This would<br />
only <strong>in</strong>crease the simulation time by tak<strong>in</strong>g more (useless) samples!<br />
We f<strong>in</strong>ally have a method at hand to calculate the autocorrelation time τx<br />
without directly sampl<strong>in</strong>g and <strong>in</strong>tegrat<strong>in</strong>g it. By measur<strong>in</strong>g the mean 〈x〉 and<br />
mean-square 〈x 2 〉 of x as well as the statistical error 〈(δx) 2 〉 the autocorrelation<br />
time is obta<strong>in</strong>ed by rearrang<strong>in</strong>g eq. (4.19) or (4.20).