summaryrefslogtreecommitdiff
path: root/lib/core/c++/write_vtk.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-04-22 16:48:50 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-04-22 16:48:50 +0200
commit45ebf7411d687ab5530431ab1bcc74edb0499c69 (patch)
tree7e45e43e9152520d97f991d62dd86362c27cd054 /lib/core/c++/write_vtk.hpp
parente8193a747cac9cc71a6dec84e1f822214131388a (diff)
downloadlibs-lbm-45ebf7411d687ab5530431ab1bcc74edb0499c69.tar.gz
Working on equalizing poiseulle_particle channel methods
Diffstat (limited to 'lib/core/c++/write_vtk.hpp')
-rw-r--r--lib/core/c++/write_vtk.hpp4
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