ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
material.cpp
Go to the documentation of this file.
1/* ============================================================================
2 Copyright (c) 2011-2022, Institute for Microelectronics,
3 Institute for Analysis and Scientific Computing,
4 TU Wien.
5
6 -----------------
7 ViennaSHE - The Vienna Spherical Harmonics Expansion Boltzmann Solver
8 -----------------
9
10 http://viennashe.sourceforge.net/
11
12 License: MIT (X11), see file LICENSE in the base directory
13=============================================================================== */
14
15// C++ includes
17
18// C includes
20
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
28{
29 if(id != NULL) *id = viennashe::materials::si::id;
30 else return 1;
31 return 0;
32}
33
36{
37 if(id != NULL) *id = viennashe::materials::metal::id;
38 else return 1;
39 return 0;
40}
41
44{
45 if(id != NULL) *id = viennashe::materials::sio2::id;
46 else return 1;
47 return 0;
48}
49
52{
53 if(id != NULL) *id = viennashe::materials::hfo2::id;
54 else return 1;
55 return 0;
56}
57
58#ifdef __cplusplus
59}
60#endif
61
int viennasheErrorCode
Definition: error.h:25
VIENNASHE_EXPORT viennasheErrorCode viennashe_get_sio2_id(viennashe_material_id *id)
long viennashe_material_id
Definition: material.h:26
VIENNASHE_EXPORT viennasheErrorCode viennashe_get_metal_id(viennashe_material_id *id)
VIENNASHE_EXPORT viennasheErrorCode viennashe_get_hfo2_id(viennashe_material_id *id)
VIENNASHE_EXPORT viennasheErrorCode viennashe_get_silicon_id(viennashe_material_id *id)
Contains all viennashe includes and most of the C++/C-wrappers. Contains macros.