Skip to content

Gmsh file parsing logic defect #430

@j8xixo12

Description

@j8xixo12

Thanks @tigercosmos to point out this issue in https://github.com/solvcon/modmesh/pull/429/files#r1788654979

The logic of paring physical names section and nodes section has a defect, that need to be fixed.

Before closing this issue, the following item should be finish:

  • Use const reference as argument in bool Gmsh::is_valid_transition(const std::string s)
  • Fix parser logic defect in parsing physical name and nodes section.
  • Use constexpr for the version number.
  • Maintain a table to save the token string.
  • Use emplace in
    m_elems.insert(std::pair{idx, nds_temp});
  • remove void in function declaration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmeshSpatial mesh

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions