<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.sklogwiki.org/SklogWiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Per</id>
	<title>SklogWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.sklogwiki.org/SklogWiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Per"/>
	<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php/Special:Contributions/Per"/>
	<updated>2026-04-28T15:43:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=765</id>
		<title>Reverse Monte Carlo</title>
		<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=765"/>
		<updated>2007-02-26T17:44:03Z</updated>

		<summary type="html">&lt;p&gt;Per: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Reverse Monte Carlo (RMC) [1-4] is a variation of the standard [[Metropolis Monte Carlo]] (MMC) method. It is used to produce a 3 dimensional atomic model that fits a set of measurements (Neutron-, X-ray-diffraction, EXAFS etc.).&lt;br /&gt;
In addition to measured data a number of constraints based on prior knowledge of the system (like chemical bonds etc.) can be applied. Some examples are:&lt;br /&gt;
&lt;br /&gt;
#Closest approach between atoms (hard sphere potential)&lt;br /&gt;
#Coordination numbers.&lt;br /&gt;
#Angles in triplets of atoms.&lt;br /&gt;
&lt;br /&gt;
The 3 dimensional structure that is produced by RMC is not unique, it is a model consistent with the data and constraints provided.&lt;br /&gt;
&lt;br /&gt;
The algorithm for RMC can be written:&lt;br /&gt;
&lt;br /&gt;
#Start with a configuration of atoms with periodic boundary conditions. This can be a random or a crystalline configuration from a different simulation or model.&lt;br /&gt;
#Calculate the total radial distribution function &amp;lt;math&amp;gt;g_o^C(r)&amp;lt;/math&amp;gt; for this old configuration (&#039;&#039;C&#039;&#039;=Calculated, &#039;&#039;o&#039;&#039;=Old).&lt;br /&gt;
#Transform to the total [[Structure factor | structure factor]]:&lt;br /&gt;
#:&amp;lt;math&amp;gt;S_o^C (Q)-1=\frac{4\pi\rho}{Q}\int\limits_{0}^{\infty} r(g_o^C(r)-1)\sin(Qr)\, dr&amp;lt;/math&amp;gt; &lt;br /&gt;
#:where &#039;&#039;Q&#039;&#039; is the momentum transfer and &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; the number density.&lt;br /&gt;
#Calculate the difference between the measured structure factor &amp;lt;math&amp;gt;S^E(Q)&amp;lt;/math&amp;gt; and the one calculated from the configuration &amp;lt;math&amp;gt;S_o^C(Q)&amp;lt;/math&amp;gt;:&lt;br /&gt;
#:&amp;lt;math&amp;gt;\chi_o^2=\sum_i(S_o^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt; &lt;br /&gt;
#:this sum is taken over all experimental points &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; is the experimental error.&lt;br /&gt;
#Select and move one atom at random and calculate the new (&#039;&#039;n&#039;&#039;=New) distribution function, structure factor and:&lt;br /&gt;
#:&amp;lt;math&amp;gt;\chi_n^2=\sum_i(S_n^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
#If &amp;lt;math&amp;gt;\chi_n^2&amp;lt;\chi_o^2&amp;lt;/math&amp;gt; accept the move and let the new configuration become the old. If &amp;lt;math&amp;gt;\chi_n^2 \geq \chi_o^2&amp;lt;/math&amp;gt; then the move is accepted with probability &amp;lt;math&amp;gt;\exp(-(\chi_n^2-\chi_0^2)/2)&amp;lt;/math&amp;gt; otherwise it is rejected.&lt;br /&gt;
#repeat from step 5.&lt;br /&gt;
When &amp;lt;math&amp;gt;\chi^2&amp;lt;/math&amp;gt; have reached an equilibrium the configuration is saved and can be analysed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#[http://dx.doi.org/10.1080/08927028808080958 R. L. McGreevy and L. Pusztai, &amp;quot;Reverse Monte Carlo Simulation: A New Technique for the Determination of Disordered Structures&amp;quot;, Molecular  Simulation, &#039;&#039;&#039;1&#039;&#039;&#039; pp. 359-367 (1988)]&lt;br /&gt;
#[http://dx.doi.org/10.1088/0953-8984/13/46/201 R. L. McGreevy, &amp;quot;Reverse Monte Carlo modelling&amp;quot;, J.Phys.:Cond. Matter &#039;&#039;&#039;13&#039;&#039;&#039; pp. R877-R913 (2001)]&lt;br /&gt;
#[http://dx.doi.org/10.1016/S1359-0286(03)00015-9   R. L. McGreevy and P. Zetterström, &amp;quot;To RMC or not to RMC? The use of reverse Monte Carlo modelling&amp;quot;, Current Opinion in Solid State and Materials Science. &#039;&#039;&#039;7&#039;&#039;&#039; no. 1 (2003) pp. 41-47 Elsevier Science]&lt;br /&gt;
#[http://dx.doi.org/10.1088/0953-8984/17/5/001  G. Evrard, L. Pusztai, &amp;quot;Reverse Monte Carlo modelling of the structure of disordered materials with RMC++: a new implementation of the algorithm in C++&amp;quot;, J.Phys.:Cond. Matter &#039;&#039;&#039;17&#039;&#039;&#039; pp. S1-S13 (2005)]&lt;/div&gt;</summary>
		<author><name>Per</name></author>
	</entry>
	<entry>
		<id>http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=255</id>
		<title>Reverse Monte Carlo</title>
		<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=255"/>
		<updated>2007-02-21T10:56:37Z</updated>

		<summary type="html">&lt;p&gt;Per: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Reverse Monte Carlo (RMC) [1-4] is a variation of the standard [[Metropolis Monte Carlo]] (MMC) method. It is used to produce a 3 dimensional atomic model that fits a set of measurements (Neutron-, X-ray-diffraction, EXAFS etc.).&lt;br /&gt;
