You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
coordinate type, default is spherical, can be cartesian also.
43
-
44
39
latitude_adjusted_area : bool, optional
45
40
If True, performs the check if any face consists of an edge that has constant latitude, modifies the area of that face by applying the correction term due to that edge. Default is False.
46
41
@@ -64,24 +59,6 @@ def calculate_face_area(
64
59
65
60
# num triangles is two less than the total number of nodes
66
61
num_triangles=num_nodes-2
67
-
68
-
# TODO: Remove/clarify option for spherical coordinates
69
-
ifcoords_type=="spherical":
70
-
# Preallocate arrays for Cartesian coordinates
71
-
n_points=len(x)
72
-
x_cartesian=np.empty(n_points)
73
-
y_cartesian=np.empty(n_points)
74
-
z_cartesian=np.empty(n_points)
75
-
76
-
# Convert all points to Cartesian coordinates using an explicit loop
"triangular" or "gaussian". Defaults to triangular
230
202
231
203
order : int, optional
232
204
count or order for Gaussian or spherical resp. Defaults to 4 for spherical.
233
205
234
-
coords_type : str, optional
235
-
coordinate type, default is spherical, can be cartesian also.
236
-
237
206
latitude_adjusted_area : bool, optional
238
207
If True, performs the check if any face consists of an edge that has constant latitude, modifies the area of that face by applying the correction term due to that edge. Default is False.
0 commit comments