anastruct.cython.basic
Functions
|
Determine convergence factor |
|
Determine the angle of the element with the global x-axis |
Module Contents
- anastruct.cython.basic.converge(lhs: float, rhs: float) float[source]
Determine convergence factor
- Args:
lhs (float): The left-hand side of the equation rhs (float): The right-hand side of the equation
- Returns:
float: Convergence factor ((lhs / rhs) - 1) / div + 1
- anastruct.cython.basic.angle_x_axis(delta_x: float, delta_y: float) float[source]
Determine the angle of the element with the global x-axis
- Args:
delta_x (float): Element length in the x-direction delta_y (float): Element length in the y-direction
- Returns:
float: Angle of the element with the global x-axis