Skip to content

feat: add static Compute() overloads accepting levelRatio and minCoarseVertices #68

@csparker247

Description

@csparker247

HierarchicalLSCM::setLevelRatio() and setMinCoarseVertices() are only accessible via the instance API. Users who want non-default hierarchy parameters with the static convenience API must construct an instance, configure it, and call compute() instead of the simpler Compute(mesh) form.

Add static overloads:
```cpp
static void Compute(Mesh::Pointer& mesh, std::size_t levelRatio, std::size_t minCoarseVerts);
static void Compute(Mesh::Pointer& mesh, std::size_t pin0, std::size_t pin1, std::size_t levelRatio, std::size_t minCoarseVerts);
```

Identified during code review of PR #44 (low priority).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions