At the moment, all colloids have a uniform density rho0. This is usually equal to the fluid density.
In principle, one can give each colloid a different density. This would require:
Addition of a rho component in the colloid structure.
Addition of relevant i/o for rho in colloid.c.
The addition of a mechanism to assign a density to each colloid in the input, with a default of rho0.
An updated mass computation to account for the density. It is possible that this occurs in more than one place, but it should really be only colloid_state_mass().
A check on the buoyancy computation (interaction.c).
At the moment, all colloids have a uniform density
rho0
. This is usually equal to the fluid density.In principle, one can give each colloid a different density. This would require:
rho
component in the colloid structure.rho
incolloid.c
.rho0
.colloid_state_mass()
.interaction.c
).