<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://monnier.astro.lsa.umich.edu/research/index.php?action=history&amp;feed=atom&amp;title=Editing_lucy_mod.F90</id>
	<title>Editing lucy mod.F90 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://monnier.astro.lsa.umich.edu/research/index.php?action=history&amp;feed=atom&amp;title=Editing_lucy_mod.F90"/>
	<link rel="alternate" type="text/html" href="https://monnier.astro.lsa.umich.edu/research/index.php?title=Editing_lucy_mod.F90&amp;action=history"/>
	<updated>2026-08-03T17:55:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://monnier.astro.lsa.umich.edu/research/index.php?title=Editing_lucy_mod.F90&amp;diff=2914&amp;oldid=prev</id>
		<title>Monnierast at 18:52, 24 April 2012</title>
		<link rel="alternate" type="text/html" href="https://monnier.astro.lsa.umich.edu/research/index.php?title=Editing_lucy_mod.F90&amp;diff=2914&amp;oldid=prev"/>
		<updated>2012-04-24T18:52:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:52, 24 April 2012&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-l40&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;      &lt;/del&gt;if (myRankIsZero) call writeAMRgrid(&quot;lucy_grid_tmp.dat&quot;, .false., grid)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  |if (myRankIsZero) call writeAMRgrid(&quot;lucy_grid_tmp.dat&quot;, .false., grid)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; |&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  |if ((grid%geometry == &quot;ttauri&quot;).and.(iIter_grand &amp;gt;= 5)) then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  | if ((grid%geometry == &quot;ttauri&quot;).and.(iIter_grand &amp;gt;= 5)) then&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &lt;/del&gt;write(*,&#039;(a, 1p,D13.4,1p,D13.4,1p,D13.4)&#039;) &#039;checking for convergence &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;on cleeves mod&lt;/del&gt;&#039;, totalEmission,oldTotalEmission, abs(totalEmission-oldTotalEmission)/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;totalEmission&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  |write(*,&#039;(a, 1p,D13.4,1p,D13.4,1p,D13.4)&#039;) &#039;checking for convergence&#039;, totalEmission,oldTotalEmission,abs(totalEmission-oldTotalEmission)/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;oldtotalEmission&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &lt;/del&gt;if (abs(totalEmission-oldTotalEmission)/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;totalEmission &lt;/del&gt;&amp;lt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1&lt;/del&gt;.0d-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1&lt;/del&gt;) converged = .true.  ! get out at 5% accuracy after niter=4&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  |if (abs(totalEmission-oldTotalEmission)/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;oldtotalEmission &lt;/ins&gt;&amp;lt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;5&lt;/ins&gt;.0d-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/ins&gt;) converged = .true.  ! get out at 5% accuracy after niter=4&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |      endif&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |      endif&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;  |}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Monnierast</name></author>
	</entry>
	<entry>
		<id>https://monnier.astro.lsa.umich.edu/research/index.php?title=Editing_lucy_mod.F90&amp;diff=2913&amp;oldid=prev</id>
		<title>Monnierast: New page: Here is an example of how to edit lucy_mod.F90 for customized convergence criteria. The default is to   {|  |! forceLucyConv is set in the parameters.dat file if required  |-  |if ( forceL...</title>
		<link rel="alternate" type="text/html" href="https://monnier.astro.lsa.umich.edu/research/index.php?title=Editing_lucy_mod.F90&amp;diff=2913&amp;oldid=prev"/>
		<updated>2012-04-24T18:47:26Z</updated>

		<summary type="html">&lt;p&gt;New page: Here is an example of how to edit lucy_mod.F90 for customized convergence criteria. The default is to   {|  |! forceLucyConv is set in the parameters.dat file if required  |-  |if ( forceL...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here is an example of how to edit lucy_mod.F90 for customized convergence criteria. The default is to &lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
 |! forceLucyConv is set in the parameters.dat file if required&lt;br /&gt;
 |-&lt;br /&gt;
 |if ( forceLucyConv ) then&lt;br /&gt;
 |-&lt;br /&gt;
 |converged = .true.&lt;br /&gt;
 |-&lt;br /&gt;
 |if (myRankIsZero) write(*,*) &amp;quot;FORCING CONVERGENCE FOR TESTS!!!!&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 |end if&lt;br /&gt;
 |-&lt;br /&gt;
 |&lt;br /&gt;
 |-&lt;br /&gt;
 |if (multiLucyFiles) then&lt;br /&gt;
 |-&lt;br /&gt;
 |write(tfilename, &amp;#039;(a,i2.2,a)&amp;#039;) &amp;quot;lucy&amp;quot;,iIter_grand,&amp;quot;.vtk&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 |else&lt;br /&gt;
 |-&lt;br /&gt;
 |tfilename = &amp;quot;lucy.vtk&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 |endif&lt;br /&gt;
 |-&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 |call writeVtkFile(grid, tfilename, &amp;amp;&lt;br /&gt;
 |-&lt;br /&gt;
 |valueTypeString=(/&amp;quot;rho        &amp;quot;, &amp;quot;temperature&amp;quot;, &amp;quot;tau        &amp;quot;, &amp;quot;crossings  &amp;quot;, &amp;quot;etacont    &amp;quot; , &amp;amp;&lt;br /&gt;
 |-&lt;br /&gt;
 |&amp;quot;dust1      &amp;quot;, &amp;quot;deltaT     &amp;quot;, &amp;quot;etaline    &amp;quot;,&amp;quot;fixedtemp  &amp;quot;,     &amp;quot;inflow     &amp;quot;/))&lt;br /&gt;
 |-&lt;br /&gt;
 |       !    !&lt;br /&gt;
 |-&lt;br /&gt;
 |       !    ! Write grid structure to a tmp file.&lt;br /&gt;
 |- &lt;br /&gt;
 |       !    !&lt;br /&gt;
 |-&lt;br /&gt;
 |&lt;br /&gt;
 |-&lt;br /&gt;
 |       if (myRankIsZero) call writeAMRgrid(&amp;quot;lucy_grid_tmp.dat&amp;quot;, .false., grid)&lt;br /&gt;
 |-&lt;br /&gt;
 |&lt;br /&gt;
 | if ((grid%geometry == &amp;quot;ttauri&amp;quot;).and.(iIter_grand &amp;gt;= 5)) then&lt;br /&gt;
 |-&lt;br /&gt;
 |      write(*,&amp;#039;(a, 1p,D13.4,1p,D13.4,1p,D13.4)&amp;#039;) &amp;#039;checking for convergence on cleeves mod&amp;#039;, totalEmission,oldTotalEmission, abs(totalEmission-oldTotalEmission)/totalEmission&lt;br /&gt;
 |-&lt;br /&gt;
 |          if (abs(totalEmission-oldTotalEmission)/totalEmission &amp;lt; 1.0d-1) converged = .true.  ! get out at 5% accuracy after niter=4&lt;br /&gt;
 |-&lt;br /&gt;
 |      endif&lt;br /&gt;
 |}&lt;/div&gt;</summary>
		<author><name>Monnierast</name></author>
	</entry>
</feed>