Class SourceUniformCylinder

Inheritance Relationships

Base Type

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()
virtual void prepareCandidate(Candidate &candidate) const
std::string getDescription() const
inline size_t addReference() const
inline size_t removeReference() const
inline int removeReferenceNoDelete() const
inline size_t getReferenceCount() const

Protected Attributes

std::string description
mutable size_t _referenceCount