read.lammps.data | R Documentation |
Read and write balls from and to lammps data files
read.lammps.data(filename)
write.lammps.data(
B,
filename,
density = 2,
comment = "R generated balls",
xlim = range(B$x),
ylim = range(B$y),
zlim = range(B$z)
)
filename |
file path |
B |
balls (data.frame) |
density |
density of balls exported |
comment |
comment placed in the header |
xlim, ylim, zlim |
extent of the domain exported in the lammps file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.