Allow for users to populate a surface with a list of different mBuild compounds that can be considered a viable chain. To be a viable chain, there must be one free port on each compound with the designation "down". In order to specify relative amounts of each chain, an argument fractions was included that will specify the fraction of the total number of chains that each chain in the list for chains will take.
This PR affects monolayer.Monolayer and adds (self, surface, chains, n_chains, fractions=None, backfill=H(), tile_x=1, tile_y=1, rotate_chains=True, seed=12345, **kwargs) to the prior arguments of (self, surface, chain, n_chains, backfill=H(), tile_x=1, tile_y=1, rotate=True, seed=12345, **kwargs)
The argument rotate is changed to rotate_chains for clarity.
Changes are made to the README.md to fix various typos.
Allow for users to populate a surface with a list of different mBuild compounds that can be considered a viable chain. To be a viable chain, there must be one free port on each compound with the designation
"down"
. In order to specify relative amounts of each chain, an argumentfractions
was included that will specify the fraction of the total number of chains that each chain in the list forchains
will take.This PR affects monolayer.Monolayer and adds
(self, surface, chains, n_chains, fractions=None, backfill=H(), tile_x=1, tile_y=1, rotate_chains=True, seed=12345, **kwargs)
to the prior arguments of(self, surface, chain, n_chains, backfill=H(), tile_x=1, tile_y=1, rotate=True, seed=12345, **kwargs)
The argument
rotate
is changed torotate_chains
for clarity.Changes are made to the README.md to fix various typos.