martinsw01 / vitber-bio

0 stars 0 forks source link

1 a) Grid with 2M monomers #2

Closed martinsw01 closed 2 years ago

martinsw01 commented 2 years ago

Write a function that takes as input the grid size, N , and the number of monomers we wish to consider M . The function should return a grid with the monomers placed randomly. Monomers can only be placed in the solvent, not on top of other monomers. Check that the grid has 2M non-zero values. M of these values represent positively charged monomers, the other M represent negatively charged monomers.

martinsw01 commented 2 years ago

6e374a2 closes this issue