Skip to content

← Back to subsystem2

LocalObjective2

Source: userfiles/TwoBarTruss/subsystem2/LocalObjective2.py

Local objective module for Two-Bar Truss subsystem 2.

Defines the local objective function contribution from bar 2 (no local objective contribution in this decomposition).

Classes

LocalObjective2

Inherits from: LocalObjectiveInterface

Local objective class for Two-Bar Truss subsystem 2.

Bar 2 has no local objective contribution (set to 0.0).

Attributes:

None specific to this class; inherits from LocalObjectiveInterface.

Methods

init(self) → None

Initialize LocalObjective2 instance.

evaluateLocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the local objective function for subsystem 2.

Args:

subsystem: The local subsystem basis containing state information.

evaluate_Gradient_LocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the gradient of the local objective function.

Args:

subsystem: The local subsystem basis containing state information.

evaluate_Hessian_LocalObjective(self, subsystem: LocalSubSystemBasis) → None

Evaluate the Hessian of the local objective function.

Args:

subsystem: The local subsystem basis containing state information.