Class SourceUniformBox

Inheritance Relationships

Base Type

Class Documentation

class SourceUniformBox : public SourceFeature

Uniform random source positions inside a box.

Public Functions

SourceUniformBox(Vector3d origin, Vector3d size)

Constructor

Parameters
  • origin: lower box corner
  • size: upper box corner

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