From 996916a493fb55437208e50a3a9fda7c04423747 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 9 Sep 2018 12:15:07 +0200 Subject: Extract result path generation --- boltz.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'boltz.cc') diff --git a/boltz.cc b/boltz.cc index 6f8788e..092814e 100644 --- a/boltz.cc +++ b/boltz.cc @@ -1,5 +1,6 @@ #include #include +#include #include #include "lbm.h" @@ -106,7 +107,7 @@ int main() { if ( t % 100 == 0 ) { std::cout << "."; std::cout.flush(); - fluid.writeAsVTK(t); + fluid.writeAsVTK("result/data_t" + std::to_string(t) + ".vtk"); } } -- cgit v1.2.3