v0.14.0
Classes | Functions | Variables
sdf_wavy_2d Namespace Reference

Classes

class  WavySurface
 

Functions

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

float A = 0.0002
 
int wave_len = 2
 
int w = 2. * np.pi / wave_len
 
float ind = 0.00159624
 

Function Documentation

◆ grad_sdf()

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

Definition at line 70 of file sdf_wavy_2d.py.

70 def grad_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id):
71  return WavySurface.gradSDF(x, y,z, t)
72 

◆ hess_sdf()

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

Definition at line 73 of file sdf_wavy_2d.py.

73 def hess_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id):
74  return WavySurface.hessSDF(x, y,z, t)

◆ sdf()

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

Definition at line 67 of file sdf_wavy_2d.py.

67 def sdf(delta_t, t, x, y, z, tx, ty, tz, block_id):
68  return WavySurface.sDF(x, y, z, t)
69 

Variable Documentation

◆ A

float sdf_wavy_2d.A = 0.0002

Definition at line 4 of file sdf_wavy_2d.py.

◆ ind

float sdf_wavy_2d.ind = 0.00159624
Examples
ContactOps.hpp.

Definition at line 7 of file sdf_wavy_2d.py.

◆ w

int sdf_wavy_2d.w = 2. * np.pi / wave_len

◆ wave_len

int sdf_wavy_2d.wave_len = 2

Definition at line 5 of file sdf_wavy_2d.py.

sdf_wavy_2d.hess_sdf
def hess_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id)
Definition: sdf_wavy_2d.py:73
sdf_wavy_2d.sdf
def sdf(delta_t, t, x, y, z, tx, ty, tz, block_id)
Definition: sdf_wavy_2d.py:67
sdf_wavy_2d.grad_sdf
def grad_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id)
Definition: sdf_wavy_2d.py:70