Added blitz
This commit is contained in:
@@ -1,37 +1,63 @@
|
||||
#ifndef SIMULATION_H
|
||||
#define SIMULATION_H
|
||||
//
|
||||
// simulation.h
|
||||
//
|
||||
//
|
||||
// Created by Christian Reiling on 13.09.18.
|
||||
//
|
||||
|
||||
#ifndef simulation_h
|
||||
#define simulation_h
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include "blitz/array.h"
|
||||
#include "blitz/tinyvec2.h"
|
||||
#include <math.h>
|
||||
#include <random/uniform.h>
|
||||
|
||||
#include "particle.h"
|
||||
#include "parameter.h"
|
||||
#include "katrin.h"
|
||||
|
||||
using namespace blitz;
|
||||
|
||||
using namespace std;
|
||||
using namespace ranlib;
|
||||
|
||||
|
||||
class Simulation: public Parameter
|
||||
{
|
||||
public:
|
||||
|
||||
Simulation();
|
||||
~Simulation(){};
|
||||
|
||||
~Simulation(){};
|
||||
Simulation()
|
||||
{
|
||||
injectedparticles = 0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
void init(void);
|
||||
void inject();
|
||||
|
||||
void doit(void);
|
||||
void inject();
|
||||
void move(particle inputparticle, double mfp);
|
||||
void output(void);
|
||||
|
||||
void output(void);
|
||||
|
||||
void doit(void);
|
||||
|
||||
|
||||
double calctotalcross(particle inputparticle){return 0;};
|
||||
|
||||
protected:
|
||||
|
||||
double zeit;
|
||||
double id;
|
||||
int zeitschritt;
|
||||
katrin KAT;
|
||||
|
||||
|
||||
double zeit;
|
||||
int zeitschritt;
|
||||
double id;
|
||||
|
||||
vector<particle> teilchenliste;
|
||||
int injectedparticles;
|
||||
vector<particle>::iterator teilcheniterator;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user