36 lines
777 B
C++
36 lines
777 B
C++
//
|
|
// size_container.hpp
|
|
// mc_electron
|
|
//
|
|
// Created by Christian Reiling on 27.05.19.
|
|
// Copyright © 2019 Christian Reiling. All rights reserved.
|
|
//
|
|
|
|
#ifndef size_container_hpp
|
|
#define size_container_hpp
|
|
|
|
#include "lin_scale.h"
|
|
#include "katrin_geo.h"
|
|
|
|
|
|
class Size_Container {
|
|
double *data;
|
|
Lin_Scale r_scale;
|
|
double cell_length_m;
|
|
|
|
public:
|
|
|
|
//Size_Container() {};
|
|
Size_Container(int num_z_bins, int num_r_bins, int num_phi_bins);
|
|
~Size_Container();
|
|
Size_Container(const Size_Container& other);
|
|
Size_Container& operator=(const Size_Container& other);
|
|
|
|
double calc_disc_surface_m2 (const int &r_bin);
|
|
double get_cell_volume_m3(const double &r_m);
|
|
double get_cell_volume_m3(const vec3 &loc_m);
|
|
double get_cell_length_m();
|
|
};
|
|
|
|
#endif /* size_container_hpp */
|