BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
corc.caps.CapGenerator Class Reference

Public Member Functions

 __init__ (self, shellgen, float inner_resolution, str workdir)
 build_cap_geo (self, path)
 mesh_cap (self)
 instantiate (self, builder, cap)

Public Attributes

 sg = shellgen
 w = shellgen.w
 inner_resolution = inner_resolution
 workdir = workdir

Protected Member Functions

 _interpret (self, meta, nodes, elements)

Constructor & Destructor Documentation

◆ __init__()

corc.caps.CapGenerator.__init__ ( self,
shellgen,
float inner_resolution,
str workdir )

Member Function Documentation

◆ _interpret()

corc.caps.CapGenerator._interpret ( self,
meta,
nodes,
elements )
protected
Snap boundary nodes to exact slot positions and classify every
cap node: ('ring', layer, slot) / ('dom', slot) / ('center',) /
('interior',). Returns dict with node arrays and tris per piece.

◆ build_cap_geo()

corc.caps.CapGenerator.build_cap_geo ( self,
path )
Write the planar cap .geo. Returns metadata needed to interpret
the mesh: ring slot positions and surface ids.

◆ instantiate()

corc.caps.CapGenerator.instantiate ( self,
builder,
cap )
Create front and back cap instances in the builder, wiring
boundary nodes to the strip ring ids. Returns nothing; fills
builder.cap_pairs, cap surface tags and builder.vertex_nodes.

◆ mesh_cap()

corc.caps.CapGenerator.mesh_cap ( self)

Member Data Documentation

◆ inner_resolution

corc.caps.CapGenerator.inner_resolution = inner_resolution

◆ sg

corc.caps.CapGenerator.sg = shellgen

◆ w

corc.caps.CapGenerator.w = shellgen.w

◆ workdir

corc.caps.CapGenerator.workdir = workdir

The documentation for this class was generated from the following file:
  • examples/corc_twolayer/python/corc/caps.py