glotzerlab / hoomd-blue

Molecular dynamics and Monte Carlo soft matter simulation on GPUs.
http://glotzerlab.engin.umich.edu/hoomd-blue
BSD 3-Clause "New" or "Revised" License
324 stars 127 forks source link

Mpcd Cosine and CosineExpansionContraction Channels #1836

Open baho-cb opened 2 weeks ago

baho-cb commented 2 weeks ago

Description

This PR adds two new mpcd streaming geometries: Serpentine channel (CosineChannel) and sinusoidal expansion and contraction channel (CosineExpansionContraction).

~This PR should be merged after the rejection filler PR (#1822).~ This PR has been merged.

Motivation and context

Resolves #1775, #1776

How has this been tested?

Python tests are added for the geometries and streaming.

Change log

* `mpcd.geometry.CosineChannel` for a serpentine (cosine) channel.
* `mpcd.geometry.CosineExpansionContraction` for an expansion-contraction channel.

Checklist: