Class SourceUniformSphere

Inheritance Relationships

Base Type

Class Documentation

class SourceUniformSphere : public SourceFeature

Uniform distribution of sources in a spherical volume.

Public Functions

SourceUniformSphere(Vector3d center, double radius)

Constructor

Parameters
  • center – vector containing the coordinates of the center of the sphere

  • radius – radius of the sphere

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