Class SourceUniformHollowSphere

Inheritance Relationships

Base Type

Class Documentation

class SourceUniformHollowSphere : public SourceFeature

Uniform distribution of sources between two spheres.

Public Functions

SourceUniformHollowSphere(Vector3d center, double radius_inner, double radius_outer)


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

  • radius_inner – radius of the inner sphere

  • radius_outer – radius of the outer 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