<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://turbogap.fi/wiki/index.php?action=history&amp;feed=atom&amp;title=Box_scaling_factor</id>
	<title>Box scaling factor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://turbogap.fi/wiki/index.php?action=history&amp;feed=atom&amp;title=Box_scaling_factor"/>
	<link rel="alternate" type="text/html" href="https://turbogap.fi/wiki/index.php?title=Box_scaling_factor&amp;action=history"/>
	<updated>2026-04-27T14:10:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://turbogap.fi/wiki/index.php?title=Box_scaling_factor&amp;diff=204&amp;oldid=prev</id>
		<title>Miguel Caro: /* Example */</title>
		<link rel="alternate" type="text/html" href="https://turbogap.fi/wiki/index.php?title=Box_scaling_factor&amp;diff=204&amp;oldid=prev"/>
		<updated>2021-07-30T11:41:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Example&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 11:41, 30 July 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l35&quot; &gt;Line 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  [[scale_box]] = .true.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  [[scale_box]] = .true.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;box_rescaling_factor&lt;/del&gt;]] = 1.2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;box_scaling_factor&lt;/ins&gt;]] = 1.2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Miguel Caro</name></author>
		
	</entry>
	<entry>
		<id>https://turbogap.fi/wiki/index.php?title=Box_scaling_factor&amp;diff=202&amp;oldid=prev</id>
		<title>Miguel Caro at 11:37, 30 July 2021</title>
		<link rel="alternate" type="text/html" href="https://turbogap.fi/wiki/index.php?title=Box_scaling_factor&amp;diff=202&amp;oldid=prev"/>
		<updated>2021-07-30T11:37:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 11:37, 30 July 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[box_scaling_factor]] determines the change in lattice vectors taking place throughout a [[molecular dynamics]] simulation. It needs to be used in combination with &amp;lt;code&amp;gt;[[scale_box]] = .true.&amp;lt;/code&amp;gt;. The lattice vectors change according to the following equation:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;[[box_scaling_factor]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;determines the change in lattice vectors taking place throughout a [[molecular dynamics]] simulation. It needs to be used in combination with &amp;lt;code&amp;gt;[[scale_box]] = .true.&amp;lt;/code&amp;gt;. The lattice vectors change according to the following equation:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;\textbf{v} (i_\text{step}) = \frac{i_\text{step}}{N_\text{steps}} [[1+t_{xx}, t_{xy}, t_{xz}], [t_{yx}, 1+t_{yy}, t_{yz}], [t_{zx}, t_{zy}, 1+t_{zz}]] \, \textbf{v}_0,&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;\textbf{v} (i_\text{step}) = \frac{i_\text{step}}{N_\text{steps}} [[1+t_{xx}, t_{xy}, t_{xz}], [t_{yx}, 1+t_{yy}, t_{yz}], [t_{zx}, t_{zy}, 1+t_{zz}]] \, \textbf{v}_0,&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Miguel Caro</name></author>
		
	</entry>
	<entry>
		<id>https://turbogap.fi/wiki/index.php?title=Box_scaling_factor&amp;diff=201&amp;oldid=prev</id>
		<title>Miguel Caro: Created page with &quot;box_scaling_factor determines the change in lattice vectors taking place throughout a molecular dynamics simulation. It needs to be used in combination with &lt;code&gt;sc...&quot;</title>
		<link rel="alternate" type="text/html" href="https://turbogap.fi/wiki/index.php?title=Box_scaling_factor&amp;diff=201&amp;oldid=prev"/>
		<updated>2021-07-30T11:36:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/index.php/Box_scaling_factor&quot; title=&quot;Box scaling factor&quot;&gt;box_scaling_factor&lt;/a&gt; determines the change in lattice vectors taking place throughout a &lt;a href=&quot;/wiki/index.php?title=Molecular_dynamics&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Molecular dynamics (page does not exist)&quot;&gt;molecular dynamics&lt;/a&gt; simulation. It needs to be used in combination with &amp;lt;code&amp;gt;sc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[box_scaling_factor]] determines the change in lattice vectors taking place throughout a [[molecular dynamics]] simulation. It needs to be used in combination with &amp;lt;code&amp;gt;[[scale_box]] = .true.&amp;lt;/code&amp;gt;. The lattice vectors change according to the following equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\textbf{v} (i_\text{step}) = \frac{i_\text{step}}{N_\text{steps}} [[1+t_{xx}, t_{xy}, t_{xz}], [t_{yx}, 1+t_{yy}, t_{yz}], [t_{zx}, t_{zy}, 1+t_{zz}]] \, \textbf{v}_0,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;i_\text{step}&amp;lt;/math&amp;gt; is the current time step, &amp;lt;math&amp;gt;N_\text{steps}&amp;lt;/math&amp;gt; is the total number of time steps, &amp;lt;math&amp;gt;\textbf{v}_0&amp;lt;/math&amp;gt; is a lattice vector at the beginning of the simulation, and the ''t''s are the scaling factors. The symmetry of the transformation is determined by how many elements, 1, 3 or 9, the user provides:&lt;br /&gt;
