-
Hi,
I am currently working with DEMPM, and I want to define a boundary where the lowest point is at [1, 1, 1], the region size is [0.2, 0.2, 0.2], and it is tilted at a 30° angle relative to the x-…
-
Dear Yihao-Shi:
Thanks for your great work! I attempted to modify example DPmaterial.py by removing background_damping and alphaPIC, and used MC constitutive modeling for the calculations. I found t…
-
Example:
```python
import taichi as ti
ti.init()
x = ti.Vector([0, 1, 2])
@ti.kernel
def test(x: ti.template()):
print(x)
test(x) # [0, 1, 2]
x[0] = 3
test(x) # [0, 1, 2]
```
-
I have a field declared like this:
let scalarField = ti.field(
ti.types.vector(ti.types.vector(ti.f32, 2), 3),
2
);
basically this should hold data like this:
[
[[0,3…
-
**Describe the bug**
Different add behavier in ti.func and ti.kernel
**To Reproduce**
```py
import taichi as ti
ti.init(ti.cuda)
v6 = ti.types.vector(6, ti.f32)
@ti.func
def vector_add(a, …
-
### 🐛 Describe the bug
When processing complex data type, torch.linalg.vector_norm raises an overflow error.
```python
import torch
>>> torch.linalg.vector_norm(torch.randn(3, 3), torch.tensor(2…
-
I find that the below code is not working. the taichi version is 1.1.2. The code is placed at field.md
```python
f = ti.Vector(ti.f32, n=2).field(shape=(1,2,3))
```
Is this the old syntax?
-
### Describe the bug
I try to execute SYCL code on my NVIDIA GPU and for that I followed all the instructions on https://www.intel.com/content/www/us/en/developer/articles/technical/compiling-sycl-…
-
I got a problem: I need to render over 10 thousand images using taichi. At first 500 loops it's really fast about 3e-5s each image. But after that it get slow. The time is about 0.01~0.02s each loop…
-
**Describe the bug**
When specifying a vec4 in a function decorated with @ti.func, the function gives an error which states that a matrix is expected instead.
**To Reproduce**
Please post a *…