Skip to content

2D Gay-Berne work on CPU but not on GPU #1903

Answered by joaander
Syrocco asked this question in Support
Discussion options

You must be logged in to vote

A ~1e-14 force in the 0th frame is enough to start pushing the particles out of the plane. I think the best solution at this point would be to modify all the integrators to force F_z = 0 when in 2D simulations. With that change, your forces should stay bounded and very small. Would you be interested in contributing this change? If not, I can get to it at some point in the next few weeks.

To make an ellipsoid in ALJ, use a single vertex shape with rounding_radii = [a, b, c]. Note that ALJ computes a single interaction at the closest point of contact. I'm not familiar enough with GB to know whether it can implement purely repulsive interactions.

HPMC's ellipsoid shape is by far the easiest …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@joaander
Comment options

Comment options

You must be logged in to vote
3 replies
@Syrocco
Comment options

@joaander
Comment options

Answer selected by Syrocco
@Syrocco
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants