ViennaPS 3.7.2__cp310-cp310-win_amd64.whl → 4.0.0__cp310-cp310-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.

Potentially problematic release.


This version of ViennaPS might be problematic. Click here for more details.

Files changed (72) hide show
  1. viennaps/__init__.py +126 -0
  2. viennaps/__init__.pyi +239 -0
  3. viennaps/_core/__init__.pyi +1110 -0
  4. {viennaps2d/viennaps2d → viennaps/_core}/constants.pyi +23 -3
  5. viennaps/_core/gpu.pyi +74 -0
  6. viennaps/_core/util.pyi +13 -0
  7. viennaps/_core.cp310-win_amd64.pyd +0 -0
  8. viennaps/d2/__init__.pyi +1449 -0
  9. viennaps/d2/gpu.pyi +85 -0
  10. viennaps/d3/__init__.pyi +1454 -0
  11. viennaps/d3/gpu.pyi +85 -0
  12. {viennaps-3.7.2.dist-info → viennaps-4.0.0.dist-info}/METADATA +13 -12
  13. viennaps-4.0.0.dist-info/RECORD +55 -0
  14. {viennaps-3.7.2.dist-info → viennaps-4.0.0.dist-info}/WHEEL +1 -1
  15. viennaps.libs/embree4.dll +0 -0
  16. viennaps.libs/embree4.exp +0 -0
  17. viennaps.libs/embree4.lib +0 -0
  18. viennaps.libs/embree_avx.lib +0 -0
  19. viennaps.libs/embree_avx2.lib +0 -0
  20. viennaps.libs/embree_sse42.lib +0 -0
  21. viennaps.libs/lexers.lib +0 -0
  22. viennaps.libs/math.lib +0 -0
  23. viennaps.libs/simd.lib +0 -0
  24. viennaps.libs/sys.lib +0 -0
  25. viennaps.libs/tasking.lib +0 -0
  26. viennaps.libs/tbb12.dll +0 -0
  27. viennaps.libs/tbb12.exp +0 -0
  28. viennaps.libs/tbb12.lib +0 -0
  29. viennaps.libs/vtkCommonComputationalGeometry-9.3.dll +0 -0
  30. viennaps.libs/vtkCommonCore-9.3.dll +0 -0
  31. viennaps.libs/vtkCommonDataModel-9.3.dll +0 -0
  32. viennaps.libs/vtkCommonExecutionModel-9.3.dll +0 -0
  33. viennaps.libs/vtkCommonMath-9.3.dll +0 -0
  34. viennaps.libs/vtkCommonMisc-9.3.dll +0 -0
  35. viennaps.libs/vtkCommonSystem-9.3.dll +0 -0
  36. viennaps.libs/vtkCommonTransforms-9.3.dll +0 -0
  37. viennaps.libs/vtkFiltersCore-9.3.dll +0 -0
  38. viennaps.libs/vtkFiltersGeneral-9.3.dll +0 -0
  39. viennaps.libs/vtkFiltersGeometry-9.3.dll +0 -0
  40. viennaps.libs/vtkFiltersVerdict-9.3.dll +0 -0
  41. viennaps.libs/vtkIOCore-9.3.dll +0 -0
  42. viennaps.libs/vtkIOXML-9.3.dll +0 -0
  43. viennaps.libs/vtkIOXMLParser-9.3.dll +0 -0
  44. viennaps.libs/vtkdoubleconversion-9.3.dll +0 -0
  45. viennaps.libs/vtkexpat-9.3.dll +0 -0
  46. viennaps.libs/vtkfmt-9.3.dll +0 -0
  47. viennaps.libs/vtkkissfft-9.3.dll +0 -0
  48. viennaps.libs/vtkloguru-9.3.dll +0 -0
  49. viennaps.libs/vtklz4-9.3.dll +0 -0
  50. viennaps.libs/vtklzma-9.3.dll +0 -0
  51. viennaps.libs/vtkpugixml-9.3.dll +0 -0
  52. viennaps.libs/vtksys-9.3.dll +0 -0
  53. viennaps.libs/vtkverdict-9.3.dll +0 -0
  54. viennaps.libs/vtkzlib-9.3.dll +0 -0
  55. viennaps-3.7.2.dist-info/RECORD +0 -61
  56. viennaps2d/Release/viennaps2d.cp310-win_amd64.pyd +0 -0
  57. viennaps2d/__init__.py +0 -80
  58. viennaps2d/__init__.pyi +0 -218
  59. viennaps2d/viennaps2d/__init__.pyi +0 -2656
  60. viennaps2d/viennaps2d/ray.pyi +0 -34
  61. viennaps2d/viennaps2d/util.pyi +0 -10
  62. viennaps2d/viennaps2d.cp310-win_amd64.pyd +0 -0
  63. viennaps3d/Release/viennaps3d.cp310-win_amd64.pyd +0 -0
  64. viennaps3d/__init__.py +0 -80
  65. viennaps3d/__init__.pyi +0 -218
  66. viennaps3d/viennaps3d/__init__.pyi +0 -2518
  67. viennaps3d/viennaps3d/constants.pyi +0 -26
  68. viennaps3d/viennaps3d/gpu.pyi +0 -164
  69. viennaps3d/viennaps3d/ray.pyi +0 -34
  70. viennaps3d/viennaps3d/util.pyi +0 -10
  71. viennaps3d/viennaps3d.cp310-win_amd64.pyd +0 -0
  72. {viennaps-3.7.2.dist-info → viennaps-4.0.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,26 +0,0 @@
1
- """
2
- Physical and material constants.
3
- """
4
- from __future__ import annotations
5
- import typing
6
- __all__: list[str] = ['N_A', 'R', 'celsiusToKelvin', 'gasMeanFreePath', 'gasMeanThermalVelocity', 'kB', 'roomTemperature', 'torrToPascal']
7
- def celsiusToKelvin(arg0: typing.SupportsFloat) -> float:
8
- """
9
- Convert temperature from Celsius to Kelvin.
10
- """
11
- def gasMeanFreePath(arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat) -> float:
12
- """
13
- Calculate the mean free path of a gas molecule.
14
- """
15
- def gasMeanThermalVelocity(arg0: typing.SupportsFloat, arg1: typing.SupportsFloat) -> float:
16
- """
17
- Calculate the mean thermal velocity of a gas molecule.
18
- """
19
- def torrToPascal(arg0: typing.SupportsFloat) -> float:
20
- """
21
- Convert pressure from torr to pascal.
22
- """
23
- N_A: float = 6022.1367
24
- R: float = 8.314
25
- kB: float = 8.617333262000001e-05
26
- roomTemperature: float = 300.0
@@ -1,164 +0,0 @@
1
- """
2
- GPU accelerated functions.
3
- """
4
- from __future__ import annotations
5
- import collections.abc
6
- import typing
7
- import viennals3d.viennals3d
8
- import viennaps3d.viennaps3d
9
- __all__: list[str] = ['Context', 'FaradayCageEtching', 'HBrO2Etching', 'MultiParticleProcess', 'Path', 'Process', 'ProcessModel', 'SF6O2Etching', 'SingleParticleProcess']
10
- class Context:
11
- def __init__(self) -> None:
12
- ...
13
- def addModule(self, arg0: str) -> None:
14
- """
15
- Add a module to the context.
16
- """
17
- def create(self, modulePath: Path = '', deviceID: typing.SupportsInt = 0) -> None:
18
- """
19
- Create a new context.
20
- """
21
- def destroy(self) -> None:
22
- """
23
- Destroy the context.
24
- """
25
- def getModulePath(self) -> str:
26
- """
27
- Get the module path.
28
- """
29
- @property
30
- def deviceID(self) -> int:
31
- """
32
- Device ID.
33
- """
34
- @deviceID.setter
35
- def deviceID(self, arg0: typing.SupportsInt) -> None:
36
- ...
37
- class FaradayCageEtching(ProcessModel):
38
- def __init__(self, rate: typing.SupportsFloat, stickingProbability: typing.SupportsFloat, power: typing.SupportsFloat, cageAngle: typing.SupportsFloat, tiltAngle: typing.SupportsFloat) -> None:
39
- ...
40
- class HBrO2Etching(ProcessModel):
41
- def __init__(self, parameters: viennaps3d.viennaps3d.PlasmaEtchingParameters) -> None:
42
- ...
43
- class MultiParticleProcess(ProcessModel):
44
- def __init__(self) -> None:
45
- ...
46
- def addIonParticle(self, sourcePower: typing.SupportsFloat, thetaRMin: typing.SupportsFloat = 0.0, thetaRMax: typing.SupportsFloat = 90.0, minAngle: typing.SupportsFloat = 0.0, B_sp: typing.SupportsFloat = -1.0, meanEnergy: typing.SupportsFloat = 0.0, sigmaEnergy: typing.SupportsFloat = 0.0, thresholdEnergy: typing.SupportsFloat = 0.0, inflectAngle: typing.SupportsFloat = 0.0, n: typing.SupportsFloat = 1, label: str = 'ionFlux') -> None:
47
- ...
48
- @typing.overload
49
- def addNeutralParticle(self, stickingProbability: typing.SupportsFloat, label: str = 'neutralFlux') -> None:
50
- ...
51
- @typing.overload
52
- def addNeutralParticle(self, materialSticking: collections.abc.Mapping[viennaps3d.viennaps3d.Material, typing.SupportsFloat], defaultStickingProbability: typing.SupportsFloat = 1.0, label: str = 'neutralFlux') -> None:
53
- ...
54
- def setRateFunction(self, arg0: collections.abc.Callable[[collections.abc.Sequence[typing.SupportsFloat], viennaps3d.viennaps3d.Material], float]) -> None:
55
- ...
56
- class Path:
57
- def __init__(self, arg0: str) -> None:
58
- ...
59
- class Process:
60
- @typing.overload
61
- def __init__(self, context: Context) -> None:
62
- ...
63
- @typing.overload
64
- def __init__(self, context: Context, domain: viennaps3d.viennaps3d.Domain, model: ProcessModel, duration: typing.SupportsFloat) -> None:
65
- ...
66
- def apply(self) -> None:
67
- """
68
- Run the process.
69
- """
70
- def calculateFlux(self) -> viennals3d.viennals3d.Mesh:
71
- """
72
- Perform a single-pass flux calculation.
73
- """
74
- def disableAdvectionVelocityOutput(self) -> None:
75
- """
76
- Disable the output of the advection velocity field on the ls-mesh.
77
- """
78
- def disableFluxSmoothing(self) -> None:
79
- """
80
- Disable flux smoothing
81
- """
82
- def disableRandomSeeds(self) -> None:
83
- """
84
- Disable random seeds for the ray tracer. This will make the process results deterministic.
85
- """
86
- def enableAdvectionVelocityOutput(self) -> None:
87
- """
88
- Enable the output of the advection velocity field on the ls-mesh.
89
- """
90
- def enableFluxSmoothing(self) -> None:
91
- """
92
- Enable flux smoothing. The flux at each surface point, calculated by the ray tracer, is averaged over the surface point neighbors.
93
- """
94
- def enableRandomSeeds(self) -> None:
95
- """
96
- Enable random seeds for the ray tracer. This will make the process results non-deterministic.
97
- """
98
- def getAdvectionParameters(self) -> viennaps3d.viennaps3d.AdvectionParameters:
99
- """
100
- Get the advection parameters for the process.
101
- """
102
- def getProcessDuration(self) -> float:
103
- """
104
- Returns the duration of the recently run process. This duration can sometimes slightly vary from the set process duration, due to the maximum time step according to the CFL condition.
105
- """
106
- def getRayTracingParameters(self) -> viennaps3d.viennaps3d.RayTracingParameters:
107
- """
108
- Get the ray tracing parameters for the process.
109
- """
110
- def setAdvectionParameters(self, arg0: viennaps3d.viennaps3d.AdvectionParameters) -> None:
111
- """
112
- Set the advection parameters for the process.
113
- """
114
- def setCoverageDeltaThreshold(self, arg0: typing.SupportsFloat) -> None:
115
- """
116
- Set the threshold for the coverage delta metric to reach convergence.
117
- """
118
- def setDomain(self, arg0: viennaps3d.viennaps3d.Domain) -> None:
119
- """
120
- Set the process domain.
121
- """
122
- def setIntegrationScheme(self, arg0: viennals3d.viennals3d.IntegrationSchemeEnum) -> None:
123
- """
124
- Set the integration scheme for solving the level-set equation. Possible integration schemes are specified in viennals::IntegrationSchemeEnum.
125
- """
126
- def setMaxCoverageInitIterations(self, arg0: typing.SupportsInt) -> None:
127
- """
128
- Set the number of iterations to initialize the coverages.
129
- """
130
- def setNumberOfRaysPerPoint(self, arg0: typing.SupportsInt) -> None:
131
- """
132
- Set the number of rays to traced for each particle in the process. The number is per point in the process geometry.
133
- """
134
- def setProcessDuration(self, arg0: typing.SupportsFloat) -> None:
135
- """
136
- Set the process duration.
137
- """
138
- def setProcessModel(self, arg0: ProcessModel) -> None:
139
- """
140
- Set the process model. This has to be a pre-configured process model.
141
- """
142
- def setRayTracingParameters(self, arg0: viennaps3d.viennaps3d.RayTracingParameters) -> None:
143
- """
144
- Set the ray tracing parameters for the process.
145
- """
146
- def setTimeStepRatio(self, arg0: typing.SupportsFloat) -> None:
147
- """
148
- Set the CFL condition to use during advection. The CFL condition sets the maximum distance a surface can be moved during one advection step. It MUST be below 0.5 to guarantee numerical stability. Defaults to 0.4999.
149
- """
150
- class ProcessModel:
151
- pass
152
- class SF6O2Etching(ProcessModel):
153
- def __init__(self, parameters: viennaps3d.viennaps3d.PlasmaEtchingParameters) -> None:
154
- ...
155
- class SingleParticleProcess(ProcessModel):
156
- @typing.overload
157
- def __init__(self, rate: typing.SupportsFloat = 1.0, stickingProbability: typing.SupportsFloat = 1.0, sourceExponent: typing.SupportsFloat = 1.0, maskMaterial: viennaps3d.viennaps3d.Material = ...) -> None:
158
- ...
159
- @typing.overload
160
- def __init__(self, rate: typing.SupportsFloat, stickingProbability: typing.SupportsFloat, sourceExponent: typing.SupportsFloat, maskMaterials: collections.abc.Sequence[viennaps3d.viennaps3d.Material]) -> None:
161
- ...
162
- @typing.overload
163
- def __init__(self, materialRates: collections.abc.Mapping[viennaps3d.viennaps3d.Material, typing.SupportsFloat], stickingProbability: typing.SupportsFloat, sourceExponent: typing.SupportsFloat) -> None:
164
- ...
@@ -1,34 +0,0 @@
1
- """
2
- Ray tracing functions.
3
- """
4
- from __future__ import annotations
5
- import collections.abc
6
- import enum
7
- import typing
8
- __all__: list[str] = ['ReflectionConedCosine', 'ReflectionDiffuse', 'ReflectionSpecular', 'rayTraceDirection']
9
- class rayTraceDirection(enum.IntEnum):
10
- NEG_X: typing.ClassVar[rayTraceDirection] # value = <rayTraceDirection.NEG_X: 1>
11
- NEG_Y: typing.ClassVar[rayTraceDirection] # value = <rayTraceDirection.NEG_Y: 3>
12
- NEG_Z: typing.ClassVar[rayTraceDirection] # value = <rayTraceDirection.NEG_Z: 5>
13
- POS_X: typing.ClassVar[rayTraceDirection] # value = <rayTraceDirection.POS_X: 0>
14
- POS_Y: typing.ClassVar[rayTraceDirection] # value = <rayTraceDirection.POS_Y: 2>
15
- POS_Z: typing.ClassVar[rayTraceDirection] # value = <rayTraceDirection.POS_Z: 4>
16
- @classmethod
17
- def __new__(cls, value):
18
- ...
19
- def __format__(self, format_spec):
20
- """
21
- Convert to a string according to format_spec.
22
- """
23
- def ReflectionConedCosine(arg0: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], "FixedSize(3)"], arg1: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], "FixedSize(3)"], arg2: ..., arg3: typing.SupportsFloat) -> typing.Annotated[list[float], "FixedSize(3)"]:
24
- """
25
- Coned cosine reflection.
26
- """
27
- def ReflectionDiffuse(arg0: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], "FixedSize(3)"], arg1: ...) -> typing.Annotated[list[float], "FixedSize(3)"]:
28
- """
29
- Diffuse reflection.
30
- """
31
- def ReflectionSpecular(arg0: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], "FixedSize(3)"], arg1: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], "FixedSize(3)"]) -> typing.Annotated[list[float], "FixedSize(3)"]:
32
- """
33
- Specular reflection,
34
- """
@@ -1,10 +0,0 @@
1
- """
2
- Utility functions.
3
- """
4
- from __future__ import annotations
5
- import viennals3d.viennals3d
6
- __all__: list[str] = ['convertIntegrationScheme']
7
- def convertIntegrationScheme(arg0: str) -> viennals3d.viennals3d.IntegrationSchemeEnum:
8
- """
9
- Convert a string to an integration scheme.
10
- """
Binary file