Delete molecular structure data
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | intent(inout) | :: | vmol |
subroutine delete_structure_api(vmol) & & bind(C, name=namespace//"delete_structure") type(c_ptr), intent(inout) :: vmol type(vp_structure), pointer :: mol if (c_associated(vmol)) then call c_f_pointer(vmol, mol) deallocate(mol) vmol = c_null_ptr end if end subroutine delete_structure_api