scippneutron.absorption.cylinder.Cylinder#

class scippneutron.absorption.cylinder.Cylinder(symmetry_line, center_of_base, radius, height)[source]#
__init__(symmetry_line, center_of_base, radius, height)#

Methods

__init__(symmetry_line, center_of_base, ...)

beam_intersection(start_point, direction)

Length of intersection between beam and cylinder

quadrature(kind)

Returns quadrature points and weights of the cylinder.

Attributes

center

volume

Volume of the shape

symmetry_line

center_of_base

radius

height

beam_intersection(start_point, direction)[source]#

Length of intersection between beam and cylinder

Return type:

Variable

quadrature(kind)[source]#

Returns quadrature points and weights of the cylinder.

Return type:

tuple[Variable, Variable]

property volume: Variable#

Volume of the shape