1. Added precalculation of integral values in thermal regime. 2. Minor Changes in Injection of \beta-electrons and ions.
37 lines
635 B
C++
37 lines
635 B
C++
//
|
|
// katrin_fields.hpp
|
|
// mc_electron
|
|
//
|
|
// Created by Christian Reiling on 03.05.19.
|
|
// Copyright © 2019 Christian Reiling. All rights reserved.
|
|
//
|
|
|
|
#ifndef katrin_fields_hpp
|
|
#define katrin_fields_hpp
|
|
|
|
#include "error_types.h"
|
|
#include "read_system.h"
|
|
#include "vec3_container.hpp"
|
|
|
|
|
|
class Katrin_Fields {
|
|
static const double wgtsMagField_T;
|
|
static Vec3_Container e_field;
|
|
|
|
public:
|
|
Katrin_Fields() {};
|
|
|
|
static vec3 getMagField_T(vec3 loc_m) {
|
|
return vec3(0,0,wgtsMagField_T);
|
|
}
|
|
|
|
static vec3 getElField_Vm(vec3 loc_m) {
|
|
return e_field.get_data (loc_m);
|
|
//return vec3(0,0,0);
|
|
}
|
|
|
|
};
|
|
|
|
|
|
#endif /* katrin_fields_hpp */
|