$assignparbyfunc (3D)

出自DDCC TCAD TOOL Manual
跳至導覽 跳至搜尋
可列印版不再被支援且可能有渲染錯誤。請更新您的瀏覽器書籤並改用瀏覽器預設的列印功能。

$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