Skip to content

Implement FornbergMC::redistributeBoundaryParameters() - Adaptive point redistribution #25

Description

@ehkropf

Location: src/methods/FornbergMC.cpp:396-410

Description:
Implement boundary parameter redistribution to handle clustering and reordering during Newton iteration.

Requirements:

  • Detect when boundary parameters cluster or reorder
  • Redistribute points when quality degrades
  • Preserve boundary orientation
  • Update boundary correspondences accordingly

TODOs addressed:

  • Line 408: Debug log "Checking boundary parameter distribution quality"
  • Line 410: Implement redistribution logic

Why Phase 2:
This is a numerical robustness feature. Not required for basic algorithm functionality, but important for challenging geometries.

MATLAB Reference: design/fornberg/fornmc/matlab/+bounded_map/ (redistribution logic)

See also: Thesis section on boundary point ordering challenges

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions