Skip to content

Class rayx::SimpleUndulatorSource

ClassList > rayx > SimpleUndulatorSource

Inherits the following classes: rayx::LightSourceBase

Public Functions

Type Name
SimpleUndulatorSource (const DesignSource &)
RAYX_FN_ACC detail::Ray genRay (const int rayPathIndex, const int sourceId, const EnergyDistributionDataVariant &__restrict energyDistribution, Rand &__restrict rand) const
RAYX_FN_ACC double getCoord (const double extent, Rand &__restrict rand) const

Protected Attributes inherited from rayx::LightSourceBase

See rayx::LightSourceBase

Type Name
int32_t m_numberOfRays

Protected Functions inherited from rayx::LightSourceBase

See rayx::LightSourceBase

Type Name
LightSourceBase (const DesignSource &)

Protected Static Functions inherited from rayx::LightSourceBase

See rayx::LightSourceBase

Type Name
RAYX_FN_ACC glm::dvec3 getDirectionFromAngles (double phi, double psi)

Public Functions Documentation

function SimpleUndulatorSource

rayx::SimpleUndulatorSource::SimpleUndulatorSource (
    const DesignSource &
) 

function genRay

RAYX_FN_ACC detail::Ray rayx::SimpleUndulatorSource::genRay (
    const int rayPathIndex,
    const int sourceId,
    const EnergyDistributionDataVariant &__restrict energyDistribution,
    Rand &__restrict rand
) const

function getCoord

RAYX_FN_ACC double rayx::SimpleUndulatorSource::getCoord (
    const double extent,
    Rand &__restrict rand
) const


The documentation for this class was generated from the following file Intern/rayx-core/src/Shader/LightSources/SimpleUndulatorSource.h