Skip to content

Default x0: change from 0 to center of domain #44

@Dvermetten

Description

@Dvermetten

Current behavior seems to set X0 to the all 0 vector, instead of the center of the domain, which causes problems in some spaces (especially when 0 is not in the domain).

p.adaptation->m = p.settings.x0.value_or(Vector::Zero(p.settings.dim));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions