Program Listing for File PhotonPropagation.h

Return to documentation for file (include/crpropa/PhotonPropagation.h)

#ifndef CRPROPA_PHOTON_PROPAGATION_H
#define CRPROPA_PHOTON_PROPAGATION_H

#include <string>
#include <vector>

namespace crpropa {

void ElecaPropagation(
        const std::string &inputfile,
        const std::string &outputfile,
        bool showProgress = true,
        double lowerEnergyThreshold = 0.8010882435,
        double magneticFieldStrength = 1E-13,
        const std::string &background = "ALL"
        );

void DintPropagation(
        const std::string &inputfile,
        const std::string &outputfile,
        int IRFlag = 4,
        int RadioFlag = 4,
        double magneticFieldStrength = 1E-13,
        double aCutcascade_Magfield = 0
        );

void DintElecaPropagation(
        const std::string &inputfile,
        const std::string &outputfile,
        bool showProgress = true,
        double crossOverEnergy = 0.08010882435,
        double magneticFieldStrength = 1E-13,
        double aCutcascade_Magfield = 0
        );

} // namespace crpropa

#endif // CRPROPA_PHOTON_PROPAGATION_H