Skip to content

Validation errors when loading general meshes with rx.validate(): input requirements and possible fixes #70

@will-zzy

Description

@will-zzy

I encountered validation errors when calling rx.validate() after loading a general mesh with RXMesh. For example:

[14:20:26] RXMesh: Line 2643 File /home/zzy/engineer/rxmesh_wsl/rxmesh/include/rxmesh/rxmesh_dynamic.cu
[14:20:26] RXMesh: RXMeshDynamic::validate() check_num_mesh_elements failed
[14:20:26] RXMesh: Line 2664 File /home/zzy/engineer/rxmesh_wsl/rxmesh/include/rxmesh/rxmesh_dynamic.cu
[14:20:26] RXMesh: RXMeshDynamic::validate() check_ribbon failed
[14:20:26] RXMesh: Line 427 File /home/zzy/engineer/rxmesh_wsl/rxmesh_binding/csrc/rxmesh_wrapper.cu
[14:20:26] RXMesh: RXMesh validation failed for mesh
[14:20:26] RXMesh: Line 2976 File /home/zzy/engineer/rxmesh_wsl/rxmesh/include/rxmesh/rxmesh_dynamic.cu
[14:20:26] RXMesh: RXMeshDynamic::update_host error in updating host. m_num_vertices 12998 does not match m_h_vertex_prefix calculation 12997

I would like to understand what requirements RXMesh imposes on input mesh files. Is it possible to resolve these issues using RXMesh’s own kernels, or should the mesh be preprocessed beforehand?

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