Skip to content
Snippets Groups Projects
Commit 41a4f49e authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Removed default cell center from VTK mesh output

In case of bad mesh this prevented to plot the mesh itself...
parent 398b3f29
No related branches found
No related tags found
1 merge request!124Add files for high order integration with quadratures
......@@ -356,7 +356,6 @@ VTKWriter::_write(const std::shared_ptr<const MeshType>& mesh,
// Adding basic mesh information
output_named_item_data_set.add(NamedItemData{"cell_number", mesh->connectivity().cellNumber()});
output_named_item_data_set.add(NamedItemData{"node_number", mesh->connectivity().nodeNumber()});
output_named_item_data_set.add(NamedItemData{"cell_center", MeshDataManager::instance().getMeshData(*mesh).xj()});
if (parallel::rank() == 0) { // write PVTK file
std::ofstream fout(_getFilenamePVTU());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment