diff --git a/doc/fix_adapt.html b/doc/fix_adapt.html index abc4e83652..3b392729ce 100644 --- a/doc/fix_adapt.html +++ b/doc/fix_adapt.html @@ -135,6 +135,12 @@ discussion above describing the formulas associated with equal-style variables. The new value is assigned to the corresponding attribute for all atoms in the fix group.
+If the atom parameter is diameter and per-atom density and per-atom +mass are defined for particles (e.g. atom_style +granular), then the mass of each particle is also +changed when the diameter changes (density is assumed to stay +constant). +
For example, these commands would shrink the diameter of all granular particles in the "center" group from 1.0 to 0.1 in a linear fashion over the course of a 1000-step simulation: diff --git a/doc/fix_adapt.txt b/doc/fix_adapt.txt index 55749fae20..a4d3c7a05e 100644 --- a/doc/fix_adapt.txt +++ b/doc/fix_adapt.txt @@ -123,6 +123,12 @@ discussion above describing the formulas associated with equal-style variables. The new value is assigned to the corresponding attribute for all atoms in the fix group. +If the atom parameter is {diameter} and per-atom density and per-atom +mass are defined for particles (e.g. "atom_style +granular"_atom_style.html), then the mass of each particle is also +changed when the diameter changes (density is assumed to stay +constant). + For example, these commands would shrink the diameter of all granular particles in the "center" group from 1.0 to 0.1 in a linear fashion over the course of a 1000-step simulation: