Skip to content

Question about Poisson Accuracy Test #321

@bewagner1

Description

@bewagner1

It is my understanding that testPoissonAccuracy.m is verifying that the order of accuracy that the laplacian operator achieves is >= (k - 0.5) for k = 2, 4, 6, 8.

However, if you run lines 4 to 51 in their own file and replace lines 48 and 49 with assert(order(i) >= k - 0.5) it fails for k = 8. Why does it still pass?

My gut is telling me that it is something to do with the errors being so low (on the order of 1e-12)

Semi-related to #319, in my C++ implementation the test fails (with similar error values)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions