<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>https://yrwu-wk.ee.ntu.edu.tw/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Subroutine_mod3dpar</id>
	<title>Subroutine mod3dpar - 修訂紀錄</title>
	<link rel="self" type="application/atom+xml" href="https://yrwu-wk.ee.ntu.edu.tw/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Subroutine_mod3dpar"/>
	<link rel="alternate" type="text/html" href="https://yrwu-wk.ee.ntu.edu.tw/mediawiki/index.php?title=Subroutine_mod3dpar&amp;action=history"/>
	<updated>2026-09-25T19:10:37Z</updated>
	<subtitle>本 wiki 上此頁面的修訂紀錄</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://yrwu-wk.ee.ntu.edu.tw/mediawiki/index.php?title=Subroutine_mod3dpar&amp;diff=724&amp;oldid=prev</id>
		<title>Yrwu 於 2017年12月5日 (二) 02:11</title>
		<link rel="alternate" type="text/html" href="https://yrwu-wk.ee.ntu.edu.tw/mediawiki/index.php?title=Subroutine_mod3dpar&amp;diff=724&amp;oldid=prev"/>
		<updated>2017-12-05T02:11:15Z</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;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2017年12月5日 (二) 02:11 的修訂&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;第1行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&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;Subroutine mod3dpar is the subroutine called &quot;after&quot; all parameters are arranged to the memory. This subroutine allows user to modify the parameters locally. This function is activated by the command $assignparbyfunc. Some examples are listed below&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;Subroutine mod3dpar is the subroutine called &quot;after&quot; all parameters are arranged to the memory. This subroutine allows user to modify the parameters locally. This function is activated by the command $assignparbyfunc. Some examples are listed below &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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; &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;  subroutine mod3dpar&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;  subroutine mod3dpar&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;use meshelement&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;use meshelement&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;use global3d&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;use global3d&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;implicit none&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;implicit none&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;real(dp) :: x,y,z&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;real(dp) :: x,y,z&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;integer(i8b) :: nodetype ,i ,j &amp;lt;br&amp;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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;integer(i8b) :: nodetype ,i ,j &amp;lt;br&amp;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;    do i=1,mshnd%n&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;    do i=1,mshnd%n&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;       nodetype = mshnd%element(i) ! Get the node number&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;       nodetype = mshnd%element(i) ! Get the node number&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Yrwu</name></author>
	</entry>
	<entry>
		<id>https://yrwu-wk.ee.ntu.edu.tw/mediawiki/index.php?title=Subroutine_mod3dpar&amp;diff=723&amp;oldid=prev</id>
		<title>Yrwu：​已建立頁面，內容為 &quot;Subroutine mod3dpar is the subroutine called &quot;after&quot; all parameters are arranged to the memory. This subroutine allows user to modify the parameters locally. This fu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://yrwu-wk.ee.ntu.edu.tw/mediawiki/index.php?title=Subroutine_mod3dpar&amp;diff=723&amp;oldid=prev"/>
		<updated>2017-12-05T02:10:57Z</updated>

		<summary type="html">&lt;p&gt;已建立頁面，內容為 &amp;quot;Subroutine mod3dpar is the subroutine called &amp;quot;after&amp;quot; all parameters are arranged to the memory. This subroutine allows user to modify the parameters locally. This fu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Subroutine mod3dpar is the subroutine called &amp;quot;after&amp;quot; all parameters are arranged to the memory. This subroutine allows user to modify the parameters locally. This function is activated by the command $assignparbyfunc. Some examples are listed below&lt;br /&gt;
 subroutine mod3dpar&lt;br /&gt;
use meshelement&lt;br /&gt;
use global3d&lt;br /&gt;
implicit none&lt;br /&gt;
real(dp) :: x,y,z&lt;br /&gt;
integer(i8b) :: nodetype ,i ,j &amp;lt;br&amp;gt;&lt;br /&gt;
   do i=1,mshnd%n&lt;br /&gt;
      nodetype = mshnd%element(i) ! Get the node number&lt;br /&gt;
      x=mshnd%x(i)&lt;br /&gt;
      y=mshnd%y(i)&lt;br /&gt;
      z=mshnd%z(i)&lt;br /&gt;
      material%dope(i)=mshelectric%dope(nodetype)&lt;br /&gt;
      material%Eg(i)=mshelectric%Eg(nodetype)&lt;br /&gt;
      material%Ea(i)=mshelectric%Ea(nodetype)&lt;br /&gt;
      material%impurity(i)=mshelectric%impurity(nodetype)&lt;br /&gt;
      material%charges(i)=mshelectric%charges(nodetype)&lt;br /&gt;
      material%ep(i)=mshelectric%ep(nodetype)&lt;br /&gt;
      material%polx(i)=mshelectric%polx(nodetype)&lt;br /&gt;
      material%poly(i)=mshelectric%poly(nodetype)&lt;br /&gt;
      material%polz(i)=mshelectric%polz(nodetype)&lt;br /&gt;
      material%efmass(1:4,i)=mshelectric%efmass(1:4,nodetype) &lt;br /&gt;
      material%trapNT(i)=mshelectric%trapNT(nodetype)  &lt;br /&gt;
      material%trapEt(i)=mshelectric%trapEt(nodetype)   &lt;br /&gt;
      material%trapdegenercy(i)=mshelectric%trapdegenercy(nodetype) &lt;br /&gt;
      material%traptaun(i)=mshelectric%traptaun(nodetype) &lt;br /&gt;
      material%traptaup(i)=mshelectric%traptaup(nodetype)  &lt;br /&gt;
      material%taun(i)=mshelectric%taun(nodetype)   &lt;br /&gt;
      material%taup(i)=mshelectric%taup(nodetype)    &lt;br /&gt;
      if( ifusegenfunc) then&lt;br /&gt;
         generations(i) = mshelectric%taun(nodetype)&lt;br /&gt;
      end if&lt;br /&gt;
    end do&lt;br /&gt;
    do j=mshel%tetraelenumstart,mshel%n&lt;br /&gt;
      material%EgEl(j) = mshelectric%Eg(mshel%realvolnum(j)) ! Setup the tetrahydron volnum&lt;br /&gt;
      material%polxEl(j)=mshelectric%polx(mshel%realvolnum(j))&lt;br /&gt;
      material%polyEl(j)=mshelectric%poly(mshel%realvolnum(j))&lt;br /&gt;
      material%polzEl(j)=mshelectric%polz(mshel%realvolnum(j))&lt;br /&gt;
    end do&lt;br /&gt;
    print*, &amp;quot;You have activated the program to assign material parameters by an external function!&amp;quot;&lt;br /&gt;
    print*, &amp;quot;You have to run the program with 3D-ddcc-dyna.exe. In adition, please remember to modify &amp;quot;&lt;br /&gt;
    print*, &amp;quot;lib3dmodpar.f90  and recompile it! Program stop&amp;quot;&lt;br /&gt;
    stop&lt;br /&gt;
   end subroutine&lt;/div&gt;</summary>
		<author><name>Yrwu</name></author>
	</entry>
</feed>