Rockable Format¶
read_conf_rockable¶
Reads a Rockable configuration file. Some lines are not processed, such as the contact law and its parameters.
| Parameter | Description |
|---|---|
filename |
file to read |
bounds |
simulation domain, e.g. [[0,0,0],[1,1,1]]; if not given, computed from the particle positions |
enlarge_bounds |
empty layer added around the domain, default 0 |
bounds_mode |
COMPUTED_BOUNDS (default: bounds computed from the particles and shapes) or DOMAIN (bounds of the domain block) |
region |
keeps only the particles of a region |
Read
t, dt, density, periodicity, nDriven, shapeFile, precision, particles, interactions (read but not
used)
Not read
Interfaces, gravity, AddOrRemoveInteractions, UpdateNL, forceLaw, contact law parameters,
interVerlet, interConf, tmax, DVerlet, dVerlet, ParamsInInterfaces, dynamicUpdateNL,
ContactPartnership, cellMinSizes, iconf, boxForLinkCellsOpt
write_conf_rockable¶
Writes a minimal Rockable file (particles only) to use the Rockable see viewer. No parameter.
Note
To convert an existing .dump checkpoint to a Rockable file instead, see
dump_to_rockable.