In addition to measured data a number of constraints based on prior knowledge of the system (like chemical bonds etc.) can be applied. Some examples are:&lt;br /&gt;
&lt;br /&gt;
#Closest approach between atoms (hard sphere potential)&lt;br /&gt;
#Coordination numbers.&lt;br /&gt;
#Angles in triplets of atoms.&lt;br /&gt;
&lt;br /&gt;
The 3 dimensional structure that is produced by RMC is not unique, it is a model consistent with the data and constraints provided.&lt;br /&gt;
&lt;br /&gt;
The algorithm for RMC can be written:&lt;br /&gt;
&lt;br /&gt;
#Start with a configuration of atoms with periodic boundary conditions. This can be a random or a crystalline configuration from a different simulation or model.&lt;br /&gt;
#Calculate the total radial distribution function &amp;lt;math&amp;gt;g_o^C(r)&amp;lt;/math&amp;gt; for this old configuration (&#039;&#039;C&#039;&#039;=Calculated, &#039;&#039;o&#039;&#039;=Old).&lt;br /&gt;
#Transform to the total structure factor:&lt;br /&gt;
#:&amp;lt;math&amp;gt;S_o^C (Q)-1=\frac{4\pi\rho}{Q}\int\limits_{0}^{\infty} r(g_o^C(r)-1)\sin(Qr)\, dr&amp;lt;/math&amp;gt; &lt;br /&gt;
#:where &#039;&#039;Q&#039;&#039; is the momentum transfer and &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; the number density.&lt;br /&gt;
#Calculate the difference between the measured structure factor &amp;lt;math&amp;gt;S^E(Q)&amp;lt;/math&amp;gt; and the one calculated from the configuration &amp;lt;math&amp;gt;S_o^C(Q)&amp;lt;/math&amp;gt;:&lt;br /&gt;
#:&amp;lt;math&amp;gt;\chi_o^2=\sum_i(S_o^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt; &lt;br /&gt;
#:this sum is taken over all experimental points &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; is the experimental error.&lt;br /&gt;
#Select and move one atom at random and calculate the new (&#039;&#039;n&#039;&#039;=New) distribution function, structure factor and:&lt;br /&gt;
#:&amp;lt;math&amp;gt;\chi_n^2=\sum_i(S_n^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
#If &amp;lt;math&amp;gt;\chi_n^2&amp;lt;\chi_o^2&amp;lt;/math&amp;gt; accept the move and let the new configuration become the old. If &amp;lt;math&amp;gt;\chi_n^2&amp;gt;\chi_o^2&amp;lt;/math&amp;gt; then the move is accepted with probability &amp;lt;math&amp;gt;\exp(-(\chi_n^2-\chi_0^2)/2)&amp;lt;/math&amp;gt; otherwise it is rejected.&lt;br /&gt;
#repeat from step 5.&lt;br /&gt;
When &amp;lt;math&amp;gt;\chi^2&amp;lt;/math&amp;gt; have reached an equilibrium the configuration is saved and can be analysed.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#[http://dx.doi.org/10.1080/08927028808080958 R. L. McGreevy and L. Pusztai, &amp;quot;Reverse Monte Carlo Simulation: A New Technique for the Determination of Disordered Structures&amp;quot;, Molecular  Simulation, &#039;&#039;&#039;1&#039;&#039;&#039; pp. 359-367 (1988)]&lt;br /&gt;
#[R. L. McGreevy, &amp;quot;Reverse Monte Carlo modelling&amp;quot;, J.Phys.:Cond. Matter &#039;&#039;&#039;13&#039;&#039;&#039; pp. R877-R913 (2001)]&lt;br /&gt;
#[R. L. McGreevy and P. Zetterström, &amp;quot;To RMC or not to RMC? The use of reverse Monte Carlo modelling&amp;quot;, Current Opinion in Solid State and Materials Science. &#039;&#039;&#039;7&#039;&#039;&#039; no. 1 (2003) pp. 41-47 Elsevier Science]&lt;br /&gt;
#[G. Evrard, L. Pusztai, &amp;quot;Reverse Monte Carlo modelling of the structure of disordered materials with RMC++: a new implementation of the algorithm in C++&amp;quot;, J.Phys.:Cond. Matter &#039;&#039;&#039;17&#039;&#039;&#039; pp. S1-S13 (2005)]&lt;/div&gt;</summary>
		<author><name>Per</name></author>
	</entry>
	<entry>
		<id>http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=252</id>
		<title>Reverse Monte Carlo</title>
		<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=252"/>
		<updated>2007-02-21T10:39:57Z</updated>

		<summary type="html">&lt;p&gt;Per: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Reverse Monte Carlo (RMC) [1-4] is a variation of the standard [[Metropolis Monte Carlo]] (MMC) method. It is used to produce a 3 dimensional atomic model that fits a set of measurements (Neutron-, X-ray-diffraction, EXAFS etc.).&lt;br /&gt;
