/** * return the new local number of particles */ FCSResult fcs_get_resort_particles(FCS handle, fcs_int *resort_particles) { CHECK_HANDLE_RETURN_RESULT(handle, __func__); if (handle->get_resort_particles == NULL) return fcs_result_create(FCS_ERROR_INCOMPATIBLE_METHOD, __func__, "resorting not supported"); return handle->get_resort_particles(handle, resort_particles); }
/** * return the new local number of particles */ FCSResult fcs_get_resort_particles(FCS handle, fcs_int *resort_particles) { const char *fnc_name = "fcs_get_resort_particles"; CHECK_HANDLE_RETURN_RESULT(handle, fnc_name); if (handle->get_resort_particles == NULL) return fcs_result_create(FCS_ERROR_INCOMPATIBLE_METHOD, fnc_name, "resorting not supported"); return handle->get_resort_particles(handle, resort_particles); }