Skip to content

Add check for element order when loading a mesh #17

@JonasHoelscher

Description

@JonasHoelscher

When a already existing mesh file is loaded, check if the element order of the mesh fits the set element order of the simulation. Throw an error when this is not the case.

Right now the following error is thrown:

File "plutho/plutho/simulation/base.py", line 840, in create_node_points
    nodes[element[node_index]][0],
IndexError: index 3 is out of bounds for axis 0 with size 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions