Skip to content

damping

Damping

Damping(user_name: Optional[str] = None)

Bases: TaggedObject, ABC

Extension base for model-owned damping definitions.

Parameters:

Name Type Description Default
user_name str | None

Optional label; registration generates a unique default when the placeholder name is used.

None

Concrete subclasses implement solver-specific rendering. Prefer factories on model.damping and associate the returned object with a region.

Methods:

Name Description
remove

Ask the owning manager to detach this object, if one is available.

to_tcl

Render damping syntax according to the concrete component contract.

Attributes:

Name Type Description
name str

Display name derived as damping when tagged, otherwise user_name.

Attributes

name property

name: str

Display name derived as damping when tagged, otherwise user_name.

This is not always the unique user label stored by the manager and can change when the registry retags objects.

Methods:

remove

remove() -> None

Ask the owning manager to detach this object, if one is available.

Unmanaged objects are ignored. Region references and exported scripts are not rewritten; surviving registry tags can change.

to_tcl abstractmethod

to_tcl() -> str

Render damping syntax according to the concrete component contract.

Returns:

Name Type Description
command str

Subclass-generated Tcl. Some damping families require region/export integration; rendering is not solver execution.