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

Function container_to_string

cpp/dolfinx/io/VTKFile.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52/// Convert a container to a std::stringstream
53template <typename T>
54std::stringstream container_to_string(const T& x, int precision)
55{
56 std::stringstream s;
57 s.precision(precision);
58 std::ranges::for_each(x, [&s](auto e) { s << e << " "; });
59 return s;
60}
61//----------------------------------------------------------------------------
62
63void add_pvtu_mesh(pugi::xml_node& node)

Callers 2

add_data_floatFunction · 0.85
add_meshFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected