pub unsafe fn cuestOEIntPlanCreateWorkspaceQuery(
handle: cuestHandle_t,
basis: cuestAOBasis_t,
pairList: cuestAOPairList_t,
parameters: cuestOEIntPlanParameters_t,
persistentWorkspaceDescriptor: *mut cuestWorkspaceDescriptor_t,
temporaryWorkspaceDescriptor: *mut cuestWorkspaceDescriptor_t,
outPlan: *mut cuestOEIntPlan_t,
) -> cuestStatus_tExpand description
@brief Query workspace requirements for creating a one-electron integral plan. @ingroup OneElectronIntegralPlan
Determines persistent and temporary buffer sizes by simulating allocation logic. All handles and pointers must be valid (not NULL).
@param[in] handle cuEST handle. Must not be NULL. @param[in] basis AO basis set handle. Must not be NULL. @param[in] pairList AO pair list handle. Must not be NULL. @param[in] parameters Plan parameters handle. Must not be NULL. @param[out] persistentWorkspaceDescriptor Output descriptor for persistent buffer sizing. Must not be NULL. @param[out] temporaryWorkspaceDescriptor Output descriptor for temporary buffer sizing. Must not be NULL. @param outPlan Output pointer for integral plan handle. May be NULL.
@return
- \c CUEST_STATUS_SUCCESS on success;
- \c CUEST_STATUS_INVALID_HANDLE if the cuEST handle is NULL;
- \c CUEST_STATUS_NULL_POINTER if any required pointer argument is NULL;
- \c CUEST_STATUS_INVALID_TYPE if opaque handles are not the correct type;
- \c CUEST_STATUS_EXCEPTION or \c CUEST_STATUS_UNKNOWN_ERROR otherwise.