Skip to content

fL2 returns -infinity at beginning of run #1

@mathren

Description

@mathren

As of commit cc3da9fec9c39c02bd85fac2bb0f56c200655a38 the function (in src/binary_disk.inc, copied from @pmocz MESA dev branch returns -infinity for fL2 when fed the numbers 20, 18, 0, 304, 0.1, 0.64, 0, 0.

To reproduce clone this particular commit, compile and run. Let both stars relax to their initial rotation (100 timestep of pseudo evolution per star), and see it segfault at the first step (when using r24.08.1). Add print statement just before each call to the function to see that inputs are all initialized and expected values.

Leaving this here as a note -- working around this enforcing fL2 = max(fL2, 1d-12) after calling that function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions