Skip to content

Elastic-tube-1d solid cpp x coordinate bug #340

@fsimonis

Description

@fsimonis

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

for (int i = 0; i < chunkLength; i++) {
for (int j = 0; j < dimensions; j++) {
grid[i * dimensions + j] = i * (1 - j);
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions