v0.14.0
Public Member Functions | List of all members
sdf.NoIndenter Class Reference

Public Member Functions

def sDF (self, x, y, z)
 
def gradSdf (self, x, y, z)
 
def hessSdf (self, x, y, z)
 
def sDF (self, x, y, z)
 
def gradSdf (self, x, y, z)
 
def hessSdf (self, x, y, z)
 

Detailed Description

Definition at line 25 of file sdf.py.

Member Function Documentation

◆ gradSdf() [1/2]

def sdf.NoIndenter.gradSdf (   self,
  x,
  y,
  z 
)

Definition at line 30 of file sdf.py.

30  def gradSdf(self,x, y,z):
31  zeros = np.zeros_like(x)
32  zeros = zeros.reshape((-1,1))
33 
34  grad_array = np.hstack([zeros, zeros, zeros])
35  return grad_array
36 

◆ gradSdf() [2/2]

def sdf.NoIndenter.gradSdf (   self,
  x,
  y,
  z 
)

Definition at line 30 of file sdf.py.

30  def gradSdf(self,x, y,z):
31  zeros = np.zeros_like(x)
32  zeros = zeros.reshape((-1,1))
33 
34  grad_array = np.hstack([zeros, zeros, zeros])
35  return grad_array
36 

◆ hessSdf() [1/2]

def sdf.NoIndenter.hessSdf (   self,
  x,
  y,
  z 
)

Definition at line 37 of file sdf.py.

37  def hessSdf(self,x, y,z):
38  zeros = np.zeros_like(x)
39  zeros = zeros.reshape((-1,1))
40 
41  hess_array = np.hstack([zeros, zeros, zeros, zeros, zeros, zeros])
42 
43  # xx, yx, zx, yy, zy, zz
44  return hess_array
45 

◆ hessSdf() [2/2]

def sdf.NoIndenter.hessSdf (   self,
  x,
  y,
  z 
)

Definition at line 37 of file sdf.py.

37  def hessSdf(self,x, y,z):
38  zeros = np.zeros_like(x)
39  zeros = zeros.reshape((-1,1))
40 
41  hess_array = np.hstack([zeros, zeros, zeros, zeros, zeros, zeros])
42 
43  # xx, yx, zx, yy, zy, zz
44  return hess_array
45 

◆ sDF() [1/2]

def sdf.NoIndenter.sDF (   self,
  x,
  y,
  z 
)

Definition at line 27 of file sdf.py.

27  def sDF(self, x, y, z):
28  return np.ones_like(x)
29 

◆ sDF() [2/2]

def sdf.NoIndenter.sDF (   self,
  x,
  y,
  z 
)

Definition at line 27 of file sdf.py.

27  def sDF(self, x, y, z):
28  return np.ones_like(x)
29 

The documentation for this class was generated from the following file: