<ol>
+<li> Fixed: writing vtu output when no ZLIB is found.
+<br>
+(Timo Heister, 2012/01/03)
+
<li> Improved: <code>PETScWrappers::SolverXXX</code> class was
restricted to using default solver options for the KSP only. It is now
possible to override those by using PETSc command-line options
<< ascii_or_binary << "\">\n";
{
+ // uint8_t might be a typedef to unsigned
+ // char which is then not printed as
+ // ascii integers
+#ifdef HAVE_LIBZ
+ std::vector<uint8_t> cell_types (n_cells,
+ static_cast<uint8_t>(vtk_cell_type[dim]));
+#else
+ std::vector<unsigned int> cell_types (n_cells,
+ vtk_cell_type[dim]);
+#endif
// this should compress well :-)
- std::vector<uint8_t> cell_types (n_cells, vtk_cell_type[dim]);
vtu_out << cell_types;
}
out << "\n";
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams