You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simbil@simbilod ~/G/V/e/oxideRegrowth (update_examples) [1]> python oxideRegrowth.py config.txt (process)
Running 2D simulation.
Stability: 13.333333333333334
Building cell set BVH took: 0.031742 s
TypeError: Unregistered type : viennacs::DenseCellSet<double, 2>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/simbil/Github/ViennaPS/examples/oxideRegrowth/oxideRegrowth.py", line 53, in <module>
cellSet = domain.getCellSet()
^^^^^^^^^^^^^^^^^^^
TypeError: Unable to convert function return value to a Python type! The signature was
(self: viennaps2d.viennaps2d.Domain) -> viennacs::DenseCellSet<double, 2>
The text was updated successfully, but these errors were encountered:
Unfortunately, the ViennaCS Python library, which provides the Cell-Set functionalities, is not yet available on PyPi. This package is required for the Cell-Set examples to work in Python.
However, we are actively working on a release for the ViennaCS Python package, so it should be available soon.
Run out-of-the-box, the
oxideRegrowth
Python example raisesThe faulty line is line 50 in the
oxideRegrowth.py
:The signature suggests that the second argument (material) is missing, see e.g. the C++ example:
However, rewriting line 50 as the following
still raises an error:
The text was updated successfully, but these errors were encountered: