diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-04-22 16:49:30 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-04-22 16:49:30 +0200 |
| commit | 1aee54ea763a19590f4aa41f991cef8f91cf6a93 (patch) | |
| tree | 7e45e43e9152520d97f991d62dd86362c27cd054 /lib/core/c++/write_vtk.hpp | |
| parent | 0f0af5c3e095637c7ede1c8dc20b248a3471dc3a (diff) | |
| parent | 45ebf7411d687ab5530431ab1bcc74edb0499c69 (diff) | |
| download | libs-lbm-1aee54ea763a19590f4aa41f991cef8f91cf6a93.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'lib/core/c++/write_vtk.hpp')
| -rw-r--r-- | lib/core/c++/write_vtk.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/core/c++/write_vtk.hpp b/lib/core/c++/write_vtk.hpp index f925361..e852172 100644 --- a/lib/core/c++/write_vtk.hpp +++ b/lib/core/c++/write_vtk.hpp @@ -136,7 +136,7 @@ struct lbm_vtk_writer<sch::Vector<T,D>> { template<typename T> struct lbm_vtk_writer<sch::Scalar<T>> { static saw::error_or<void> apply_header(std::ostream& vtk_file, std::string_view name){ - vtk_file<<"SCALARS "<<name<<" float\n"; + vtk_file<<"SCALARS "<<name<<" float 1\n"; vtk_file<<"LOOKUP_TABLE default\n"; return saw::make_void(); } @@ -206,7 +206,7 @@ struct lbm_vtk_writer<sch::Struct<sch::Member<sch::Chunk<MemberT,Ghost,Dims...>, if constexpr (sizeof...(MemberT) > 0u){ // POINT DATA { - vtk_file << "POINT_DATA " << pd_size.get() <<"\n"; + vtk_file << "\nPOINT_DATA " << pd_size.get() <<"\n"; } // HEADER TO BODY |
