|
| | __init__ (self, Xc, Yc, Zc, shift, indentationDepth) |
| |
| | sDF (self, x, y, z) |
| |
| | gradSdf (self, x, y, z) |
| |
| | hessSdf (self, x, y, z) |
| |
| | __init__ (self, Xc, Yc, Zc, shift, indentationDepth) |
| |
| | sDF (self, x, y, z) |
| |
| | gradSdf (self, x, y, z) |
| |
| | hessSdf (self, x, y, z) |
| |
Definition at line 27 of file sdf_ydirection.py.
◆ __init__() [1/2]
| sdf_ydirection.yPlane.__init__ |
( |
|
self, |
|
|
|
Xc, |
|
|
|
Yc, |
|
|
|
Zc, |
|
|
|
shift, |
|
|
|
indentationDepth |
|
) |
| |
Definition at line 28 of file sdf_ydirection.py.
28 def __init__(self,Xc,Yc,Zc,shift,indentationDepth):
29
30 self.t = 0
31
32
33 self.Xc = Xc
34 self.Yc = Yc
35 self.Zc = Zc
36
37
38 self.xc = Xc
39 self.yc = Yc
40 self.zc = Zc
41
42
43 self.shift = shift
44 self.depth = indentationDepth
45
46
◆ __init__() [2/2]
| sdf_ydirection.yPlane.__init__ |
( |
|
self, |
|
|
|
Xc, |
|
|
|
Yc, |
|
|
|
Zc, |
|
|
|
shift, |
|
|
|
indentationDepth |
|
) |
| |
Definition at line 28 of file sdf_ydirection.py.
28 def __init__(self,Xc,Yc,Zc,shift,indentationDepth):
29
30 self.t = 0
31
32
33 self.Xc = Xc
34 self.Yc = Yc
35 self.Zc = Zc
36
37
38 self.xc = Xc
39 self.yc = Yc
40 self.zc = Zc
41
42
43 self.shift = shift
44 self.depth = indentationDepth
45
46
◆ gradSdf() [1/2]
| sdf_ydirection.yPlane.gradSdf |
( |
|
self, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Definition at line 50 of file sdf_ydirection.py.
50 def gradSdf(self, x, y, z):
51 dx = np.zeros_like(x).reshape((-1, 1))
52 dy = np.ones_like(y).reshape((-1, 1))
53 dz = np.zeros_like(z).reshape((-1, 1))
54 return np.hstack([dx, dy, dz])
55
◆ gradSdf() [2/2]
| sdf_ydirection.yPlane.gradSdf |
( |
|
self, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Definition at line 50 of file sdf_ydirection.py.
50 def gradSdf(self, x, y, z):
51 dx = np.zeros_like(x).reshape((-1, 1))
52 dy = np.ones_like(y).reshape((-1, 1))
53 dz = np.zeros_like(z).reshape((-1, 1))
54 return np.hstack([dx, dy, dz])
55
◆ hessSdf() [1/2]
| sdf_ydirection.yPlane.hessSdf |
( |
|
self, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Definition at line 56 of file sdf_ydirection.py.
56 def hessSdf(self, x, y, z):
57 zeros = np.zeros_like(x).reshape((-1, 1))
58 return np.hstack([zeros for _ in range(6)])
59
◆ hessSdf() [2/2]
| sdf_ydirection.yPlane.hessSdf |
( |
|
self, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Definition at line 56 of file sdf_ydirection.py.
56 def hessSdf(self, x, y, z):
57 zeros = np.zeros_like(x).reshape((-1, 1))
58 return np.hstack([zeros for _ in range(6)])
59
◆ sDF() [1/2]
| sdf_ydirection.yPlane.sDF |
( |
|
self, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Definition at line 47 of file sdf_ydirection.py.
47 def sDF(self, x, y, z):
48 return np.subtract(y,self.shift)
49
◆ sDF() [2/2]
| sdf_ydirection.yPlane.sDF |
( |
|
self, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Definition at line 47 of file sdf_ydirection.py.
47 def sDF(self, x, y, z):
48 return np.subtract(y,self.shift)
49
◆ depth
| sdf_ydirection.yPlane.depth |
◆ shift
| sdf_ydirection.yPlane.shift |
◆ Xc
◆ xc
◆ Yc
◆ yc
◆ Zc
◆ zc
The documentation for this class was generated from the following file:
- users_modules/multifield-thermoplasticity-private/tutorials/adv-1/sdf_files/sdf_ydirection.py