$assignparbyfunc (3D)

出自 DDCC TCAD TOOL Manual
於 2017年12月4日 (一) 14:13 由 Yrwu (對話 | 貢獻) 所做的修訂 (已建立頁面,內容為 "$assignparbyfunc is a powerful function to change all parameters in the simulation program (3D). It comes with dynamic external library called [[subroutine mod3dpar]...")

(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
前往: 導覽搜尋

$assignparbyfunc is a powerful function to change all parameters in the simulation program (3D). It comes with dynamic external library called subroutine mod3dpar. In the 3D program, now it is only opened for linux version with the execution file 3D-ddcc-dyna.exe. The file of this function is the file called lib3dmodpar.f90. Simply add this command and the program will called the subroutine mod3dpar. You will need to modify the subroutine in order to modify the program's parameters.

For example:
Add following command in the input file. such as Project_1.inp

$assignparbyfunc

Open lib3dmodpar.f90 file and modify the subroutine mod3dpar. And compile the program under linux environment. Intel fortran compiler is needed. Compile the file lib3dmodpar.f90 to the external library libmodpar.so

ifort  -msse3 -O3  -no-prec-div  -shared -fPIC lib3dmodpar.f90 -o lib3dmodpar.so

And put this file in the same folder of 3D-DDCC or put the file in the shared library folder. Execute the file

3D-ddcc-dyna.exe Project_1.inp