devsim 2.10.0__cp39-abi3-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. devsim/__init__.py +17 -0
  2. devsim/devsim_py3.pyd +0 -0
  3. devsim/python_packages/Klaassen.py +336 -0
  4. devsim/python_packages/__init__.py +0 -0
  5. devsim/python_packages/fermi_physics.py +31 -0
  6. devsim/python_packages/model_create.py +262 -0
  7. devsim/python_packages/mos_physics.py +170 -0
  8. devsim/python_packages/pythonmesh.py +131 -0
  9. devsim/python_packages/ramp.py +101 -0
  10. devsim/python_packages/simple_dd.py +75 -0
  11. devsim/python_packages/simple_physics.py +463 -0
  12. devsim/umfpack/umfpack_lgpl.dll +0 -0
  13. devsim/umfpack/umfpack_loader.py +517 -0
  14. devsim/umfpack/umfshim.py +116 -0
  15. devsim-2.10.0.data/data/devsim_data/BUILD.md +94 -0
  16. devsim-2.10.0.data/data/devsim_data/CHANGES.md +773 -0
  17. devsim-2.10.0.data/data/devsim_data/CITATION.md +23 -0
  18. devsim-2.10.0.data/data/devsim_data/CODE_OF_CONDUCT.md +74 -0
  19. devsim-2.10.0.data/data/devsim_data/CONTRIBUTING.md +43 -0
  20. devsim-2.10.0.data/data/devsim_data/HOWTO.md +27 -0
  21. devsim-2.10.0.data/data/devsim_data/INSTALL.md +65 -0
  22. devsim-2.10.0.data/data/devsim_data/README.md +97 -0
  23. devsim-2.10.0.data/data/devsim_data/TEST.md +13 -0
  24. devsim-2.10.0.data/data/devsim_data/doc/devsim.pdf +0 -0
  25. devsim-2.10.0.data/data/devsim_data/doc/symdiff.pdf +0 -0
  26. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/Ve0.jpg +0 -0
  27. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/Ve0_3d.jpg +0 -0
  28. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/Ve7.jpg +0 -0
  29. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/Ve7_3d.jpg +0 -0
  30. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/bioapp1_2d.py +85 -0
  31. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/bioapp1_3d.py +85 -0
  32. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/bioapp1_common.py +399 -0
  33. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/disk_2d.geo +62 -0
  34. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/disk_2d.msh +65606 -0
  35. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/disk_3d.geo +183 -0
  36. devsim-2.10.0.data/data/devsim_data/examples/bioapp1/disk_3d.msh +25808 -0
  37. devsim-2.10.0.data/data/devsim_data/examples/capacitance/cap.lay +1587 -0
  38. devsim-2.10.0.data/data/devsim_data/examples/capacitance/cap1d.py +155 -0
  39. devsim-2.10.0.data/data/devsim_data/examples/capacitance/cap2d.py +200 -0
  40. devsim-2.10.0.data/data/devsim_data/examples/diode/3dblock.geo +48 -0
  41. devsim-2.10.0.data/data/devsim_data/examples/diode/diode_1d.py +94 -0
  42. devsim-2.10.0.data/data/devsim_data/examples/diode/diode_1d_custom.py +159 -0
  43. devsim-2.10.0.data/data/devsim_data/examples/diode/diode_2d.py +68 -0
  44. devsim-2.10.0.data/data/devsim_data/examples/diode/diode_common.py +253 -0
  45. devsim-2.10.0.data/data/devsim_data/examples/diode/diode_current.lay +3271 -0
  46. devsim-2.10.0.data/data/devsim_data/examples/diode/diode_density.lay +3271 -0
  47. devsim-2.10.0.data/data/devsim_data/examples/diode/diode_potential.lay +3272 -0
  48. devsim-2.10.0.data/data/devsim_data/examples/diode/gmsh_diode2d.msh +1477 -0
  49. devsim-2.10.0.data/data/devsim_data/examples/diode/gmsh_diode2d.py +55 -0
  50. devsim-2.10.0.data/data/devsim_data/examples/diode/gmsh_diode3d.msh +8557 -0
  51. devsim-2.10.0.data/data/devsim_data/examples/diode/gmsh_diode3d.py +74 -0
  52. devsim-2.10.0.data/data/devsim_data/examples/diode/gmsh_diode3d_equil.py +43 -0
  53. devsim-2.10.0.data/data/devsim_data/examples/diode/gmsh_diode3d_float128.py +85 -0
  54. devsim-2.10.0.data/data/devsim_data/examples/diode/laux2d.py +43 -0
  55. devsim-2.10.0.data/data/devsim_data/examples/diode/laux3d.py +54 -0
  56. devsim-2.10.0.data/data/devsim_data/examples/diode/laux_common.py +503 -0
  57. devsim-2.10.0.data/data/devsim_data/examples/diode/pythonmesh3d.py +61 -0
  58. devsim-2.10.0.data/data/devsim_data/examples/diode/ssac_diode.py +57 -0
  59. devsim-2.10.0.data/data/devsim_data/examples/diode/tran_diode.py +63 -0
  60. devsim-2.10.0.data/data/devsim_data/examples/mobility/gmsh_mos2d.geo +160 -0
  61. devsim-2.10.0.data/data/devsim_data/examples/mobility/gmsh_mos2d.msh +8599 -0
  62. devsim-2.10.0.data/data/devsim_data/examples/mobility/gmsh_mos2d.py +96 -0
  63. devsim-2.10.0.data/data/devsim_data/examples/mobility/gmsh_mos2d_create.py +174 -0
  64. devsim-2.10.0.data/data/devsim_data/examples/mobility/gmsh_mos2d_kla.py +162 -0
  65. devsim-2.10.0.data/data/devsim_data/examples/mobility/logElectrons.lay +1327 -0
  66. devsim-2.10.0.data/data/devsim_data/examples/mobility/pythonmesh2d.py +100 -0
  67. devsim-2.10.0.data/data/devsim_data/examples/mobility/test.lay +3385 -0
  68. devsim-2.10.0.data/data/devsim_data/examples/mobility/times.txt +34 -0
  69. devsim-2.10.0.data/data/devsim_data/examples/plotting/visualization.ipynb +160 -0
  70. devsim-2.10.0.data/data/devsim_data/examples/symdiff/arrhenius.py +24 -0
  71. devsim-2.10.0.data/data/devsim_data/examples/symdiff/deftest.py +48 -0
  72. devsim-2.10.0.data/data/devsim_data/examples/symdiff/modellist1.py +9 -0
  73. devsim-2.10.0.data/data/devsim_data/examples/symdiff/models1.py +41 -0
  74. devsim-2.10.0.data/data/devsim_data/examples/symdiff/ordered.py +9 -0
  75. devsim-2.10.0.data/data/devsim_data/examples/symdiff/parsetest.py +107 -0
  76. devsim-2.10.0.data/data/devsim_data/examples/symdiff/remove1.py +8 -0
  77. devsim-2.10.0.data/data/devsim_data/examples/symdiff/subexpression1.py +10 -0
  78. devsim-2.10.0.data/data/devsim_data/examples/symdiff/table.py +7 -0
  79. devsim-2.10.0.data/data/devsim_data/examples/symdiff/undefined1.py +10 -0
  80. devsim-2.10.0.data/data/devsim_data/examples/symdiff/utf8.py +10 -0
  81. devsim-2.10.0.data/data/devsim_data/examples/vectorpotential/twowire.geo +34 -0
  82. devsim-2.10.0.data/data/devsim_data/examples/vectorpotential/twowire.lay +1469 -0
  83. devsim-2.10.0.data/data/devsim_data/examples/vectorpotential/twowire.msh +13596 -0
  84. devsim-2.10.0.data/data/devsim_data/examples/vectorpotential/twowire.py +177 -0
  85. devsim-2.10.0.data/data/devsim_data/setup.cfg +23 -0
  86. devsim-2.10.0.data/data/devsim_data/setup.py +58 -0
  87. devsim-2.10.0.data/data/devsim_data/testing/3dtetmesh.msh +281 -0
  88. devsim-2.10.0.data/data/devsim_data/testing/CMakeLists.txt +175 -0
  89. devsim-2.10.0.data/data/devsim_data/testing/Fermi1.py +59 -0
  90. devsim-2.10.0.data/data/devsim_data/testing/Fermi1_float128.py +18 -0
  91. devsim-2.10.0.data/data/devsim_data/testing/GaussFermi.py +38 -0
  92. devsim-2.10.0.data/data/devsim_data/testing/GaussFermi_float128.py +18 -0
  93. devsim-2.10.0.data/data/devsim_data/testing/cap2.py +439 -0
  94. devsim-2.10.0.data/data/devsim_data/testing/cap_mesh.py +33 -0
  95. devsim-2.10.0.data/data/devsim_data/testing/circ1.py +79 -0
  96. devsim-2.10.0.data/data/devsim_data/testing/circ2.py +79 -0
  97. devsim-2.10.0.data/data/devsim_data/testing/circ3.py +18 -0
  98. devsim-2.10.0.data/data/devsim_data/testing/circ4.py +105 -0
  99. devsim-2.10.0.data/data/devsim_data/testing/dio2_element_2d.py +136 -0
  100. devsim-2.10.0.data/data/devsim_data/testing/dio2_element_physics.py +302 -0
  101. devsim-2.10.0.data/data/devsim_data/testing/equation1.py +68 -0
  102. devsim-2.10.0.data/data/devsim_data/testing/erf1.py +52 -0
  103. devsim-2.10.0.data/data/devsim_data/testing/erf2.py +34 -0
  104. devsim-2.10.0.data/data/devsim_data/testing/fpetest1.py +21 -0
  105. devsim-2.10.0.data/data/devsim_data/testing/fpetest2.py +25 -0
  106. devsim-2.10.0.data/data/devsim_data/testing/gmsh_mos3d.geo +272 -0
  107. devsim-2.10.0.data/data/devsim_data/testing/info.py +11 -0
  108. devsim-2.10.0.data/data/devsim_data/testing/kahan.py +24 -0
  109. devsim-2.10.0.data/data/devsim_data/testing/kahan_float128.py +18 -0
  110. devsim-2.10.0.data/data/devsim_data/testing/laux1.py +232 -0
  111. devsim-2.10.0.data/data/devsim_data/testing/mctest.mc +30 -0
  112. devsim-2.10.0.data/data/devsim_data/testing/mctest_user.mc +33 -0
  113. devsim-2.10.0.data/data/devsim_data/testing/mesh1.msh +52 -0
  114. devsim-2.10.0.data/data/devsim_data/testing/mesh1.py +121 -0
  115. devsim-2.10.0.data/data/devsim_data/testing/mesh2.msh +70 -0
  116. devsim-2.10.0.data/data/devsim_data/testing/mesh2.py +210 -0
  117. devsim-2.10.0.data/data/devsim_data/testing/mesh2d.py +105 -0
  118. devsim-2.10.0.data/data/devsim_data/testing/mesh3.py +8 -0
  119. devsim-2.10.0.data/data/devsim_data/testing/mesh4.py +8 -0
  120. devsim-2.10.0.data/data/devsim_data/testing/mos_2d.py +111 -0
  121. devsim-2.10.0.data/data/devsim_data/testing/mos_2d_create.py +207 -0
  122. devsim-2.10.0.data/data/devsim_data/testing/mos_2d_restart.py +69 -0
  123. devsim-2.10.0.data/data/devsim_data/testing/mos_2d_restart2.py +24 -0
  124. devsim-2.10.0.data/data/devsim_data/testing/noise_res.py +51 -0
  125. devsim-2.10.0.data/data/devsim_data/testing/noise_res_2d.py +101 -0
  126. devsim-2.10.0.data/data/devsim_data/testing/ptest1.py +53 -0
  127. devsim-2.10.0.data/data/devsim_data/testing/ptest2.py +110 -0
  128. devsim-2.10.0.data/data/devsim_data/testing/pythonmesh1d.py +202 -0
  129. devsim-2.10.0.data/data/devsim_data/testing/res1.py +65 -0
  130. devsim-2.10.0.data/data/devsim_data/testing/res2.py +65 -0
  131. devsim-2.10.0.data/data/devsim_data/testing/res3.py +59 -0
  132. devsim-2.10.0.data/data/devsim_data/testing/rundifftest.py +62 -0
  133. devsim-2.10.0.data/data/devsim_data/testing/ssac_cap.py +145 -0
  134. devsim-2.10.0.data/data/devsim_data/testing/ssac_cap_2d_edge.py +199 -0
  135. devsim-2.10.0.data/data/devsim_data/testing/ssac_cap_2d_element.py +214 -0
  136. devsim-2.10.0.data/data/devsim_data/testing/ssac_cap_3d_edge.py +148 -0
  137. devsim-2.10.0.data/data/devsim_data/testing/ssac_cap_3d_element.py +167 -0
  138. devsim-2.10.0.data/data/devsim_data/testing/ssac_circ.py +18 -0
  139. devsim-2.10.0.data/data/devsim_data/testing/ssac_res.py +30 -0
  140. devsim-2.10.0.data/data/devsim_data/testing/symdiff1.py +54 -0
  141. devsim-2.10.0.data/data/devsim_data/testing/test_common.py +435 -0
  142. devsim-2.10.0.data/data/devsim_data/testing/testfunc.py +65 -0
  143. devsim-2.10.0.data/data/devsim_data/testing/testfunc_extended.py +8 -0
  144. devsim-2.10.0.data/data/devsim_data/testing/transient_circ.py +67 -0
  145. devsim-2.10.0.data/data/devsim_data/testing/transient_circ2.py +67 -0
  146. devsim-2.10.0.data/data/devsim_data/testing/transient_circ3.py +125 -0
  147. devsim-2.10.0.data/data/devsim_data/testing/transient_rc.py +157 -0
  148. devsim-2.10.0.data/data/devsim_data/testing/trimesh1.msh +47 -0
  149. devsim-2.10.0.data/data/devsim_data/testing/trimesh1.py +114 -0
  150. devsim-2.10.0.data/data/devsim_data/testing/trimesh2.py +114 -0
  151. devsim-2.10.0.data/data/devsim_data/testing/utf8_2.py +126 -0
  152. devsim-2.10.0.dist-info/METADATA +121 -0
  153. devsim-2.10.0.dist-info/RECORD +157 -0
  154. devsim-2.10.0.dist-info/WHEEL +5 -0
  155. devsim-2.10.0.dist-info/licenses/LICENSE +202 -0
  156. devsim-2.10.0.dist-info/licenses/NOTICE +241 -0
  157. devsim-2.10.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,23 @@
