3.1.12. c3po.CollaborativePhysicsDriver module

Inheritance diagram of c3po.CollaborativePhysicsDriver

Contain the class CollaborativePhysicsDriver.

class c3po.CollaborativePhysicsDriver.CollaborativePhysicsDriver(physics)

Bases: Coupler, CollaborativeObject

CollaborativePhysicsDriver is a PhysicsDriver (a Coupler in fact) that handles a set of PhysicsDriver as a single one.

The solving methods of the CollaborativePhysicsDriver call the ones of the held PhysicsDriver in a row.

__init__(physics)

Build an CollaborativePhysicsDriver object.

Parameters:

physics (list[PhysicsDriver], dict) – A list (or dictionary) of PhysicsDriver objects.

forget(label, method)

See PhysicsDriver.forget().

iterateTimeStep()

See PhysicsDriver.iterateTimeStep().

restore(label, method)

See PhysicsDriver.restore().

save(label, method)

See PhysicsDriver.save().

setInputDoubleValue(name, value)

See c3po.DataAccessor.DataAccessor.setInputDoubleValue().

setInputIntValue(name, value)

See c3po.DataAccessor.DataAccessor.setInputIntValue().

setInputStringValue(name, value)

See c3po.DataAccessor.DataAccessor.setInputStringValue().

solveTimeStep()

See PhysicsDriver.solveTimeStep().