Construction of nanoparticles randomly distributed in solution through molecular templates (2)——Nanoparticles of different shapes

A friend asked me how to write a molecular template
Here is how to program and write the molecular template you need:
a Read your own data file (MS generation or other methods); b Write the required molecular template as required by the manual; c Read the molecular template correctly;
here I will construct:
1) Square-shaped nanoparticles; 2) Cylindrical nano-particles Particles; a
brief explanation:
(download all test cases at the end of the blog, spherical, square, cylindrical)

If you have a new problem or post-processing problem, you can send me an email to learn and discuss together.

The renderings are as follows:

Please add picture description

Step 1 : Construct a square and cylindrical data file

This piece is more basic, refer to the create_atoms command, I provide an in file code?

Guess you like

Origin blog.csdn.net/qq_43689832/article/details/113442510