mirror of
https://git.gfz-potsdam.de/naaice/tug.git
synced 2025-12-13 09:28:23 +01:00
bug fixes
This commit is contained in:
parent
9e200305ff
commit
8215a1238d
@ -17,7 +17,7 @@ enum CSV_OUTPUT {
|
|||||||
|
|
||||||
enum CONSOLE_OUTPUT {
|
enum CONSOLE_OUTPUT {
|
||||||
CONSOLE_OUTPUT_OFF, // do not print any output to console
|
CONSOLE_OUTPUT_OFF, // do not print any output to console
|
||||||
CONSOLE_OUTPUT_ON, // print before concentrations to console
|
CONSOLE_OUTPUT_ON, // print before and after concentrations to console
|
||||||
CONSOLE_OUTPUT_VERBOSE // print all concentration matrices to console
|
CONSOLE_OUTPUT_VERBOSE // print all concentration matrices to console
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -136,7 +136,6 @@ void Simulation::run() {
|
|||||||
}
|
}
|
||||||
if (this->csv_output > CSV_OUTPUT_OFF) {
|
if (this->csv_output > CSV_OUTPUT_OFF) {
|
||||||
filename = createCSVfile();
|
filename = createCSVfile();
|
||||||
printConcentrationsCSV(filename);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (approach == FTCS_APPROACH) {
|
if (approach == FTCS_APPROACH) {
|
||||||
@ -145,7 +144,7 @@ void Simulation::run() {
|
|||||||
if (console_output == CONSOLE_OUTPUT_VERBOSE && i > 0) {
|
if (console_output == CONSOLE_OUTPUT_VERBOSE && i > 0) {
|
||||||
printConcentrationsConsole();
|
printConcentrationsConsole();
|
||||||
}
|
}
|
||||||
if (csv_output == CSV_OUTPUT_VERBOSE && i > 0) {
|
if (csv_output == CSV_OUTPUT_VERBOSE) {
|
||||||
printConcentrationsCSV(filename);
|
printConcentrationsCSV(filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user