In addition to measured data a number of constraints based on prior knowledge of the system (like chemical bonds etc.) can be applied. Some examples are:&lt;br /&gt;
&lt;br /&gt;
#Closest approach between atoms (hard sphere potential)&lt;br /&gt;
#Coordination numbers.&lt;br /&gt;
#Angles in triplets of atoms.&lt;br /&gt;
&lt;br /&gt;
The 3 dimensional structure that is produced by RMC is not unique, it is a model consistent with the data and constraints provided.&lt;br /&gt;
&lt;br /&gt;
The algorithm for RMC can be written:&lt;br /&gt;
&lt;br /&gt;
#Start with a configuration of atoms with periodic boundary conditions. This can be a random or a crystalline configuration from a different simulation or model.&lt;br /&gt;
#Calculate the total radial distribution function &amp;lt;math&amp;gt;g_o^C(r)&amp;lt;/math&amp;gt; for this old configuration.&lt;br /&gt;
#Transform to the total structure factor:&lt;br /&gt;
#:&amp;lt;math&amp;gt;S_o^2 (Q)-1=\frac{4\pi\rho}{Q}\int\limits_{0}^{\infty} r(g_o^C(r)-1)\sin(Qr)\, dr&amp;lt;/math&amp;gt; &lt;br /&gt;
#:where &#039;&#039;Q&#039;&#039; is the momentum transfer &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and the number density.&lt;br /&gt;
#Calculate the difference between the measured structure factor &amp;lt;math&amp;gt;S^E(Q)&amp;lt;/math&amp;gt; and the one calculated from the configuration &amp;lt;math&amp;gt;S_o^C(Q)&amp;lt;/math&amp;gt;:&lt;br /&gt;
#:&amp;lt;math&amp;gt;\chi_o^2=\sum_i(S_o^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt; &lt;br /&gt;
#:this sum is taken over all experimental points &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; is the experimental error.&lt;br /&gt;
#Select and move one atom at random and calculate the new distribution function, structure factor and:&lt;br /&gt;
#:&amp;lt;math&amp;gt;\chi_n^2=\sum_i(S_n^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
#If &amp;lt;math&amp;gt;\chi_n^2&amp;lt;\chi_o^2&amp;lt;/math&amp;gt; accept the move and let the new configuration become the old. If &amp;lt;math&amp;gt;\chi_n^2&amp;gt;\chi_o^2&amp;lt;/math&amp;gt; then the move is accepted with probability &amp;lt;math&amp;gt;\exp(-(\chi_n^2-\chi_0^2)/2)&amp;lt;/math&amp;gt; otherwise it is rejected.&lt;br /&gt;
#repeat from step 5.&lt;br /&gt;
When &amp;lt;math&amp;gt;\chi^2&amp;lt;/math&amp;gt; have reached an equilibrium the configuration is saved and can be analysed.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#[http://dx.doi.org/10.1080/08927028808080958 R. L. McGreevy and L. Pusztai, &amp;quot;Reverse Monte Carlo Simulation: A New Technique for the Determination of Disordered Structures&amp;quot;, Molecular  Simulation, &#039;&#039;&#039;1&#039;&#039;&#039; pp. 359-367 (1988)]&lt;br /&gt;
#[R. L. McGreevy, &amp;quot;Reverse Monte Carlo modelling&amp;quot;, J.Phys.:Cond. Matter &#039;&#039;&#039;13&#039;&#039;&#039; pp. R877-R913 (2001)]&lt;br /&gt;
#[R. L. McGreevy and P. Zetterström, &amp;quot;To RMC or not to RMC? The use of reverse Monte Carlo modelling&amp;quot;, Current Opinion in Solid State and Materials Science. &#039;&#039;&#039;7&#039;&#039;&#039; no. 1 (2003) pp. 41-47 Elsevier Science]&lt;br /&gt;
#[G. Evrard, L. Pusztai, &amp;quot;Reverse Monte Carlo modelling of the structure of disordered materials with RMC++: a new implementation of the algorithm in C++&amp;quot;, J.Phys.:Cond. Matter &#039;&#039;&#039;17&#039;&#039;&#039; pp. S1-S13 (2005)]&lt;/div&gt;</summary>
		<author><name>Per</name></author>
	</entry>
	<entry>
		<id>http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=251</id>
		<title>Reverse Monte Carlo</title>
		<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=251"/>
		<updated>2007-02-21T10:39:25Z</updated>

		<summary type="html">&lt;p&gt;Per: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Reverse Monte Carlo (RMC) [1] is a variation of the standard [[Metropolis Monte Carlo]] (MMC) method. It is used to produce a 3 dimensional atomic model that fits a set of measurements (Neutron-, X-ray-diffraction, EXAFS etc.).&lt;br /&gt;
