forked from lijiext/lammps
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
|
|
|
|
:link(lws,http://lammps.sandia.gov)
|
|
:link(ld,Manual.html)
|
|
:link(lc,Section_commands.html#comm)
|
|
|
|
:line
|
|
|
|
compute meso_rho/atom command :h3
|
|
|
|
[Syntax:]
|
|
|
|
compute ID group-ID meso_rho/atom :pre
|
|
|
|
ID, group-ID are documented in "compute"_compute.html command
|
|
meso_rho/atom = style name of this compute command :ul
|
|
|
|
[Examples:]
|
|
|
|
compute 1 all meso_rho/atom :pre
|
|
|
|
[Description:]
|
|
|
|
Define a computation that calculates the per-atom mesoscopic density
|
|
for each atom in a group.
|
|
|
|
The mesoscopic density is the mass density of a mesoscopic particle,
|
|
calculated by kernel function interpolation using "pair style
|
|
sph/rhosum".
|
|
|
|
See "this PDF guide"_USER/sph/SPH_LAMMPS_userguide.pdf to using SPH in
|
|
LAMMPS.
|
|
|
|
The value of the mesoscopic density will be 0.0 for atoms not in the
|
|
specified compute group.
|
|
|
|
[Output info:]
|
|
|
|
This compute calculates a per-atom vector, which can be accessed by
|
|
any command that uses per-atom values from a compute as input. See
|
|
"Section_howto 15"_Section_howto.html#howto_15 for an overview of
|
|
LAMMPS output options.
|
|
|
|
The per-atom vector values will be in mass/volume "units"_units.html.
|
|
|
|
[Restrictions:]
|
|
|
|
This compute is part of the USER-SPH package. It is only enabled if
|
|
LAMMPS was built with that package. See the "Making
|
|
LAMMPS"_Section_start.html#start_3 section for more info.
|
|
|
|
[Related commands:]
|
|
|
|
"dump custom"_dump.html
|
|
|
|
[Default:] none
|