BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
test_pancake Namespace Reference

Classes

class  TestSpiral
class  _LeadCurve
class  TestLead
class  TestPancake

Functions

 fd (fun, s, h=1e-4)
 relerr (x, y)
 make_coil (sense=+1, ramp=8.0, release=6.0)
 jump (fun, s, h=1e-9)

Variables

 SCRATCH = os.environ.get("PANCAKE_SCRATCH", os.path.join(os.path.dirname(__file__), "_out"))

Detailed Description

Consistency checks for the pancake geometry (run: python -m unittest discover -s tests).

Function Documentation

◆ fd()

fd ( fun,
s,
h = 1e-4 )

◆ jump()

jump ( fun,
s,
h = 1e-9 )
Difference between the values just left and right of s (a jump if >> 2h |f'|).

◆ make_coil()

make_coil ( sense = +1,
ramp = 8.0,
release = 6.0 )

◆ relerr()

relerr ( x,
y )

Variable Documentation

◆ SCRATCH

test_pancake.SCRATCH = os.environ.get("PANCAKE_SCRATCH", os.path.join(os.path.dirname(__file__), "_out"))