Class SourceDirection
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
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()
-
std::string getDescription() const
-
inline size_t addReference() const
-
inline size_t removeReference() const
-
inline int removeReferenceNoDelete() const
-
inline size_t getReferenceCount() const
-
SourceDirection(Vector3d direction = Vector3d(-1, 0, 0))