1
+ # DEVSIM Citation
2
+
3
+ ## Peer Reviewed Articles
4
+
5
+ Sanchez, J. E., (2022). DEVSIM: A TCAD Semiconductor Device Simulator. Journal of Open Source Software, 7(70), 3898,
6
+ [https://doi.org/10.21105/joss.03898](https://doi.org/10.21105/joss.03898)
7
+
8
+ J. E. Sanchez, and Q. Chen, “Element Edge Based Discretization for TCAD Device Simulation,” IEEE Transactions on Electron Devices, 2021,
9
+ [https://doi.org/10.1109/TED.2021.3094776](https://doi.org/10.1109/TED.2021.3094776)
10
+
11
+ ## Citing A Software Release
12
+
13
+ This software has been issued a DOI which is citable in publications. Please see the instructions at [Zenodo](https://doi.org/10.5281/zenodo.1186952) for citing this version, or all versions of this simulator.
14
+
15
+ ## Citing The Documentation
16
+
17
+ The documentation has been issued a DOI which is citable in publications. Please see the instructions at [Zenodo](https://doi.org/10.5281/zenodo.4583208) for citing this version, or all versions of this simulator.
18
+
19
+ ## Other References
20
+
21
+ Please visit this projects [Official Website](https://devsim.org/introduction.html#documentation) for additional references concerning this work.
22
+
23
+
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ education, socio-economic status, nationality, personal appearance, race,
10
+ religion, or sexual identity and orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at {{ email }}. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+ [homepage]: https://www.contributor-covenant.org
74
+
@@ -0,0 +1,43 @@
1
+
2
+ # Contributing
3
+
4
+ Thank you for your interest in this project.
5
+
6
+ TCAD simulation is a broad topic utilizing skills in:
7
+
8
+ * Programming
9
+ * Semiconductor Modeling
10
+ * Numerics
11
+ * Simulation Methods
12
+ * Meshing
13
+ * Extraction
14
+ * Visualization
15
+ * Documentation
16
+ * Testing
17
+
18
+ If you would like to participate in this project, please join our email forum:
19
+ https://forum.devsim.org
20
+ and let us know how you would like to help.
21
+
22
+ Please see the [Testing](README.md#Testing) and [Related Projects](README.md#Related-Projects) section in [README.md](README.md) for additional places where help is needed.
23
+
24
+ ## Contributing on Github
25
+
26
+ The DEVSIM source code is currently hosted on Github at https://github.com/devsim/devsim. We accept pull requests.
27
+
28
+ Before contributing, you may want to explore the [Issues](https://github.com/devsim/devsim/issues) page to see if there is an issue you can help with. There is also active discussion on the [forum](https://forum.devsim.org).
29
+
30
+ If you are ready to contribute, fork the repository, make your changes, and submit a pull request. We use [pre-commit hooks](https://pre-commit.com/) to enforce formatting and style. Please install pre-commit using:
31
+ ```
32
+ pip install pre-commit # or use a relevant system package manager
33
+ pre-commit install
34
+ ```
35
+ The hooks (currently, only code formatting) will then run when you commit changes. You can also manually run the hooks using:
36
+ ```
37
+ pre-commit run
38
+ ```
39
+ When you make a pull request, the hooks will run server-side. The checks will fail if code is improperly formatted.
40
+
41
+ ## Licensing
42
+
43
+ Note that we request all contributions to be licensed under the [Apache License Version 2.0, January 2004](https://apache.org/licenses/LICENSE-2.0). This is explained in the pull request template.
@@ -0,0 +1,27 @@
1
+ # HOWTO
2
+ ## Update version number
3
+
4
+ To update the version number update the lines in these files:
5
+
6
+ * ``CMakeLists.txt``
7
+ ```
8
+ ADD_DEFINITIONS(-DDEVSIM_VERSION_STRING=\"2.10.0\")
9
+ ```
10
+ * ``dist/bdist_wheel/setup.cfg``
11
+ ```
12
+ version = 2.9.2
13
+ ```
14
+
15
+ ## Update minimum python version
16
+ * ``dist/bdist_wheel/setup.cfg``
17
+ ```
18
+ py-limited-api = cp39
19
+ ```
20
+ * ``src/pythonapi/CMakeLists.txt``
21
+ ```
22
+ target_compile_definitions(pythonapi_interpreter_py3 PRIVATE -DDEVSIM_MODULE_NAME=devsim_py3 -DPy_LIMITED_API=0x03090000)
23
+ ```
24
+ * Additional Python Notes
25
+ * [how-to-configure-setuptools-with-setup-cfg-to-include-platform-name-python-tag](https://stackoverflow.com/questions/72090919/how-to-configure-setuptools-with-setup-cfg-to-include-platform-name-python-tag)
26
+ * [C API Stability](https://docs.python.org/3/c-api/stable.html)
27
+ * It looks like ``setup.cfg`` is going away, but it is not clear what to do for the replacement ``pyproject.toml``.
@@ -0,0 +1,65 @@
1
+ # DEVSIM Installation
2
+
3
+ ## Introduction
4
+
5
+ Please visit the DEVSIM homepage at [https://devsim.org](https://devsim.org) for the latest information concerning the availability of the software.
6
+
7
+ ## Installing the Binary Package
8
+
9
+ ### Prerequisites
10
+
11
+ #### Windows
12
+
13
+ This runtime may be necessary to run the software.
14
+
15
+ * Microsoft Visual C++ Redistributable for Visual Studio 2022
16
+ - [https://www.visualstudio.com/downloads](https://www.visualstudio.com/downloads)
17
+ - [https://aka.ms/vs/17/release/VC_redist.x64.exe](https://aka.ms/vs/17/release/vc_redist.x64.exe)
18
+
19
+
20
+ ### Install Anaconda Python
21
+
22
+ *Please note that most Python 3 environments should work. The Anaconda distributions are recommended since they provide ready access to the Intel Math Kernel Library (MKL). As of DEVSIM version 2.1.0, you can configure the software to load alternative libraries implementing the math library functions.*
23
+
24
+ Install [Anaconda](https://www.anaconda.com/products/individual) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) environment.
25
+
26
+ From a system command prompt, with an active Python environment, install the MKL.
27
+
28
+ conda install mkl numpy
29
+
30
+ or alternatively,
31
+
32
+ pip install mkl numpy
33
+
34
+ Please note it is not recommended to mix ``pip`` and Anaconda versions of these packages.
35
+
36
+ ### Install DEVSIM
37
+
38
+ #### Python Package Download Using pip
39
+
40
+ It is now possible to download and install ``devsim`` using ``pip``.
41
+ ```
42
+ pip install devsim
43
+ ```
44
+
45
+ #### Alternative Package Download
46
+
47
+ Binary releases are available from [Zenodo](https://doi.org/10.5281/zenodo.1186952), or from [GitHub](https://github.com/devsim/devsim/releases). Uncompress the file to the desired directory. The preferred installation method is to install the `.whl` file using `pip`.
48
+
49
+ #### Basic Test
50
+
51
+ You should then be able to run an example in the ``testing`` directory.
52
+
53
+ cd testing
54
+ python cap2.py
55
+
56
+ If using the ``pip`` installed version, the data files should be available in your environment in the `devsim_data` directory.
57
+
58
+ ### Troubleshooting
59
+
60
+ If you have any issues with this process. Please contact us through the DEVSIM forum at [https://forum.devsim.org](https://forum.devsim.org).
61
+
62
+ ## Building from Source
63
+
64
+ Please see [BUILD.md](BUILD.md) for instructions for building from source.
65
+
@@ -0,0 +1,97 @@
1
+
2
+ [![DOI](https://joss.theoj.org/papers/10.21105/joss.03898/status.svg)](https://doi.org/10.21105/joss.03898)
3
+
4
+ # DEVSIM
5
+
6
+ ## Introduction:
7
+ **DEVSIM** - TCAD Device Simulator
8
+
9
+ **DEVSIM** is a tool for TCAD Device Simulation, using finite volume methods. The source code is provided by DEVSIM LLC.
10
+
11
+ ## Website:
12
+
13
+ The official website is here:
14
+
15
+ [https://devsim.org](https://devsim.org)
16
+
17
+ ## Software Features:
18
+
19
+ * Python scripting
20
+ * DC, small-signal AC, impedance field method, transient
21
+ * User specified partial differential equations (PDE).
22
+ * Extended floating point precision
23
+ * 1D, 2D, and 3D simulation
24
+ * 1D, 2D mesher
25
+ * Import 3D meshes.
26
+ * 2D cylindrical coordinate simulation
27
+ * ASCII file format with PDE embedded.
28
+
29
+ ## Usage In Research:
30
+
31
+ Please see this [link](https://docs.google.com/spreadsheets/d/11TpoCrNzKwWDDmjKtP1d5bCiwn8WYNJkm1ZleJI0_k4/edit?usp=sharing) for a list of published research papers using or referring to the DEVSIM simulator.
32
+
33
+ ## Installation:
34
+
35
+ Please see [INSTALL.md](INSTALL.md) for installation instructions. Please see [BUILD.md](BUILD.md) for instructions to build from source.
36
+
37
+ ## Citing This Work:
38
+
39
+ Please see [CITATION.md](CITATION.md). *Please do not cite this GitHub Repository as it will be moving in the future.*
40
+
41
+ ## License:
42
+
43
+ DEVSIM is licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0.html). Example scripts are also provided under this license. Other files are subject to the license terms of their copyright owners.
44
+ Please see [LICENSE](LICENSE) and [NOTICE](NOTICE) for license terms.
45
+
46
+ ## Documentation:
47
+
48
+ The PDF documentation is located in ``doc/devsim.pdf``. An online version of the documentation is available at [https://devsim.net](https://devsim.net). A list of documentation resources is available [online](https://devsim.org/introduction.html#documentation). Recent changes are available in [CHANGES.md](CHANGES.md).
49
+
50
+ The repository for the documentation is at [https://github.com/devsim/devsim_documentation](https://github.com/devsim/devsim_documentation).
51
+
52
+ ## Supported Platforms:
53
+
54
+ | OS | Version | Architecture |
55
+ | --- | --- | --- |
56
+ | macOS | Sonoma 14.7.6 | `arm64` |
57
+ | Microsoft Windows | Windows 10 | `x64` |
58
+ | Linux | AlmaLinux 8 (Red Hat Enterprise Linux 8 Compatible) | `aarch64`, `x86_64` |
59
+
60
+ ## Supported Python Versions
61
+
62
+ DEVSIM is designed to work with Python versions 3.9 or higher.
63
+
64
+ ## Code of Conduct:
65
+
66
+ Please see [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
67
+
68
+ ## Support:
69
+
70
+ For support and general discussion, please join our forum:
71
+ [https://forum.devsim.org](https://forum.devsim.org)
72
+
73
+ ## Contributing:
74
+
75
+ Please see:
76
+ [Contribution guidelines for this project](CONTRIBUTING.md)
77
+
78
+ ## Testing
79
+
80
+ Please see [TEST.md](TEST.md).
81
+
82
+ ## Related Projects
83
+
84
+ ### Used directly by the simulator
85
+ | Name | Description |
86
+ | --- | --- |
87
+ | [symdiff](https://github.com/devsim/symdiff) | Symbolic differentiation engine for the simulator |
88
+ | [devsim_documentation](https://github.com/devsim/devsim_documentation) | Documentation for the simulator |
89
+
90
+ ### Extended examples
91
+ | Name | Description |
92
+ | --- | --- |
93
+ | [devsim_bjt_example](https://github.com/devsim/devsim_bjt_example) | Bipolar Junction Transistor example |
94
+ | [devsim_density_gradient](https://github.com/devsim/devsim_density_gradient) | Quantum Corrections to Drift Diffusion simulation |
95
+ | [devsim_3dmos](https://github.com/devsim/devsim_3dmos) | 3D Mosfet example used in publication |
96
+ | [devsim_misc](https://github.com/devsim/devsim_misc) | Miscellaneous scripts |
97
+
@@ -0,0 +1,13 @@
1
+ # Testing
2
+
3
+ If you wish to see simulation results, or run the regression tests yourself. They are available from:
4
+
5
+ | Name | Description |
6
+ | --- | --- |
7
+ | [devsim_tests_win64](https://github.com/devsim/devsim_tests_win64) | Windows Visual Studio 2022 Build |
8
+ | [devsim_tests_macos_arm64](https://github.com/devsim/devsim_tests_macos_arm64) | Apple M1 Build |
9
+ | [devsim_tests_linux_x86_64](https://github.com/devsim/devsim_tests_linux_x86_64) | Linux on ``x86_64``|
10
+ | [devsim_tests_linux_aarch64](https://github.com/devsim/devsim_tests_linux_aarch64) | Linux on arm64 |
11
+
12
+ *Please note, the results are platform dependent due to differences in the compiler, operating system, and math libraries used on each platform.*
13
+
@@ -0,0 +1,85 @@
1
+ # Copyright 2013 DEVSIM LLC
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ import sys
6
+ from devsim import (
7
+ add_gmsh_contact,
8
+ add_gmsh_interface,
9
+ add_gmsh_region,
10
+ create_device,
11
+ create_gmsh_mesh,
12
+ finalize_mesh,
13
+ node_model,
14
+ node_solution,
15
+ set_node_values,
16
+ set_parameter,
17
+ solve,
18
+ write_devices,
19
+ )
20
+
21
+ global device
22
+ device = "disk"
23
+
24
+ if len(sys.argv) != 2:
25
+ sys.stderr.write("must specify voltage")
26
+ sys.exit(1)
27
+
28
+ Ve = float(sys.argv[1])
29
+ # Ensure tcl is doing floating point math on the bias
30
+ set_parameter(name="top_bias", value=Ve / 2.0)
31
+ set_parameter(name="bot_bias", value=-Ve / 2.0)
32
+
33
+
34
+ create_gmsh_mesh(file="disk_2d.msh", mesh="disk")
35
+ add_gmsh_region(
36
+ mesh="disk", gmsh_name="solution", region="solution", material="ionic_solution"
37
+ )
38
+ add_gmsh_region(mesh="disk", gmsh_name="dna", region="dna", material="dna")
39
+ add_gmsh_region(
40
+ mesh="disk", gmsh_name="dielectric", region="dielectric", material="dielectric"
41
+ )
42
+ add_gmsh_contact(
43
+ mesh="disk", gmsh_name="top", region="solution", name="top", material="metal"
44
+ )
45
+ add_gmsh_contact(
46
+ mesh="disk", gmsh_name="bot", region="solution", name="bot", material="metal"
47
+ )
48
+ add_gmsh_interface(
49
+ mesh="disk",
50
+ gmsh_name="dielectric_solution",
51
+ region0="dielectric",
52
+ region1="solution",
53
+ name="dielectric_solution",
54
+ )
55
+ add_gmsh_interface(
56
+ mesh="disk",
57
+ gmsh_name="dna_solution",
58
+ region0="dna",
59
+ region1="solution",
60
+ name="dna_solution",
61
+ )
62
+ finalize_mesh(mesh="disk")
63
+ create_device(mesh="disk", device=device)
64
+
65
+ import bioapp1_common # noqa: F401, E402
66
+
67
+ set_parameter(device="disk", region="dna", name="charge_density", value=0)
68
+ solve(type="dc", relative_error=1e-7, absolute_error=1e11, maximum_iterations=100)
69
+ for region in ("dna", "dielectric", "solution"):
70
+ node_solution(device=device, region=region, name="Potential_zero")
71
+ set_node_values(
72
+ device=device, region=region, name="Potential_zero", init_from="Potential"
73
+ )
74
+
75
+ set_parameter(device="disk", region="dna", name="charge_density", value=2e21)
76
+ solve(type="dc", relative_error=1e-7, absolute_error=1e11, maximum_iterations=100)
77
+ for region in ("dna", "dielectric", "solution"):
78
+ node_model(
79
+ device=device,
80
+ region=region,
81
+ name="LogDeltaPotential",
82
+ equation="log(abs(Potential-Potential_zero) + 1e-10)/log(10)",
83
+ )
84
+
85
+ write_devices(file="bioapp1_2d_{0}.dat".format(Ve), type="tecplot")
@@ -0,0 +1,85 @@
1
+ # Copyright 2013 DEVSIM LLC
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ import sys
6
+ from devsim import (
7
+ add_gmsh_contact,
8
+ add_gmsh_interface,
9
+ add_gmsh_region,
10
+ create_device,
11
+ create_gmsh_mesh,
12
+ finalize_mesh,
13
+ node_model,
14
+ node_solution,
15
+ set_node_values,
16
+ set_parameter,
17
+ solve,
18
+ write_devices,
19
+ )
20
+
21
+ global device
22
+ device = "disk"
23
+
24
+ if len(sys.argv) != 2:
25
+ sys.stderr.write("must specify voltage")
26
+ sys.exit(1)
27
+
28
+ Ve = float(sys.argv[1])
29
+ # Ensure tcl is doing floating point math on the bias
30
+ set_parameter(name="top_bias", value=Ve / 2.0)
31
+ set_parameter(name="bot_bias", value=-Ve / 2.0)
32
+
33
+
34
+ create_gmsh_mesh(file="disk_3d.msh", mesh="disk")
35
+ add_gmsh_region(
36
+ mesh="disk", gmsh_name="solution", region="solution", material="ionic_solution"
37
+ )
38
+ add_gmsh_region(mesh="disk", gmsh_name="dna", region="dna", material="dna")
39
+ add_gmsh_region(
40
+ mesh="disk", gmsh_name="dielectric", region="dielectric", material="dielectric"
41
+ )
42
+ add_gmsh_contact(
43
+ mesh="disk", gmsh_name="top", region="solution", name="top", material="metal"
44
+ )
45
+ add_gmsh_contact(
46
+ mesh="disk", gmsh_name="bot", region="solution", name="bot", material="metal"
47
+ )
48
+ add_gmsh_interface(
49
+ mesh="disk",
50
+ gmsh_name="dielectric_solution",
51
+ region0="dielectric",
52
+ region1="solution",
53
+ name="dielectric_solution",
54
+ )
55
+ add_gmsh_interface(
56
+ mesh="disk",
57
+ gmsh_name="dna_solution",
58
+ region0="dna",
59
+ region1="solution",
60
+ name="dna_solution",
61
+ )
62
+ finalize_mesh(mesh="disk")
63
+ create_device(mesh="disk", device=device)
64
+
65
+ import bioapp1_common # noqa: F401, E402
66
+
67
+ set_parameter(device="disk", region="dna", name="charge_density", value=0)
68
+ solve(type="dc", relative_error=1e-7, absolute_error=1e11, maximum_iterations=100)
69
+ for region in ("dna", "dielectric", "solution"):
70
+ node_solution(device=device, region=region, name="Potential_zero")
71
+ set_node_values(
72
+ device=device, region=region, name="Potential_zero", init_from="Potential"
73
+ )
74
+
75
+ set_parameter(device="disk", region="dna", name="charge_density", value=2e21)
76
+ solve(type="dc", relative_error=1e-7, absolute_error=1e11, maximum_iterations=100)
77
+ for region in ("dna", "dielectric", "solution"):
78
+ node_model(
79
+ device=device,
80
+ region=region,
81
+ name="LogDeltaPotential",
82
+ equation="log(abs(Potential-Potential_zero) + 1e-10)/log(10)",
83
+ )
84
+
85
+ write_devices(file="bioapp1_3d_{0}.dat".format(Ve), type="tecplot")