Finished DCS_Ionization Container.
Removed Energy Cut off for T2+ Ions. Tested Population loggers.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#ifndef tcs_container_hpp
|
||||
#define tcs_container_hpp
|
||||
|
||||
#include "logScale.h"
|
||||
#include "log_scale.h"
|
||||
#include "edge_container.h"
|
||||
|
||||
#include <string>
|
||||
@@ -20,19 +20,14 @@ class TCS_Container {
|
||||
Log_Scale E_scale;
|
||||
|
||||
public:
|
||||
~TCS_Container() {
|
||||
delete[] data;
|
||||
};
|
||||
TCS_Container(double E_min_eV, double E_max_eV, int number_bins, std::string load_path) {
|
||||
E_scale = Log_Scale(E_min_eV, E_max_eV, number_bins);
|
||||
calc_data(load_path); //calc, whereas, load_path contains point with exact values for cross section.
|
||||
}
|
||||
TCS_Container(double E_min_eV, double E_max_eV, int number_bins, std::string load_path);
|
||||
~TCS_Container();
|
||||
TCS_Container(const TCS_Container& other);
|
||||
TCS_Container& operator=(const TCS_Container& other);
|
||||
|
||||
double get_value(double E_eV);
|
||||
|
||||
private:
|
||||
void calc_data(const std::string &load_path);
|
||||
double calc_bin_value(const int &bin, Edge_Container<dim1Map> *E1D);
|
||||
};
|
||||
|
||||
#endif /* tcs_container_hpp */
|
||||
|
||||
Reference in New Issue
Block a user