mpacts.commands.misc. pushscalarvector

In order to be able to use this module import it like this:

import mpacts.commands.misc.pushscalarvector
#or assign it to a shorter name
import mpacts.commands.misc.pushscalarvector as pus


class mpacts.commands.misc.pushscalarvector.PushScalarVectorCommand

Bases: mpacts.core.command.Command, mpacts.core.baseobject.BaseObject

Default location: ‘loop_cmds/pre_body_force_cmds’
  • Required keywords:
    • pc_nozzles
    • pc — Particle container on which the command is applied
    • start_time_delay
    • width_direction
    • width
  • Optional keywords:
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • predicate (default value = None) — Predicate that will decide whether this command is executed for a specific particle, when absent the command is executed for every particle.
object __init__(tuple args, dict kwds) :
args: name, parent kwds: pc, pc_nozzles, width, width_direction, start_time_delay, [gate, predicate]
PushScalarVectorCommand(name, parent, **kwargs)