command command
Purpose
This is a wrapper for old-style commands like fixes and computes.
Warning
GPU support for this command has not been tested and may not work as expected.Syntax
command id command_id style command_style particle_group command_group keyword values
Keyword |
Description |
|---|---|
id |
madatory, user-assigned command ID |
mandatory, the fix/compute style to invoke |
|
particle_group |
the particle group this command applies to
default:
all |
Furthermore, all required / desired keyword-value-pairs of the specified style have to be appended.
Examples
command id c1 external_work/mesh my_mesh_id
command id d1 particle_group g1 style dragforce Schiller_Naumann viscosity 0.0002 density 1000 region water
command id f1 style insert/fragments seed 123457 distributiontemplate pdfragments every 1 region ins type_replace 1
command id f1 particle_group powder style powder/update alpha_relaxation_time 0.5
Description
This generic command allows to call any command, i.e. old-style fixes and
computes that have not yet been ported to the new natural language style. The
argument for the style keyword specifies the command, fix, or compute to be
loaded. The following arguments configure the selected command, fix, or compute
and need to be given as required for this entity.
Default
particle_group = all.