diff options
author | Adrian Kummerlaender | 2018-09-09 12:15:07 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-09-09 12:15:07 +0200 |
commit | 996916a493fb55437208e50a3a9fda7c04423747 (patch) | |
tree | d9fd3037172825123dbfc364bb4a9f42a7a66a98 /boltz.cc | |
parent | acdba1d0ba0de53df326956352ff09bea2b80c6a (diff) | |
download | boltzbub-996916a493fb55437208e50a3a9fda7c04423747.tar boltzbub-996916a493fb55437208e50a3a9fda7c04423747.tar.gz boltzbub-996916a493fb55437208e50a3a9fda7c04423747.tar.bz2 boltzbub-996916a493fb55437208e50a3a9fda7c04423747.tar.lz boltzbub-996916a493fb55437208e50a3a9fda7c04423747.tar.xz boltzbub-996916a493fb55437208e50a3a9fda7c04423747.tar.zst boltzbub-996916a493fb55437208e50a3a9fda7c04423747.zip |
Extract result path generation
Diffstat (limited to 'boltz.cc')
-rw-r--r-- | boltz.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ #include <iostream> #include <vector> +#include <string> #include <algorithm> #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"); } } |