|
| sDF (xc, yc, zc, x, y, z) |
|
| gradSdf (xc, yc, zc, x, y, z) |
|
| hessSdf (xc, yc, zc, x, y, z) |
|
◆ gradSdf()
sdf_hertz_2d_axisymm_plane.yPlane.gradSdf |
( |
| xc, |
|
|
| yc, |
|
|
| zc, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 23 of file sdf_hertz_2d_axisymm_plane.py.
23 def gradSdf(xc, yc, zc, x, y, z):
24 dx = np.zeros_like(x).reshape((-1, 1))
25 dy = np.full_like(y, -1).reshape((-1, 1))
26 dz = np.zeros_like(z).reshape((-1, 1))
27 return np.hstack([dx, dy, dz])
28
◆ hessSdf()
sdf_hertz_2d_axisymm_plane.yPlane.hessSdf |
( |
| xc, |
|
|
| yc, |
|
|
| zc, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 29 of file sdf_hertz_2d_axisymm_plane.py.
29 def hessSdf(xc, yc, zc, x, y, z):
30 zeros = np.zeros_like(x).reshape((-1, 1))
31 return np.hstack([zeros for _ in range(6)])
◆ sDF()
sdf_hertz_2d_axisymm_plane.yPlane.sDF |
( |
| xc, |
|
|
| yc, |
|
|
| zc, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
The documentation for this class was generated from the following file: