Bases: penelopetools.api.input.pengeom.usergeometry._UserGeometry
Creates a new Inclusion geometry. A Inclusion is defined by a half-sphere in the middle of a substrate. The surfaces and modules of the geometry are automatically generated when the build is called. The surfaces and modules arguments are therefore optional.
The default value for the depth is 3.0 cm. By default, no rotation and no shift is imposed on the geometry. By default, the diameter is automatically generated from the inclusion diameter.
Parameters: |
|
---|
Build the surfaces and modules of the geometry according to the information stored.
Creates a Inclusion from a XML element.
Parameters: | element – XML element |
---|
Diameter of the inclusion (cm). The diameter must be greater than zero. The value is stored in a magnitude.Magnitude.
Id of the material for the inclusion. The id shall correspond to the id of the material in Materials. The id must be positive.
Note
The inclusion material cannot be Vacuum
Id of the material for the substrate. The id shall correspond to the id of the material in Materials. The id must be positive.
Note
The substrate material cannot be Vacuum
Returns a HTML representation of this option.
Returns a XML representation of this geometry.
Bases: penelopetools.api.input.penelope.hook.Hook
Bases: penelopetools.api.input.pengeom.usergeometry.substrate.PhotonDetectorsHook
Creates default photon detectors for a Inclusion geometry. Hemispherical detectors with an opening of 2 to 20 degrees are created from a specified take-off angle.
Parameters: |
|
---|