v0.14.0
Classes | Functions | Variables
sdf_hertz_3d Namespace Reference

Classes

class  Sphere
 

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

int R = 100
 
float d = 0.01
 
int xc = 0
 
int yc = 0
 
int zc = R
 

Function Documentation

◆ grad_sdf()

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

Definition at line 14 of file sdf_hertz_3d.py.

14 def grad_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id):
15  return Sphere.gradSdf(xc, yc, zc - d * t, x, y, z)
16 

◆ hess_sdf()

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

Definition at line 17 of file sdf_hertz_3d.py.

17 def hess_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id):
18  return Sphere.hessSdf(xc, yc, zc - d * t, x, y, z)
19 

◆ sdf()

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

Definition at line 11 of file sdf_hertz_3d.py.

11 def sdf(delta_t, t, x, y, z, tx, ty, tz, block_id):
12  return Sphere.sDF(R, xc, yc, zc - d * t, x, y, z)
13 

Variable Documentation

◆ d

float sdf_hertz_3d.d = 0.01

Definition at line 5 of file sdf_hertz_3d.py.

◆ R

int sdf_hertz_3d.R = 100

Definition at line 4 of file sdf_hertz_3d.py.

◆ xc

int sdf_hertz_3d.xc = 0

Definition at line 7 of file sdf_hertz_3d.py.

◆ yc

int sdf_hertz_3d.yc = 0

Definition at line 8 of file sdf_hertz_3d.py.

◆ zc

int sdf_hertz_3d.zc = R

Definition at line 9 of file sdf_hertz_3d.py.

sdf_hertz_3d.sdf
def sdf(delta_t, t, x, y, z, tx, ty, tz, block_id)
Definition: sdf_hertz_3d.py:11
sdf_hertz_3d.hess_sdf
def hess_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id)
Definition: sdf_hertz_3d.py:17
sdf_hertz_3d.grad_sdf
def grad_sdf(delta_t, t, x, y, z, tx, ty, tz, block_id)
Definition: sdf_hertz_3d.py:14