Closed maojinyuan closed 1 year ago
Hi, sorry for the confusion. pyPRISM.omega.InterMolecular() and pyPRISM.omega.NoIntra() are exactly the same, both denoting an intermolecular correlation function of zero everywhere, i.e. sites never appear in the same molecule. The InterMolecular() syntax was from an older version of pyPRISM, and was changed to NoIntra() to avoid exactly the confusion you are having. If you look at https://github.com/usnistgov/pyPRISM/blob/master/pyPRISM/omega/InterMolecular.py, you can see that InterMolecular() is now just an alias of NoIntra(). In terms of the polymer-particle g(r), were you expecting something significantly different? Seems mostly reasonable to me given the relative diameters of polymer and particle sites. I would suggest increasing the length quite a bit when defining sys.domain (perhaps to 8192) so that the domain is large enough for the correlations to decay to one over the length scale of the domain.
Thank you for your response.
Hi there,
I'm a new user of pyPRISM, I decided to place two types of polymer(polymer1 N=10 and polymer2 N=150, total density=0.2) and one nanoparticle to a system. Below is my script and the g(r) fucntion. However, I felt something wrong in g(r) function. Here, I just can't understand the difference of omega.Intermolecular and omega.Intra, cause the omega represents the Intra-molecular function.