Skip to content

Commit 21c934d

Browse files
committed
FEAT: make an output file for test results
1 parent 7bde45e commit 21c934d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/output.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ std::string get_filename_from_type(std::string type_output) {
4141
if (type_output == "therm")
4242
filename = "3DTH";
4343

44+
if (type_output == "test")
45+
filename = "3DTE";
46+
4447
return filename;
4548

4649
}
@@ -153,7 +156,6 @@ bool output(const Neutrals &neutrals,
153156
store_variable("density_" + neutrals.species[iSpecies].cName,
154157
neutrals.density_unit,
155158
neutrals.species[iSpecies].density_scgc);
156-
157159
// Neutral Temperature:
158160
if (type_output == "neutrals" ||
159161
type_output == "states")
@@ -322,6 +324,13 @@ bool output(const Neutrals &neutrals,
322324
grid.cent_acc_vcgc[2]);
323325
}
324326

327+
// Neutral Temperature:
328+
if (type_output == "test")
329+
AllOutputContainers[iOutput].
330+
store_variable("test_grid",
331+
"none",
332+
grid.test_scgc);
333+
325334
// ------------------------------------------------------------
326335
// Set output file names
327336

0 commit comments

Comments
 (0)