In addition to measured data a number of constraints based on prior knowledge of the system (like chemical bonds etc.) can be applied. Some examples are:&lt;br /&gt;
&lt;br /&gt;
#Closest approach between atoms (hard sphere potential)&lt;br /&gt;
#Coordination numbers.&lt;br /&gt;
#Angles in triplets of atoms.&lt;br /&gt;
&lt;br /&gt;
The 3 dimensional structure that is produced by RMC is not unique, it is a model consistent with the data and constraints provided.&lt;br /&gt;
&lt;br /&gt;
The algorithm for RMC can be written:&lt;br /&gt;
&lt;br /&gt;
#Start with a configuration of atoms with periodic boundary conditions. This can be a random or a crystalline configuration from a different simulation or model.&lt;br /&gt;
#Calculate the total radial distribution function &amp;lt;math&amp;gt;g_o^C(r)&amp;lt;/math&amp;gt; for this old configuration.&lt;br /&gt;
#Transform to the total structure factor:&lt;br /&gt;
#:&amp;lt;math&amp;gt;S_o^2 (Q)-1=\frac{4\pi\rho}{Q}\int\limits_{0}^{\infty} r(g_o^C(r)-1)\sin(Qr)\, dr&amp;lt;/math&amp;gt; &lt;br /&gt;
#:where &#039;&#039;Q&#039;&#039; is the momentum transfer &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and the number density.&lt;br /&gt;
#Calculate the difference between the measured structure factor &amp;lt;math&amp;gt;S^E(Q)&amp;lt;/math&amp;gt; and the one calculated from the configuration &amp;lt;math&amp;gt;S_o^C(Q)&amp;lt;/math&amp;gt;:&lt;br /&gt;
#:&amp;lt;math&amp;gt;\chi_o^2=\sum_i(S_o^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt; &lt;br /&gt;
#:this sum is taken over all experimental points &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; is the experimental error.&lt;br /&gt;
#Select and move one atom at random and calculate the new distribution function, structure factor and:&lt;br /&gt;
#:&amp;lt;math&amp;gt;\chi_n^2=\sum_i(S_n^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
#If &amp;lt;math&amp;gt;\chi_n^2&amp;lt;\chi_o^2&amp;lt;/math&amp;gt; accept the move and let the new configuration become the old. If &amp;lt;math&amp;gt;\chi_n^2&amp;gt;\chi_o^2&amp;lt;/math&amp;gt; then the move is accepted with probability &amp;lt;math&amp;gt;\exp(-(\chi_n^2-\chi_0^2)/2)&amp;lt;/math&amp;gt; otherwise it is rejected.&lt;br /&gt;
#repeat from step 5.&lt;br /&gt;
When &amp;lt;math&amp;gt;\chi^2&amp;lt;/math&amp;gt; have reached an equilibrium the configuration is saved and can be analysed.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#[http://dx.doi.org/10.1080/08927028808080958 R. L. McGreevy and L. Pusztai, &amp;quot;Reverse Monte Carlo Simulation: A New Technique for the Determination of Disordered Structures&amp;quot;, Molecular  Simulation, &#039;&#039;&#039;1&#039;&#039;&#039; pp. 359-367 (1988)]&lt;br /&gt;
#[R. L. McGreevy, &amp;quot;Reverse Monte Carlo modelling&amp;quot;, J.Phys.:Cond. Matter &#039;&#039;&#039;13&#039;&#039;&#039; pp. R877-R913 (2001)]&lt;br /&gt;
#[R. L. McGreevy and P. Zetterström, &amp;quot;To RMC or not to RMC? The use of reverse Monte Carlo modelling&amp;quot;, Current Opinion in Solid State and Materials Science. &#039;&#039;&#039;7&#039;&#039;&#039; no. 1 (2003) pp. 41-47 Elsevier Science]&lt;br /&gt;
#[G. Evrard, L. Pusztai, &amp;quot;Reverse Monte Carlo modelling of the structure of disordered materials with RMC++: a new implementation of the algorithm in C++&amp;quot;, J.Phys.:Cond. Matter &#039;&#039;&#039;17&#039;&#039;&#039; pp. S1-S13 (2005)]&lt;/div&gt;</summary>
		<author><name>Per</name></author>
	</entry>
	<entry>
		<id>http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=164</id>
		<title>Reverse Monte Carlo</title>
		<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=164"/>
		<updated>2007-02-19T17:46:27Z</updated>

		<summary type="html">&lt;p&gt;Per: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Reverse Monte Carlo (RMC) [1] is a variation of the standard Metropolis Monte Carlo (MMC) method. It is used to produce a 3 dimensional atomic model that fits a set of measurements (Neutron-, X-ray-diffraction, EXAFS etc.).&lt;br /&gt;