&lt;br /&gt;
* 1 element, e.g., &amp;lt;code&amp;gt;box_scaling_factor = 1.2&amp;lt;/code&amp;gt;, specifies an isotropic (homogeneous) transformation of the box, with &amp;lt;math&amp;gt;t_{xx} = t_{yy} = t_{zz} = 0.2&amp;lt;/math&amp;gt; in the example;&lt;br /&gt;
* 3 elements, e.g., &amp;lt;code&amp;gt;box_scaling_factor = 1.1 1.2 1.3&amp;lt;/code&amp;gt;, specifies an orthorhombic (diagonal) transformation of the box, with &amp;lt;math&amp;gt;t_{xx} = 0.1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;t_{yy} = 0.2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;t_{zz} = 0.3&amp;lt;/math&amp;gt; in the example;&lt;br /&gt;
* 9 elements, e.g., &amp;lt;code&amp;gt;box_scaling_factor = 1.1 0.2 0.3 0.4 1.5 0.6 0.7 0.8 1.9&amp;lt;/code&amp;gt;, specifies a triclinic (general) transformation of the box, with &amp;lt;math&amp;gt;t_{xx} = 0.1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;t_{xy} = 0.2&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;t_{xz} = 0.3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;t_{yx} = 0.4&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;t_{yy} = 0.5&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;t_{yz} = 0.6&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;t_{zx} = 0.7&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;t_{zy} = 0.8&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;t_{zz} = 0.9&amp;lt;/math&amp;gt; in the example;&lt;br /&gt;
&lt;br /&gt;
=== Important considerations ===&lt;br /&gt;
&lt;br /&gt;
* For the ''diagonal'' components of the transformation matrix, the user defines &amp;lt;math&amp;gt;1+t&amp;lt;/math&amp;gt; rather than ''t''. &lt;br /&gt;
* The atomic positions are scaled together with the lattice vectors.&lt;br /&gt;
* The off-diagonal factors (&amp;lt;math&amp;gt;t_{ij}, i \neq j&amp;lt;/math&amp;gt;) can be positive or negative; the diagonal factors (&amp;lt;math&amp;gt;1+t_{ii}&amp;lt;/math&amp;gt;) should be positive, otherwise the volume of the box would collapse to zero during the simulation.&lt;br /&gt;
&lt;br /&gt;
=== Summary ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Summary for &amp;lt;code&amp;gt;box_scaling_factor&amp;lt;/code&amp;gt; keyword&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| Required/optional&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| Type&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| Accepted values&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| Default&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| See also&lt;br /&gt;
|-&lt;br /&gt;
| Optional&lt;br /&gt;
| Real or real array of dimension 3 or real array of dimension 9&lt;br /&gt;
| Any real scalar or real array of dimension 3 or 9&lt;br /&gt;
| &amp;lt;code&amp;gt;1. 0. 0. 0. 1. 0. 0. 0. 1.&amp;lt;/code&amp;gt;&lt;br /&gt;
| [[MD options]], &amp;lt;code&amp;gt;[[scale_box]]&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;[[barostat]]&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
 [[scale_box]] = .true.&lt;br /&gt;
 [[box_rescaling_factor]] = 1.2&lt;/div&gt;</summary>
		<author><name>Miguel Caro</name></author>
		
	</entry>
</feed>