Skip to content

Commit b5bcadc

Browse files
committed
Format tools.py to pass linter
1 parent c84d4c0 commit b5bcadc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

rocketpy/tools.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,47 +1155,41 @@ def new_source(t):
11551155
return Function(new_source, inputs="t", outputs="Inertia (kg*m^2)")
11561156

11571157

1158-
11591158
def parallel_axis_theorem_I11(com_inertia_moment, mass, distance_vec_3d):
11601159

11611160
return _pat_dynamic_helper(
11621161
com_inertia_moment, mass, distance_vec_3d, lambda d_vec: d_vec.y**2 + d_vec.z**2
11631162
)
11641163

11651164

1166-
11671165
def parallel_axis_theorem_I22(com_inertia_moment, mass, distance_vec_3d):
11681166

11691167
return _pat_dynamic_helper(
11701168
com_inertia_moment, mass, distance_vec_3d, lambda d_vec: d_vec.x**2 + d_vec.z**2
11711169
)
11721170

11731171

1174-
11751172
def parallel_axis_theorem_I33(com_inertia_moment, mass, distance_vec_3d):
11761173

11771174
return _pat_dynamic_helper(
11781175
com_inertia_moment, mass, distance_vec_3d, lambda d_vec: d_vec.x**2 + d_vec.y**2
11791176
)
11801177

11811178

1182-
11831179
def parallel_axis_theorem_I12(com_inertia_product, mass, distance_vec_3d):
11841180

11851181
return _pat_dynamic_product_helper(
11861182
com_inertia_product, mass, distance_vec_3d, lambda d_vec: d_vec.x * d_vec.y
11871183
)
11881184

11891185

1190-
11911186
def parallel_axis_theorem_I13(com_inertia_product, mass, distance_vec_3d):
11921187

11931188
return _pat_dynamic_product_helper(
11941189
com_inertia_product, mass, distance_vec_3d, lambda d_vec: d_vec.x * d_vec.z
11951190
)
11961191

11971192

1198-
11991193
def parallel_axis_theorem_I23(com_inertia_product, mass, distance_vec_3d):
12001194

12011195
return _pat_dynamic_product_helper(

0 commit comments

Comments
 (0)