Class SourceUniformCylinder

Inheritance Relationships

Base Type

Class Documentation

class SourceUniformCylinder : public SourceFeature

Uniform random source positions inside a Cylinder.

Public Functions

SourceUniformCylinder(Vector3d origin, double height, double radius)


  • origin: lower middle of cylinder
  • height: height of the cylinder
  • radius: radius of the cylinder

void prepareParticle(ParticleState &particle) const
void setDescription()
void prepareCandidate(Candidate &candidate) const
std::string getDescription() const
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

std::string description
size_t _referenceCount