Class SourceEmissionCone
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
Class Documentation
-
class SourceEmissionCone : public SourceFeature
Uniform emission within a cone.
Public Functions
-
SourceEmissionCone(Vector3d direction, double aperture)
Constructor
- Parameters:
direction – Vector3d corresponding to the cone axis
aperture – opening angle of the cone
-
virtual void prepareParticle(ParticleState &particle) const
-
void setDirection(Vector3d direction)
- Parameters:
direction – Vector3d corresponding to the cone axis
-
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
-
SourceEmissionCone(Vector3d direction, double aperture)