ConstraintHandlerManager
ConstraintHandlerManager
Bases: TaggedComponentManager[ConstraintHandler]
Create enforcement methods through model.analysis.constraint.
These definitions tell an analysis how to enforce existing SP/MP constraints; they do not create supports, diaphragms, or coupling relationships. Factories return registered handlers and forward keyword options to the concrete component constructor. Solver/matrix and constraint-topology compatibility must be checked for the full model.
Methods:
| Name | Description |
|---|---|
plain |
Create a Plain constraint handler. |
transformation |
Create a Transformation constraint handler. |
penalty |
Create a Penalty constraint handler. |
lagrange |
Create a Lagrange constraint handler. |
auto |
Create an Auto constraint handler. |
Methods:
plain
Create a Plain constraint handler.
Returns:
| Name | Type | Description |
|---|---|---|
component |
PlainConstraintHandler
|
Registered definition. Creating it does not run OpenSees. |
transformation
Create a Transformation constraint handler.
Returns:
| Name | Type | Description |
|---|---|---|
component |
TransformationConstraintHandler
|
Registered definition. Creating it does not run OpenSees. |
penalty
Create a Penalty constraint handler.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
alpha_s
|
float
|
Penalty scale factor for single-point (SP) constraints. |
required |
alpha_m
|
float
|
Penalty scale factor for multi-point (MP) constraints. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
component |
PenaltyConstraintHandler
|
Registered definition. Creating it does not run OpenSees. |
lagrange
Create a Lagrange constraint handler.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
alpha_s
|
float
|
Scaling factor for single-point constraints. |
1.0
|
alpha_m
|
float
|
Scaling factor for multi-point constraints. |
1.0
|
Returns:
| Name | Type | Description |
|---|---|---|
component |
LagrangeConstraintHandler
|
Registered definition. Creating it does not run OpenSees. |
auto
auto(*, verbose: bool = False, auto_penalty: float | None = None, user_penalty: float | None = None) -> AutoConstraintHandler
Create an Auto constraint handler.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
verbose
|
bool
|
If True, outputs diagnostic selection steps. |
False
|
auto_penalty
|
float | None
|
Optional automatic penalty scaling value. |
None
|
user_penalty
|
float | None
|
Optional user override penalty value. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
component |
AutoConstraintHandler
|
Registered definition. Creating it does not run OpenSees. |
Registry operations
The following shared methods are available on this manager namespace. They manage definitions, not an active solver. See shared registry operations for add, create, get, get_all, remove, clear, set_tag_start, and get_available_types.