In addition to measured data a number of constraints based on prior knowledge of the system (like chemocal bonds etc.) can be applied. Some examples are:&lt;br /&gt;
&lt;br /&gt;
#Closest approach between atoms (hard sphere potential)&lt;br /&gt;
#Coordination numbers.&lt;br /&gt;
#Angels in triplets of atoms.&lt;br /&gt;
&lt;br /&gt;
The algorithm for RMC can be written:&lt;br /&gt;
&lt;br /&gt;
1. Start with a configuration of atoms with periodic boundary conditions. This can be a random or a crystalline configuration from a different simulation or model.&lt;br /&gt;
2. Calculate the total radial distribution function &amp;lt;math&amp;gt;g_o^C(r)&amp;lt;/math&amp;gt; for this old configuration.&lt;br /&gt;
3. Transform to the total structure factor:&lt;br /&gt;
&amp;lt;math&amp;gt;S_o^2 (Q)-1=\frac{4\pi\rho}{Q}\int\limits_{0}^{\inf} r(g_o^C(r)-1)sin(Qr)\, dr&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;Q&#039;&#039; is the momentum transfer &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and the number density.&lt;br /&gt;
4. Calculate the difference between the measured structure factor &amp;lt;math&amp;gt;S^E(Q)&amp;lt;/math&amp;gt; and the one calculated from the configuration &amp;lt;math&amp;gt;S_o^C(Q)&amp;lt;/math&amp;gt;:&lt;br /&gt;
&amp;lt;math&amp;gt;\chi_o^2=\sum_i(S_o^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this sum is taken over all experimental points &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; is the experimental error.&lt;br /&gt;
5. Select and move one atom at random and calculate the new distribution function, structure factor and:&lt;br /&gt;
&amp;lt;math&amp;gt;\chi_n^2=\sum_i(S_n^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
6. If &amp;lt;math&amp;gt;\chi_n^2&amp;lt;\chi_o^2&amp;lt;/math&amp;gt; accept the move and let the new configuration become the old. If &amp;lt;math&amp;gt;\chi_n^2&amp;gt;\chi_o^2&amp;lt;/math&amp;gt; then the move is accepted with probability &amp;lt;math&amp;gt;exp(-(\chi_n^2-\chi_0^2)/2)&amp;lt;/math&amp;gt; otherwiase rejected.&lt;br /&gt;
7. repeat from step 5.&lt;br /&gt;
When &amp;lt;math&amp;gt;\chi^2&amp;lt;/math&amp;gt; have reached an equilibrium the configuration is saved and can be analysed.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#R.L.McGreevy and L. Pusztai, &#039;&#039;Mol. Simulation,&#039;&#039; &#039;&#039;&#039;1&#039;&#039;&#039; 359-367 (1988)&lt;/div&gt;</summary>
		<author><name>Per</name></author>
	</entry>
	<entry>
		<id>http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=154</id>
		<title>Reverse Monte Carlo</title>
		<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=154"/>
		<updated>2007-02-19T17:31:47Z</updated>

		<summary type="html">&lt;p&gt;Per: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Reverse Monte Carlo (RMC) [1] is a variation of the standard Metropolis Monte Carlo (MMC) method. It is used to produce a 3 dimensional atomic model that fits a set of measurements (Neutron-, X-ray-diffraction, EXAFS etc.).&lt;br /&gt;
In addition to measured data a number of constraints based on prior knowledge of the system (like chemocal bonds etc.) can be applied. Some examples are:&lt;br /&gt;
&lt;br /&gt;
#Closest approach between atoms (hard sphere potential)&lt;br /&gt;
#Coordination numbers.&lt;br /&gt;
#Angels in triplets of atoms.&lt;br /&gt;
&lt;br /&gt;
The algorithm for RMC can be written:&lt;br /&gt;
&lt;br /&gt;
#Start with a configuration of atoms with periodic boundary conditions. This can be a random or a crystalline configuration from a different simulation or model.&lt;br /&gt;
#Calculate the total radial distribution function &amp;lt;math&amp;gt;g_o^C(r)&amp;lt;/math&amp;gt; for this old configuration.&lt;br /&gt;
#Transform to the total structure factor:&lt;br /&gt;
&amp;lt;math&amp;gt;S_o^2 (Q)-1=\frac{4\pi\rho}{Q}\int\limits_{0}^{\inf} r(g_o^C(r)-1)sin(Qr)\, dr&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;Q&#039;&#039; is the momentum transfer &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and the number density.&lt;br /&gt;
#Calculate the difference between the measured structure factor &amp;lt;math&amp;gt;S^E(Q)&amp;lt;/math&amp;gt; and the one calculated from the configuration &amp;lt;math&amp;gt;S_o^C(Q)&amp;lt;/math&amp;gt;:&lt;br /&gt;
&amp;lt;math&amp;gt;\chi_o^2=\sum_i(S_o^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this sum is taken over all experimental points &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; is the experimental error.&lt;br /&gt;
#Select and move one atom at random and calculate the new distribution function, structure factor and:&lt;br /&gt;
&amp;lt;math&amp;gt;\chi_n^2=\sum_i(S_n^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
#If &amp;lt;math&amp;gt;\chi_n^2&amp;lt;\chi_o^2&amp;lt;/math&amp;gt; accept the move and let the new configuration become the old. If &amp;lt;math&amp;gt;\chi_n^2&amp;gt;\chi_o^2&amp;lt;/math&amp;gt; then the move is accepted with probability &amp;lt;math&amp;gt;exp(-(\chi_n^2-\chi_0^2)/2)&amp;lt;/math&amp;gt; otherwiase rejected.&lt;br /&gt;
#repeat from step 5&lt;br /&gt;
When &amp;lt;math&amp;gt;\chi^2&amp;lt;/math&amp;gt; have reached an equilibrium the configuration is saved and can be analysed.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#R.L.McGreevy and L. Pusztai, &#039;&#039;Mol. Simulation,&#039;&#039; &#039;&#039;&#039;1&#039;&#039;&#039; 359-367 (1988)&lt;/div&gt;</summary>
		<author><name>Per</name></author>
	</entry>
	<entry>
		<id>http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=153</id>
		<title>Reverse Monte Carlo</title>
		<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=153"/>
		<updated>2007-02-19T17:24:45Z</updated>

		<summary type="html">&lt;p&gt;Per: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Reverse Monte Carlo (RMC) [1] is a variation of the standard Metropolis Monte Carlo (MMC) method. It is used to produce a 3 dimensional atomic model that fits a set of measurements (Neutron-, X-ray-diffraction, EXAFS etc.).&lt;br /&gt;
In addition to measured data a number of constraints based on prior knowledge of the system (like chemocal bonds etc.) can be applied. Some examples are:&lt;br /&gt;
&lt;br /&gt;
#Closest approach between atoms (hard sphere potential)&lt;br /&gt;
#Coordination numbers.&lt;br /&gt;
#Angels in triplets of atoms.&lt;br /&gt;
&lt;br /&gt;
The algorithm for RMC can be written:&lt;br /&gt;
&lt;br /&gt;
#Start with a configuration of atoms with periodic boundary conditions. This can be a random or a crystalline configuration from a different simulation or model.&lt;br /&gt;
#Calculate the total radial distribution function &amp;lt;math&amp;gt;g_o^C(r)&amp;lt;/math&amp;gt; for this old configuration.&lt;br /&gt;
#Transform to the total structure factor:&lt;br /&gt;
&amp;lt;math&amp;gt;S_o^2 (Q)-1=\frac{4\pi\rho}{Q}\int\limits_{0}^{\inf} r(g_o^C(r)-1)sin(Qr)\, dr&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;Q&#039;&#039; is the momentum transfer &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and the number density.&lt;br /&gt;
#Calculate the difference between the measured structure factor &amp;lt;math&amp;gt;S^E(Q)&amp;lt;/math&amp;gt; and the one calculated from the configuration &amp;lt;math&amp;gt;S_o^C(Q)&amp;lt;/math&amp;gt;:&lt;br /&gt;
&amp;lt;math&amp;gt;\chi_o^2=\sum_i(S_o^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this sum is taken over all experimental points &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; is the experimental error.&lt;br /&gt;
#Select and move one atom at random and calculate the new distribution function, structure factor and:&lt;br /&gt;
&amp;lt;math&amp;gt;\chi_n^2=\sum_i(S_n^C(Q_i)-S^E(Q_i))^2/\sigma(Q_i)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#R.L.McGreevy and L. Pusztai, &#039;&#039;Mol. Simulation,&#039;&#039; &#039;&#039;&#039;1&#039;&#039;&#039; 359-367 (1988)&lt;/div&gt;</summary>
		<author><name>Per</name></author>
	</entry>
	<entry>
		<id>http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=150</id>
		<title>Reverse Monte Carlo</title>
		<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php?title=Reverse_Monte_Carlo&amp;diff=150"/>
		<updated>2007-02-19T16:55:07Z</updated>

		<summary type="html">&lt;p&gt;Per: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Reverse Monte Carlo (RMC) [1] is a variation of the standard Metropolis Monte Carlo (MMC) method. It is used to produce a 3 dimensional atomic model that fits a set of measurements (Neutron-, X-ray-diffraction, EXAFS etc.).&lt;br /&gt;
In addition to measured data a number of constraints based on prior knowledge of the system (like chemocal bonds etc.) can be applied. Some examples are:&lt;br /&gt;
&lt;br /&gt;
#Closest approach between atoms (hard sphere potential)&lt;br /&gt;
#Coordination numbers.&lt;br /&gt;
#Angels in triplets of atoms.&lt;br /&gt;
&lt;br /&gt;
The algorithm for RMC can be written:&lt;br /&gt;
&lt;br /&gt;
#Start with a configuration of atoms with periodic boundary conditions. This can be a random or a crystalline configuration from a different simulation or model.&lt;br /&gt;
#Calculate the partial radial distribution functions &amp;lt;math&amp;gt; g_{\alpha \beta} (r) &amp;lt;/math&amp;gt; for this configuration.&lt;br /&gt;
#Transform to the total structure factor:&lt;br /&gt;
&amp;lt;math&amp;gt;S_o^2 (Q)-1=4\pi over Q\int&amp;lt;/math&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
#R.L.McGreevy and L. Pusztai, &#039;&#039;Mol. Simulation,&#039;&#039; &#039;&#039;&#039;1&#039;&#039;&#039; 359-367 (1988)&lt;/div&gt;</summary>
		<author><name>Per</name></author>
	</entry>
</feed>