Files
katrin-plasma/src/mc_electron/asci_logger.hpp
T
Christian 79bf420f8d Major changes:
- Added individul operators for species and better selecting process.
- Switched to C arrays for main loop operations and calculating array indizes using knowledge of binning instead of doing sorted search
- Added Recombination
- Reworked elastic scattering kinematics
- Added inelastic scattering kinematics
2019-05-27 13:51:32 +02:00

42 lines
676 B
C++

//
// asci_logger.hpp
// mc_electron
//
// Created by Christian Reiling on 06.05.19.
// Copyright © 2019 Christian Reiling. All rights reserved.
//
#ifndef asci_logger_hpp
#define asci_logger_hpp
#include <vector>
#include "particle.hpp"
#include "read_system.h"
class ASCI_Logger {
static const int numberZBins;
bool logging;
std::vector<double> zLogValues;
std::string outdirName;
std::ofstream *outStream;
public:
ASCI_Logger();
private:
void set_zLogValues();
void print_logInfo();
void set_outdirName();
void create_outdir();
void set_outStream();
public:
void log_Particle(Particle *inPart , vec3 oldLoc_m);
};
#endif /* asci_logger_hpp */