Question: In the our sample configuration from NIST, the density is 0 . 8 . This is calculated by dividing the number of atoms by the
In the our sample configuration from NIST, the density is This is calculated by dividing the number of atoms by the box volume atoms since was our box length. You will need to calculate a box length depending on the number of atoms and the desired density.
Write a function that makes a configuration by randomly placing points in a dimensional box. The function should return coordinates boxlength the same way ourreadxyz function does so we can switch out the two without changing our code.Generate points on a cubic lattice on python code. Similar to the random configuration generator, python def function should accept arguments for the number of atoms and the desired system density.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
