--- /dev/null
+Removed: The deprecated overload of XDMFEntry::get_xdmf_content()
+has been removed.
+<br>
+(Daniel Arndt, 2022/06/27)
&num_cells &dimension &space_dimension &attribute_dims;
}
- /**
- * Get the XDMF content associated with this entry.
- * If the entry is not valid, this returns an empty string.
- *
- * @deprecated Use the overload taking an `unsigned int` and a
- * `const ReferenceCell &` instead.
- */
- DEAL_II_DEPRECATED
- std::string
- get_xdmf_content(const unsigned int indent_level) const;
-
/**
* Get the XDMF content associated with this entry.
* If the entry is not valid, this returns an empty string.
-std::string
-XDMFEntry::get_xdmf_content(const unsigned int indent_level) const
-{
- switch (dimension)
- {
- case 0:
- return get_xdmf_content(indent_level,
- ReferenceCells::get_hypercube<0>());
- case 1:
- return get_xdmf_content(indent_level,
- ReferenceCells::get_hypercube<1>());
- case 2:
- return get_xdmf_content(indent_level,
- ReferenceCells::get_hypercube<2>());
- case 3:
- return get_xdmf_content(indent_level,
- ReferenceCells::get_hypercube<3>());
- default:
- Assert(false, ExcNotImplemented());
- }
-
- return "";
-}
-
-
-
std::string
XDMFEntry::get_xdmf_content(const unsigned int indent_level,
const ReferenceCell &reference_cell) const
<< " <Grid Name=\"CellTime\" GridType=\"Collection\" CollectionType=\"Temporal\">\n";
// Write out the entry
- xdmf_file << entry.get_xdmf_content(3);
+ xdmf_file << entry.get_xdmf_content(3, ReferenceCells::get_hypercube<dim>());
xdmf_file << " </Grid>\n";
xdmf_file << " </Domain>\n";
<< " <Grid Name=\"CellTime\" GridType=\"Collection\" CollectionType=\"Temporal\">\n";
// Write out the entry
- xdmf_file << entry.get_xdmf_content(3);
+ xdmf_file << entry.get_xdmf_content(3, ReferenceCells::get_hypercube<dim>());
xdmf_file << " </Grid>\n";
xdmf_file << " </Domain>\n";
deallog << "XDMFEntry before serialization: " << std::endl
<< std::endl
- << entry1.get_xdmf_content(0) << std::endl;
+ << entry1.get_xdmf_content(0, ReferenceCells::get_hypercube<dim>())
+ << std::endl;
deallog << "XDMFEntry after de-serialization: " << std::endl
<< std::endl
- << entry2.get_xdmf_content(0) << std::endl;
+ << entry2.get_xdmf_content(0, ReferenceCells::get_hypercube<dim>())
+ << std::endl;
}