File indexing completed on 2025-02-22 10:31:19
0001
0002
0003
0004
0005
0006
0007
0008 #pragma once
0009
0010 #include <memory>
0011
0012 #include "celeritas/em/data/CoulombScatteringData.hh"
0013 #include "celeritas/em/model/CoulombScatteringModel.hh"
0014 #include "celeritas/io/ImportParameters.hh"
0015 #include "celeritas/mat/MaterialParams.hh"
0016 #include "celeritas/phys/Applicability.hh"
0017 #include "celeritas/phys/ImportedProcessAdapter.hh"
0018 #include "celeritas/phys/Process.hh"
0019
0020 namespace celeritas
0021 {
0022
0023
0024
0025
0026 class CoulombScatteringProcess : public Process
0027 {
0028 public:
0029
0030
0031 using SPConstParticles = std::shared_ptr<ParticleParams const>;
0032 using SPConstMaterials = std::shared_ptr<MaterialParams const>;
0033 using SPConstImported = std::shared_ptr<ImportedProcesses const>;
0034
0035
0036 struct Options
0037 {
0038
0039 bool use_integral_xs{true};
0040 };
0041
0042 public:
0043
0044 CoulombScatteringProcess(SPConstParticles particles,
0045 SPConstMaterials materials,
0046 SPConstImported process_data,
0047 Options const& options);
0048
0049
0050 VecModel build_models(ActionIdIter start_id) const final;
0051
0052
0053 StepLimitBuilders step_limits(Applicability range) const final;
0054
0055
0056 bool use_integral_xs() const final;
0057
0058
0059 std::string_view label() const final;
0060
0061 private:
0062 SPConstParticles particles_;
0063 SPConstMaterials materials_;
0064 ImportedProcessAdapter imported_;
0065 Options options_;
0066 };
0067
0068
0069 }