Update VTK output format
This commit is contained in:
@@ -69,8 +69,7 @@ void vtkScalar(VtkOptions* o, char* name, double* s)
|
||||
printf("vtkWriter not initialize! Call vtkOpen first!\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
fprintf(o->fh, "SCALARS %s float 1\n", name);
|
||||
fprintf(o->fh, "LOOKUP_TABLE default\n");
|
||||
fprintf(o->fh, "SCALARS %s float\n", name);
|
||||
|
||||
for (int k = 0; k < kmax; k++) {
|
||||
for (int j = 0; j < jmax; j++) {
|
||||
|
Reference in New Issue
Block a user