v0.14.0
Classes | Functions | Variables
sdf_hertz 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 = 10
 
float d = 0.1
 
int xc = 0
 
int yc = R
 
int zc = 0
 

Function Documentation

◆ grad_sdf()

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

Definition at line 14 of file sdf_hertz.py.

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

◆ hess_sdf()

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

Definition at line 17 of file sdf_hertz.py.

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

◆ sdf()

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

Definition at line 11 of file sdf_hertz.py.

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

Variable Documentation

◆ d

float sdf_hertz.d = 0.1

◆ R

int sdf_hertz.R = 10

Definition at line 4 of file sdf_hertz.py.

◆ xc

int sdf_hertz.xc = 0
Examples
level_set.cpp.

Definition at line 7 of file sdf_hertz.py.

◆ yc

int sdf_hertz.yc = R
Examples
level_set.cpp.

Definition at line 8 of file sdf_hertz.py.

◆ zc

int sdf_hertz.zc = 0
Examples
level_set.cpp.

Definition at line 9 of file sdf_hertz.py.

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