removed setenv passage in main.
This commit is contained in:
@@ -10,16 +10,6 @@
|
|||||||
#include "simulation.h"
|
#include "simulation.h"
|
||||||
|
|
||||||
int main(int argc, const char * argv[]) {
|
int main(int argc, const char * argv[]) {
|
||||||
|
|
||||||
if (getenv("poub") == NULL) {
|
|
||||||
char poub[]="poub=/Users/ChristianReiling/Documents/Masterarbeit/katrin-plasma/src/mc_electron";
|
|
||||||
putenv(poub);
|
|
||||||
}
|
|
||||||
if (getenv("pname") == NULL) {
|
|
||||||
char pname[]="pname=parameters";
|
|
||||||
putenv(pname);
|
|
||||||
}
|
|
||||||
|
|
||||||
Simulation SIM;
|
Simulation SIM;
|
||||||
SIM.init();
|
SIM.init();
|
||||||
SIM.doit();
|
SIM.doit();
|
||||||
|
|||||||
Reference in New Issue
Block a user