mpacts.commands.continuum. sph_density

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

import mpacts.commands.continuum.sph_density
#or assign it to a shorter name
import mpacts.commands.continuum.sph_density as sph

DensitySummation

class mpacts.commands.continuum.sph_density.DensitySummation

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

Density summation; needs density summation in the contact-loop (before)!
Default location: ‘loop_cmds/postprocessing_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
  • 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, [gate, predicate]
DensitySummation(name, parent, **kwargs)

InitDensitySummation_2D

class mpacts.commands.continuum.sph_density.InitDensitySummation_2D

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

Init Density summation; is required before executing DensitySummationFtor.h!
Default location: ‘loop_cmds/contact_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
  • 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, [gate, predicate]
InitDensitySummation_2D(name, parent, **kwargs)

InitDensitySummation_3D

class mpacts.commands.continuum.sph_density.InitDensitySummation_3D

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

Init Density summation; is required before executing DensitySummationFtor.h!
Default location: ‘loop_cmds/contact_cmds’
  • Required keywords:
    • pc — Particle container on which the command is applied
  • 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, [gate, predicate]
InitDensitySummation_3D(name, parent, **kwargs)