$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