Class SourceDensityGrid1D

Inheritance Relationships

Base Type

Class Documentation

class SourceDensityGrid1D : public SourceFeature

Random source positions from a 1D density grid.

Public Functions

SourceDensityGrid1D(ref_ptr<Grid1f> densityGrid)
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