Skip to content

compute_order_parameter() wrong for particles with 1 neighbor #112

@matteobecchi

Description

@matteobecchi

At the moment, psi = 1 for particles with only one neighbor.

This looks mathematically correct, but does not make much sense, because it's inflating the order in the system (there is no order if there are only two particles).

It should be changed so that in this case psi = 0.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions