BELFEM 0.9.3
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
rutherford.stadium.Stadium Class Reference

Public Member Functions

 __init__ (self, float ws, float r)
 points (self, s)
 point (self, float s)
 normals (self, s)
 distance (self, x, y)

Public Attributes

 ws = ws
 r = r
float width = ws + 2.0 * r
float perimeter = 2.0 * ws + 2.0 * math.pi * r
float s_b = 0.5 * ws
float s_c = 0.5 * ws + math.pi * r
float s_d = 1.5 * ws + math.pi * r
float s_e = 1.5 * ws + 2.0 * math.pi * r

Constructor & Destructor Documentation

◆ __init__()

rutherford.stadium.Stadium.__init__ ( self,
float ws,
float r )

Member Function Documentation

◆ distance()

rutherford.stadium.Stadium.distance ( self,
x,
y )
Signed distance of (x, y) (arrays) to the perimeter: negative
inside, zero on the curve.

◆ normals()

rutherford.stadium.Stadium.normals ( self,
s )
Outward unit normals at arc length s (array).

◆ point()

rutherford.stadium.Stadium.point ( self,
float s )

◆ points()

rutherford.stadium.Stadium.points ( self,
s )
(x, y) of the perimeter points at arc length s (array), taken
modulo the perimeter.

Member Data Documentation

◆ perimeter

float rutherford.stadium.Stadium.perimeter = 2.0 * ws + 2.0 * math.pi * r

◆ r

rutherford.stadium.Stadium.r = r

◆ s_b

float rutherford.stadium.Stadium.s_b = 0.5 * ws

◆ s_c

float rutherford.stadium.Stadium.s_c = 0.5 * ws + math.pi * r

◆ s_d

float rutherford.stadium.Stadium.s_d = 1.5 * ws + math.pi * r

◆ s_e

float rutherford.stadium.Stadium.s_e = 1.5 * ws + 2.0 * math.pi * r

◆ width

float rutherford.stadium.Stadium.width = ws + 2.0 * r

◆ ws

rutherford.stadium.Stadium.ws = ws

The documentation for this class was generated from the following file:
  • examples/rutherford/python/rutherford/stadium.py