MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / VTKFile

Method VTKFile

cpp/dolfinx/io/VTKFile.cpp:709–719  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

707
708//----------------------------------------------------------------------------
709io::VTKFile::VTKFile(MPI_Comm comm, const std::filesystem::path& filename,
710 const std::string&)
711 : _filename(filename), _comm(comm)
712{
713 _pvd_xml = std::make_unique<pugi::xml_document>();
714 assert(_pvd_xml);
715 pugi::xml_node vtk_node = _pvd_xml->append_child("VTKFile");
716 vtk_node.append_attribute("type") = "Collection";
717 vtk_node.append_attribute("version") = "1.0";
718 vtk_node.append_child("Collection");
719}
720//----------------------------------------------------------------------------
721io::VTKFile::~VTKFile()
722{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected