pystra.model.LimitState#
- class LimitState(expression=None)[source]#
Bases:
object
The Limit State function definition class.
The limit state function can be defined in two main ways:
1. Numerical differentiation (FFD): the limit state function need only return its value at a set of evaluation points, X. In this form, the function can be either:
A python lambda object;
A python function object.
2. Using the Direct Differentiation Method (DDM): the limit state function is a python function object return both its value and gradient vector at each of the evaluation points.
Note in both cases that each parameter (i.e. function argument) may be passed as a vector, depending on the algorithm being called.
Where a function returns a gradient vector, it is only utilized when DDM is specified.
Methods
Compute the limit state function
evaluate_ddm
evaluate_ffd
Evaluate the limit state
evaluate_nogradient
getExpression
setExpression
Attributes
Expression of the limit-state function
- expression#
Expression of the limit-state function