← Back to subsystem0
LocalObjective0¶
Source: userfiles/TwoBarTruss/subsystem0/LocalObjective0.py
Local objective module for Two-Bar Truss subsystem 0.
Defines the mass objective function for the system-level FEM subsystem.
Classes¶
LocalObjective0¶
Inherits from: LocalObjectiveInterface
Local objective class for Two-Bar Truss subsystem 0.
Evaluates total truss mass normalized by the mass-normalization parameter.
Attributes:
None specific to this class; inherits from LocalObjectiveInterface.
Methods¶
init(self) → None
Initialize LocalObjective0 instance.
evaluateLocalObjective(self, subsystem: LocalSubSystemBasis) → None
Evaluate the local objective function for subsystem 0.
Computes the normalized mass objective M / M_max.
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.