Delete damping parameters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | intent(inout) | :: | vparam |
subroutine delete_param_api(vparam) & & bind(C, name=namespace//"delete_param") !DEC$ ATTRIBUTES DLLEXPORT :: delete_param_api type(c_ptr), intent(inout) :: vparam type(vp_param), pointer :: param if (debug) print'("[Info]",1x, a)', "delete_param" if (c_associated(vparam)) then call c_f_pointer(vparam, param) deallocate(param) vparam = c_null_ptr end if end subroutine delete_param_api