diff --git a/dumux/io/pointcloudvtkwriter.hh b/dumux/io/pointcloudvtkwriter.hh index 767ca96ebd78b76d2efc50dd88b0d0425e97df0c..c008658e0a126745d75ad09c687d61c1fb5f6357 100644 --- a/dumux/io/pointcloudvtkwriter.hh +++ b/dumux/io/pointcloudvtkwriter.hh @@ -332,6 +332,8 @@ private: file << " 0 0 "; if(x.size() == 2) file << " 0 "; + if(x.size() == 3) + file << " "; // introduce a line break after a certain time if((++counter) > numBeforeLineBreak)