lhilbert / active-microemulsion

Package for the lattice-based simulation of active polymer microemulsions, such as dense DNA suspensions
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

Results with negative omega (w) parameter do not look right. #2

Closed churli closed 6 years ago

churli commented 6 years ago

When simulating with negative w values, we would expect to get more and more straight chains the more we grow w to the negative direction. Intuitively, a negative w should push a chemical species to prefer to be neighbour of different species instead of other cells of the same one. However with current code we don't get this. @lhilbert suggested this could be caused by wrong initialization of deltaEmin = -10 * omega instead of deltaEmin = -10 * fabs(omega).

churli commented 6 years ago

Solved in commit c85a6f3.