read.lammps.data: Read and write balls from and to lammps data files

View source: R/lammps.R

read.lammps.dataR Documentation

Read and write balls from and to lammps data files

Description

Read and write balls from and to lammps data files

Usage

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)
)

Arguments

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


llaniewski/rfracture documentation built on Aug. 21, 2023, 11:10 a.m.