Skip to content

Commit 4df4003

Browse files
language
1 parent 335b92e commit 4df4003

4 files changed

Lines changed: 18 additions & 18 deletions

File tree

src/compas_tna/envelope/crossvault.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def crossvault_envelope(
6363

6464

6565
def crossvault_middle(x, y, min_lb, x_span=(0.0, 10.0), y_span=(0.0, 10.0), tol=1e-6):
66-
"""Update middle of a crossvault based in the parameters
66+
"""Compute middle of a crossvault based on the parameters.
6767
6868
Parameters
6969
----------
@@ -127,7 +127,7 @@ def crossvault_middle(x, y, min_lb, x_span=(0.0, 10.0), y_span=(0.0, 10.0), tol=
127127

128128

129129
def crossvault_bounds(x, y, thk, min_lb, x_span=(0.0, 10.0), y_span=(0.0, 10.0), tol=1e-6):
130-
"""Update upper and lower bounds of an crossvault based in the parameters
130+
"""Compute upper and lower bounds of an crossvault based on the parameters.
131131
132132
Parameters
133133
----------

src/compas_tna/envelope/dome.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def dome_envelope(
7676

7777

7878
def dome_middle(x, y, radius, min_lb, center=(5.0, 5.0)):
79-
"""Update middle of the dome based in the parameters
79+
"""Compute middle of the dome based on the parameters.
8080
8181
Parameters
8282
----------
@@ -112,7 +112,7 @@ def dome_middle(x, y, radius, min_lb, center=(5.0, 5.0)):
112112

113113

114114
def dome_bounds(x, y, thk, min_lb, center=(5.0, 5.0), radius=5.0):
115-
"""Update upper and lower bounds of the dome based in the parameters
115+
"""Compute upper and lower bounds of the dome based on the parameters.
116116
117117
Parameters
118118
----------
@@ -155,7 +155,7 @@ def dome_bounds(x, y, thk, min_lb, center=(5.0, 5.0), radius=5.0):
155155

156156

157157
def dome_bounds_derivatives(x, y, thk, min_lb, center=(5.0, 5.0), radius=5.0):
158-
"""Update sensitivities of upper and lower bounds of the dome based in the parameters
158+
"""Compute sensitivities of upper and lower bounds of the dome based on the parameters.
159159
160160
Parameters
161161
----------
@@ -204,11 +204,11 @@ def dome_bounds_derivatives(x, y, thk, min_lb, center=(5.0, 5.0), radius=5.0):
204204
dlbdx[i, i] = 1 / 2 / zi * -2 * (x[i] - xc)
205205
dlbdy[i, i] = 1 / 2 / zi * -2 * (y[i] - yc)
206206

207-
return dub, dlb, dubdx, dubdy, dlbdx, dlbdy
207+
return dub, dlb
208208

209209

210210
def dome_bound_react(x, y, thk, fixed, center=(5.0, 5.0), radius=5.0):
211-
"""Updates the ``b`` parameter of a dome for a given thickness
211+
"""Computes the reaction bounds of a dome for a given thickness
212212
213213
Parameters
214214
----------
@@ -228,7 +228,7 @@ def dome_bound_react(x, y, thk, fixed, center=(5.0, 5.0), radius=5.0):
228228
Returns
229229
-------
230230
b : array
231-
The ``b`` parameter
231+
The reaction bounds
232232
"""
233233

234234
[xc, yc] = center[:2]
@@ -246,7 +246,7 @@ def dome_bound_react(x, y, thk, fixed, center=(5.0, 5.0), radius=5.0):
246246

247247

248248
def dome_bound_react_derivatives(x, y, thk, fixed, center=(5.0, 5.0), radius=5.0):
249-
"""Updates the ``db`` parameter of a dome for a given thickness
249+
"""Computes the reaction bounds derivatives of a dome for a given thickness
250250
251251
Parameters
252252
----------
@@ -266,7 +266,7 @@ def dome_bound_react_derivatives(x, y, thk, fixed, center=(5.0, 5.0), radius=5.0
266266
Returns
267267
-------
268268
db : array
269-
The sensitivity of the ``b`` parameter
269+
The sensitivity of the reaction bounds
270270
"""
271271

272272
[xc, yc] = center[:2]

src/compas_tna/envelope/pavillionvault.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def pavillionvault_envelope(
7272

7373

7474
def pavillionvault_middle(x, y, x_span=(0.0, 10.0), y_span=(0.0, 10.0), spr_angle=0.0, tol=1e-6):
75-
"""Update middle of a pavillion vault based in the parameters
75+
"""Compute middle of a pavillion vault based on the parameters.
7676
7777
Parameters
7878
----------
@@ -130,7 +130,7 @@ def pavillionvault_middle(x, y, x_span=(0.0, 10.0), y_span=(0.0, 10.0), spr_angl
130130

131131

132132
def pavillionvault_bounds(x, y, thk, min_lb, x_span=(0.0, 10.0), y_span=(0.0, 10.0), spr_angle=0.0, tol=1e-6):
133-
"""Update upper and lower bounds of a pavillionvault based in the parameters
133+
"""Compute upper and lower bounds of a pavillionvault based on the parameters.
134134
135135
Parameters
136136
----------
@@ -304,7 +304,7 @@ def pavillionvault_bounds_derivatives(x, y, thk, min_lb, x_span=(0.0, 10.0), y_s
304304

305305

306306
def pavillionvault_bound_react(x, y, thk, fixed, x_span=(0.0, 10.0), y_span=(0.0, 10.0)):
307-
"""Computes the ``b`` of parameter x, y coordinates and thickness specified.
307+
"""Computes the reaction bounds of a pavillion vault for a given thickness
308308
309309
Parameters
310310
----------
@@ -324,7 +324,7 @@ def pavillionvault_bound_react(x, y, thk, fixed, x_span=(0.0, 10.0), y_span=(0.0
324324
Returns
325325
-------
326326
b : array
327-
Values of the ``b`` parameter
327+
Values of the reaction bounds
328328
"""
329329

330330
x0, x1 = x_span
@@ -347,7 +347,7 @@ def pavillionvault_bound_react(x, y, thk, fixed, x_span=(0.0, 10.0), y_span=(0.0
347347

348348

349349
def pavillionvault_bound_react_derivatives(x, y, thk, fixed, x_span=(0.0, 10.0), y_span=(0.0, 10.0)):
350-
"""Computes the sensitivities of the ``b`` parameter in the x, y coordinates and thickness specified.
350+
"""Computes the sensitivities of the reaction bounds of a pavillion vault for a given thickness
351351
352352
Parameters
353353
----------
@@ -367,7 +367,7 @@ def pavillionvault_bound_react_derivatives(x, y, thk, fixed, x_span=(0.0, 10.0),
367367
Returns
368368
-------
369369
db : array
370-
Values of the sensitivities of the ``b`` parameter in the points
370+
Values of the sensitivities of the reaction bounds in the points
371371
"""
372372

373373
x0, x1 = x_span

src/compas_tna/envelope/pointedvault.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def pointedvault_middle(
8282
hm=None,
8383
tol=1e-6,
8484
):
85-
"""Update middle of a pointed vault based in the parameters
85+
"""Compute middle of a pointed vault based on the parameters.
8686
8787
Parameters
8888
----------
@@ -200,7 +200,7 @@ def pointedvault_bounds(
200200
hm=None,
201201
tol=1e-6,
202202
):
203-
"""Update upper and lower bounds of a pointed vault based in the parameters
203+
"""Compute upper and lower bounds of a pointed vault based on the parameters.
204204
205205
Parameters
206206
----------

0 commit comments

Comments
 (0)