Skip to content

Incorporate stretch parameter into cloth max segment length calculation #41

@dcolli23

Description

@dcolli23

Need to incorporate the stretch parameter (lambda in the paper) into the cloth max segment length calculation.

Additionally, I'm not sure that taking the minimum of the grid lengths is appropriate. I think it logically should be the maximum length.

Code in question:

ClothConfiguration::ClothConfiguration(float const length_initial, float const width_initial,
    float const grid_size_initial_guess)
    ...
{
    ...
    max_segment_length_ = std::min({grid_size_initial_actual_length,
        grid_size_initial_actual_width});
}

where ... indicates omitted lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions