Version 2, position dependent E/B, kinetic ions, boris mover, terminator
This commit is contained in:
Executable
+49
@@ -0,0 +1,49 @@
|
||||
#ifndef INTERACTION_GENERATOR_H
|
||||
#define INTERACTION_GENERATOR_H
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include "simulation/jansson_additionals.h"
|
||||
#include "simulation/parameter.h"
|
||||
#include "simulation/scattering_angle_distribution.h"
|
||||
#include "simulation/species.h"
|
||||
|
||||
namespace generator {
|
||||
|
||||
void addInteractions(
|
||||
std::shared_ptr<species::TrackedSpecie> specie,
|
||||
std::map<std::string, std::shared_ptr<species::TrackedSpecie>>&
|
||||
tracked_species,
|
||||
std::map<std::string, std::shared_ptr<species::BackgroundSpecie>>&
|
||||
background_species,
|
||||
Parameter& parameter,
|
||||
json_path& path_to_interactions);
|
||||
|
||||
std::function<double(double)> buildTotalCrossSection(json_t* object);
|
||||
|
||||
std::function<double(double, double)> build2DCrossSection(json_t* object);
|
||||
|
||||
std::shared_ptr<ScatteringAngleDistribution> buildScatteringAngleDistribution(
|
||||
json_t* object);
|
||||
|
||||
double buildExcitationEnergy(std::string excitation_state);
|
||||
std::function<double(double)> buildExcitationCrossSection(
|
||||
std::string excitation_state);
|
||||
|
||||
std::shared_ptr<species::Specie> findTarget(
|
||||
std::string& target_name,
|
||||
std::map<std::string, std::shared_ptr<species::TrackedSpecie>>&
|
||||
tracked_species,
|
||||
std::map<std::string, std::shared_ptr<species::BackgroundSpecie>>&
|
||||
background_species);
|
||||
|
||||
std::shared_ptr<species::TrackedSpecie> findTracked(
|
||||
std::string& target_name,
|
||||
std::map<std::string, std::shared_ptr<species::TrackedSpecie>>&
|
||||
tracked_species);
|
||||
|
||||
}; // namespace generator
|
||||
|
||||
#endif /* INTERACTION_GENERATOR_H */
|
||||
Reference in New Issue
Block a user