Class SourceUniformCylinder
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
Class Documentation
-
class SourceUniformCylinder : public SourceFeature
Uniform distribution of source positions inside the volume of a cylinder whose axis is along the z-axis.
The circle of the cylinder lays in the xy-plane and the height is along the z-axis.
Public Functions
-
SourceUniformCylinder(Vector3d origin, double height, double radius)
Constructor
- Parameters:
origin – vector corresponding to the center of the cylinder axis
height – height of the cylinder, half lays over the origin, half is lower
radius – radius of the cylinder
-
virtual void prepareParticle(ParticleState &particle) const
-
void setDescription()
-
std::string getDescription() const
-
inline size_t addReference() const
-
inline size_t removeReference() const
-
inline int removeReferenceNoDelete() const
-
inline size_t getReferenceCount() const
-
SourceUniformCylinder(Vector3d origin, double height, double radius)