|
| sDF (shift, y) |
|
| gradSdf () |
|
| hessSdf () |
|
| __init__ (self, Xc, Yc, Zc, shift) |
|
| sDF (self, x, y, z) |
|
| gradSdf (self, x, y, z) |
|
| hessSdf (self, x, y, z) |
|
| __init__ (self, Xc, Yc, Zc, shift) |
|
| sDF (self, x, y, z) |
|
| gradSdf (self, x, y, z) |
|
| hessSdf (self, x, y, z) |
|
| __init__ (self, Xc, Yc, Zc, shift) |
|
| sDF (self, x, y, z) |
|
| gradSdf (self, x, y, z) |
|
| hessSdf (self, x, y, z) |
|
Definition at line 46 of file sdf.py.
◆ __init__() [1/3]
sdf.yPlane.__init__ |
( |
| self, |
|
|
| Xc, |
|
|
| Yc, |
|
|
| Zc, |
|
|
| shift ) |
Definition at line 47 of file sdf.py.
47 def __init__(self,Xc,Yc,Zc,shift):
48
49 self.Xc = Xc
50 self.Yc = Yc
51 self.Zc = Zc
52
53
54 self.xc = Xc
55 self.yc = Yc
56 self.zc = Zc
57
58
59 self.shift = shift
60
61
◆ __init__() [2/3]
sdf.yPlane.__init__ |
( |
| self, |
|
|
| Xc, |
|
|
| Yc, |
|
|
| Zc, |
|
|
| shift ) |
Definition at line 26 of file sdf.py.
26 def __init__(self,Xc,Yc,Zc,shift):
27
28 self.Xc = Xc
29 self.Yc = Yc
30 self.Zc = Zc
31
32
33 self.xc = Xc
34 self.yc = Yc
35 self.zc = Zc
36
37
38 self.shift = shift
39
40
◆ __init__() [3/3]
sdf.yPlane.__init__ |
( |
| self, |
|
|
| Xc, |
|
|
| Yc, |
|
|
| Zc, |
|
|
| shift ) |
Definition at line 47 of file sdf.py.
47 def __init__(self,Xc,Yc,Zc,shift):
48
49 self.Xc = Xc
50 self.Yc = Yc
51 self.Zc = Zc
52
53
54 self.xc = Xc
55 self.yc = Yc
56 self.zc = Zc
57
58
59 self.shift = shift
60
61
◆ gradSdf() [1/4]
Definition at line 28 of file sdf.py.
28 def gradSdf():
29
30 return [0, 1, 0]
31
◆ gradSdf() [2/4]
sdf.yPlane.gradSdf |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 65 of file sdf.py.
65 def gradSdf(self,x, y,z):
66 dx = np.zeros_like(x)
67 dy = np.ones_like(y)
68 dz = np.zeros_like(z)
69 dx = dx.reshape((-1,1))
70 dy = dy.reshape((-1,1))
71 dz = dz.reshape((-1,1))
72 grad_array = np.hstack([dx, dy, dz])
73 return grad_array
74
◆ gradSdf() [3/4]
sdf.yPlane.gradSdf |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 44 of file sdf.py.
44 def gradSdf(self, x, y, z):
45 dx = np.zeros_like(x).reshape((-1, 1))
46 dy = np.ones_like(y).reshape((-1, 1))
47 dz = np.zeros_like(z).reshape((-1, 1))
48 return np.hstack([dx, dy, dz])
49
◆ gradSdf() [4/4]
sdf.yPlane.gradSdf |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 65 of file sdf.py.
65 def gradSdf(self,x, y,z):
66 dx = np.zeros_like(x)
67 dy = np.ones_like(y)
68 dz = np.zeros_like(z)
69 dx = dx.reshape((-1,1))
70 dy = dy.reshape((-1,1))
71 dz = dz.reshape((-1,1))
72 grad_array = np.hstack([dx, dy, dz])
73 return grad_array
74
◆ hessSdf() [1/4]
Definition at line 32 of file sdf.py.
32 def hessSdf():
33
34 return [0, 0, 0, 0, 0, 0]
35
36
◆ hessSdf() [2/4]
sdf.yPlane.hessSdf |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 75 of file sdf.py.
75 def hessSdf(self,x, y,z):
76 zeros = np.zeros_like(x)
77 zeros = zeros.reshape((-1,1))
78
79 hess_array = np.hstack([zeros, zeros, zeros, zeros, zeros, zeros])
80
81
82 return hess_array
83
◆ hessSdf() [3/4]
sdf.yPlane.hessSdf |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 50 of file sdf.py.
50 def hessSdf(self, x, y, z):
51 zeros = np.zeros_like(x).reshape((-1, 1))
52 return np.hstack([zeros for _ in range(6)])
53
◆ hessSdf() [4/4]
sdf.yPlane.hessSdf |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 75 of file sdf.py.
75 def hessSdf(self,x, y,z):
76 zeros = np.zeros_like(x)
77 zeros = zeros.reshape((-1,1))
78
79 hess_array = np.hstack([zeros, zeros, zeros, zeros, zeros, zeros])
80
81
82 return hess_array
83
◆ sDF() [1/4]
sdf.yPlane.sDF |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 62 of file sdf.py.
62 def sDF(self, x, y, z):
63 return np.subtract(y,self.shift)
64
◆ sDF() [2/4]
sdf.yPlane.sDF |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 41 of file sdf.py.
41 def sDF(self, x, y, z):
42 return np.subtract(y,self.shift)
43
◆ sDF() [3/4]
sdf.yPlane.sDF |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 62 of file sdf.py.
62 def sDF(self, x, y, z):
63 return np.subtract(y,self.shift)
64
◆ sDF() [4/4]
sdf.yPlane.sDF |
( |
| shift, |
|
|
| y ) |
Definition at line 25 of file sdf.py.
25 def sDF(shift, y):
26 return y - shift
27
◆ shift
◆ Xc
◆ xc
◆ Yc
◆ yc
◆ Zc
◆ zc
The documentation for this class was generated from the following files:
- /home/lk58p/mofem_install/vanilla_dev_release/mofem-cephas/jupyter/skel/ukacm_autumn_school_2023/multifield_plasticity/sdf.py
- tutorials/adv-0/sdf.py
- tutorials/adv-1/sdf_files/sdf.py
- users_modules/adolc-plasticity/sdf.py