Class SourceUniformBox

Inheritance Relationships

Base Type

Class Documentation

class SourceUniformBox : public SourceFeature

Uniform random source positions inside a box. The box is aligned with the coordinate axes.

Public Functions

SourceUniformBox(Vector3d origin, Vector3d size)

Constructor

Parameters:
  • origin – vector corresponding to the lower box corner

  • size – vector corresponding to the box sizes along each direction

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