-
-
Notifications
You must be signed in to change notification settings - Fork 161
Elastic-tube-1d solid cpp x coordinate bug #340
Copy link
Copy link
Closed
Labels
Description
The elastic tube 1d solid solver uses the chunksize directly as x coordinates instead of splitting the actual pipe:
0 1 2 3 4 ... 100
instead of
0 0.1 0.2 ... 10
tutorials/elastic-tube-1d/solid-cpp/src/SolidSolver.cpp
Lines 40 to 44 in 0482e5b
| for (int i = 0; i < chunkLength; i++) { | |
| for (int j = 0; j < dimensions; j++) { | |
| grid[i * dimensions + j] = i * (1 - j); | |
| } | |
| } |
Reactions are currently unavailable