Skip to content

Overflowing index in python_wrapper_structure.cpp #529

@aa-g

Description

@aa-g

This issue concerns the index iVertex that appears in the CDriver classes, defined in SU2_CFD/src/python_wrapper_structure.cpp (rather, what was formerly SU2_CFD/src/driver_structure.cpp in 5.0.0). Due to iVertex being declared as an unsigned short, one runs into overflow errors when more than 65535 surface nodes are "owned" by a single process (not uncommon for larger models).

Declarations of iVertex as unsigned short may perhaps be more appropriate as unsigned long ?

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