mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Adding get_child_nodes function to C++ xml_interface.
This commit is contained in:
parent
7b93499d11
commit
2bffc33452
2 changed files with 23 additions and 0 deletions
|
|
@ -50,5 +50,12 @@ xt::xarray<T> get_node_xarray(pugi::xml_node node, const char* name,
|
|||
return xt::adapt(v, shape);
|
||||
}
|
||||
|
||||
//===============================================================================
|
||||
// GET_NODE_LIST is used to get a pointer to a list of sub-element nodes
|
||||
//===============================================================================
|
||||
|
||||
std::vector<pugi::xml_node>
|
||||
get_child_nodes(pugi::xml_node node, const char* name);
|
||||
|
||||
} // namespace openmc
|
||||
#endif // OPENMC_XML_INTERFACE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue