Files
lammps/examples/PACKAGES/scafacos/in.scafacos.hsph.fmm
2021-06-29 11:23:47 -04:00

38 lines
698 B
Plaintext

# Point dipoles in a 2d box
units lj
atom_style charge
read_data data.hammersley_sphere
change_box all boundary f f f
velocity all create 1.5 49893
neighbor 1.0 bin
neigh_modify delay 0
fix 1 all nve
# LAMMPS computes pairwise and long-range Coulombics
#pair_style coul/long 3.0
#pair_coeff * *
#kspace_style pppm 1.0e-3
# Scafacos computes entire long-range Coulombics
# use dummy pair style to perform atom sorting
pair_style zero 1.0
pair_coeff * *
#fix 2 all scafacos p3m tolerance field 0.001
kspace_style scafacos fmm 0.001
kspace_modify scafacos tolerance energy_rel
kspace_modify scafacos fmm_tuning 1
timestep 0.005
thermo 1
run 20