v0.14.0
Classes | Functions | Variables
sdf Namespace Reference

Classes

class  CylinderZ
 
class  NoIndenter
 
class  Sphere
 
class  yPlane
 

Functions

def sdf (t, x, y, z, tx, ty, tz)
 
def grad_sdf (t, x, y, z, tx, ty, tz)
 
def hess_sdf (t, x, y, z, tx, ty, tz)
 
def sdf (delta_t, t, x, y, z, tx, ty, tz, block_id)
 
def grad_sdf (delta_t, t, x, y, z, tx, ty, tz, block_id)
 
def hess_sdf (delta_t, t, x, y, z, tx, ty, tz, block_id)
 

Variables

int r = 1
 
list list_indenters = []
 

Function Documentation

◆ grad_sdf() [1/2]

def sdf.grad_sdf (   delta_t,
  t,
  x,
  y,
  z,
  tx,
  ty,
  tz,
  block_id 
)

Definition at line 16 of file sdf.py.

16 def grad_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id):
17  return list_indenters[0].gradSdf(x,y,z)
18 
19 

◆ grad_sdf() [2/2]

def sdf.grad_sdf (   t,
  x,
  y,
  z,
  tx,
  ty,
  tz 
)
Examples
ContactOps.hpp.

Definition at line 15 of file sdf.py.

15 def grad_sdf(t, x, y, z, tx, ty, tz):
16  return [0, 0, 0]
17 
18 

◆ hess_sdf() [1/2]

def sdf.hess_sdf (   delta_t,
  t,
  x,
  y,
  z,
  tx,
  ty,
  tz,
  block_id 
)

Definition at line 20 of file sdf.py.

20 def hess_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id):
21  return list_indenters[0].hessSdf(x,y,z)
22 
23 # Example Indenters
24 

◆ hess_sdf() [2/2]

def sdf.hess_sdf (   t,
  x,
  y,
  z,
  tx,
  ty,
  tz 
)
Examples
ContactOps.hpp.

Definition at line 19 of file sdf.py.

19 def hess_sdf(t, x, y, z, tx, ty, tz):
20  return [0, 0, 0, 0, 0, 0]
21 
22 # Indenters
23 

◆ sdf() [1/2]

def sdf.sdf (   delta_t,
  t,
  x,
  y,
  z,
  tx,
  ty,
  tz,
  block_id 
)

Definition at line 12 of file sdf.py.

12 def sdf(delta_t, t, x, y, z, tx, ty, tz, block_id):
13  return list_indenters[0].sDF(x,y,z)
14 
15 

◆ sdf() [2/2]

def sdf.sdf (   t,
  x,
  y,
  z,
  tx,
  ty,
  tz 
)

Definition at line 11 of file sdf.py.

11 def sdf(t, x, y, z, tx, ty, tz):
12  return 1;
13 
14 

Variable Documentation

◆ list_indenters

list sdf.list_indenters = []

Definition at line 207 of file sdf.py.

◆ r

int sdf.r = 1
sdf.hess_sdf
def hess_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id)
Definition: sdf.py:20
sdf.grad_sdf
def grad_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id)
Definition: sdf.py:16
sdf.sdf
def sdf(delta_t, t, x, y, z, tx, ty, tz, block_id)
Definition: sdf.py:12