Skip to content

flex6pt implementation : mismatch in the definition of \beta(r) in documentation and code #1

@thecalculon

Description

@thecalculon

In the document IBKernelnote.pdf \beta(r) is defined as

$\beta(r) = 9/4 - 3/2(K + r^2)r + (22/7 - 7K)r - 7/3 r^3$

In the implementation the \beta(r) is taken as

$\beta(r) = 9/4 - 3/2(K + r^2) + (22/7 - 7K)r - 7/3 r^3$

given in line 29 of code Kernels.c

(beta  = 9./4 - 1.5 * (K + R2) + (22./3-7*K)*R - 7./3*R3)

The second term in the documentation 3/2(K + r^2)r has an extra factor of r.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions