Add child to group (its handle is not kept).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | intent(in) | :: | group |
the group, and a node to add to it |
||
| type(c_ptr), | intent(in) | :: | child |
the group, and a node to add to it |
subroutine add(group, child) type(c_ptr), intent(in) :: group, child !! the group, and a node to add to it if (.not. c_associated(child)) return call check_status(vkf_node_add_child(group, child), 'shapes') call vkf_node_delete(child) end subroutine add