Major update:
1. Added precalculation of integral values in thermal regime. 2. Minor Changes in Injection of \beta-electrons and ions.
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#define katrin_fields_hpp
|
||||
|
||||
#include "error_types.h"
|
||||
#include "katrin_geo.h"
|
||||
#include "read_system.h"
|
||||
#include "vec3_container.hpp"
|
||||
|
||||
@@ -23,20 +22,10 @@ public:
|
||||
Katrin_Fields() {};
|
||||
|
||||
static vec3 getMagField_T(vec3 loc_m) {
|
||||
if (!in_Katrin(loc_m)) {
|
||||
std::stringstream ss;
|
||||
ss<<"Katrin_Fields::getMagField_T: loc_m outside of Katrin.\n";
|
||||
throw MyException(ss.str());
|
||||
}
|
||||
return vec3(0,0,wgtsMagField_T);
|
||||
}
|
||||
|
||||
static vec3 getElField_Vm(vec3 loc_m) {
|
||||
if (!in_Katrin(loc_m)) {
|
||||
std::stringstream ss;
|
||||
ss<<"Katrin_Fields::getElField_Vm: loc_m outside of Katrin.\n";
|
||||
throw MyException(ss.str());
|
||||
}
|
||||
return e_field.get_data (loc_m);
|
||||
//return vec3(0,0,0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user