MCPcopy Create free account
hub / github.com/Kitware/VTK / FillConduitNodeAssembly

Function FillConduitNodeAssembly

IO/CatalystConduit/vtkDataObjectToConduit.cxx:1078–1091  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1076
1077//----------------------------------------------------------------------------
1078void FillConduitNodeAssembly(vtkPartitionedDataSetCollection* pdc, conduit_cpp::Node& conduit_node)
1079{
1080 std::map<unsigned int, std::string> name_map;
1081 for (unsigned int pdsId = 0; pdsId < pdc->GetNumberOfPartitionedDataSets(); pdsId++)
1082 {
1083 name_map[pdsId] = ::GetPartitionedDSName(pdc, pdsId);
1084 }
1085
1086 if (auto assembly = pdc->GetDataAssembly())
1087 {
1088 auto assemblyNode = conduit_node["assembly"];
1089 ::FillAssembly(name_map, assembly->GetRootNode(), assembly, assemblyNode);
1090 }
1091}
1092
1093VTK_ABI_NAMESPACE_END
1094} // vtkDataObjectToConduit namespace

Callers 1

TestAssemblyFunction · 0.85

Calls 4

GetPartitionedDSNameFunction · 0.85
FillAssemblyFunction · 0.85
GetDataAssemblyMethod · 0.80

Tested by 1

TestAssemblyFunction · 0.68