Class SourceDirection

Inheritance Relationships

Base Type

Class Documentation

class SourceDirection : public SourceFeature

Collimated emission along a specific direction.

Public Functions

SourceDirection(Vector3d direction = Vector3d(-1, 0, 0))

Constructor

Parameters:

direction – Vector3d corresponding to the direction of emission

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