MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / get_attribute_names

Method get_attribute_names

src/IO/MSHParser.cpp:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53MSHParser::AttrNames MSHParser::get_attribute_names() const {
54 MSHParser::AttrNames attr_names;
55 MshLoader::FieldNames node_names = m_loader->get_node_field_names();
56 MshLoader::FieldNames elem_names = m_loader->get_element_field_names();
57 attr_names.insert(attr_names.end(), node_names.begin(), node_names.end());
58 attr_names.insert(attr_names.end(), elem_names.begin(), elem_names.end());
59 return attr_names;
60}
61
62size_t MSHParser::get_attribute_size(const std::string& name) const {
63 const VectorF& attribute = get_attribute(name);

Callers

nothing calls this directly

Calls 5

get_node_field_namesMethod · 0.80
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected