/** * return whether parameter values of the FCS solver have changed */ fcs_int fcs_get_values_changed(FCS handle) { const char *fnc_name = "fcs_get_box_values_changed"; CHECK_HANDLE_RETURN_VAL(handle, fnc_name, -1); return handle->values_changed; }
/** * return the total number of particles in the system */ fcs_int fcs_get_max_local_particles(FCS handle) { const char *fnc_name = "fcs_get_max_local_particles"; CHECK_HANDLE_RETURN_VAL(handle, fnc_name, -1); return handle->max_local_particles; }
/** * return the method context information */ void *fcs_get_method_context(FCS handle) { const char *fnc_name = "fcs_get_method_context"; CHECK_HANDLE_RETURN_VAL(handle, fnc_name, NULL); return handle->method_context; }
/** * return the origin vector of the system box */ const fcs_float *fcs_get_box_origin(FCS handle) { const char *fnc_name = "fcs_get_box_origin"; CHECK_HANDLE_RETURN_VAL(handle, fnc_name, NULL); return handle->box_origin; }
/** * return the periodicity of the system */ const fcs_int* fcs_get_periodicity(FCS handle) { const char *fnc_name = "fcs_get_periodicity"; CHECK_HANDLE_RETURN_VAL(handle, fnc_name, NULL); return handle->periodicity; }
/** * return the dimensions of the system */ fcs_int fcs_get_dimensions(FCS handle) { const char *fnc_name = "fcs_get_dimensions"; CHECK_HANDLE_RETURN_VAL(handle, fnc_name, -1); return handle->dimensions; }
/** * return the near-field flag */ fcs_int fcs_get_near_field_flag(FCS handle) { const char *fnc_name = "fcs_get_near_field_flag"; CHECK_HANDLE_RETURN_VAL(handle, fnc_name, -1); return handle->near_field_flag; }
/** * return the MPI communicator used for the parallel execution */ MPI_Comm fcs_get_communicator(FCS handle) { const char *fnc_name = "fcs_get_communicator"; CHECK_HANDLE_RETURN_VAL(handle, fnc_name, MPI_COMM_NULL); return handle->communicator; }
/** * return whether parameter values of the FCS solver have changed */ fcs_int fcs_get_values_changed(FCS handle) { CHECK_HANDLE_RETURN_VAL(handle, __func__, -1); return handle->values_changed; }
/** * return the total number of particles in the system */ fcs_int fcs_get_max_local_particles(FCS handle) { CHECK_HANDLE_RETURN_VAL(handle, __func__, -1); return handle->max_local_particles; }
/** * return the method context information */ void *fcs_get_method_context(FCS handle) { CHECK_HANDLE_RETURN_VAL(handle, __func__, NULL); return handle->method_context; }
/** * return the periodicity of the system */ const fcs_int* fcs_get_periodicity(FCS handle) { CHECK_HANDLE_RETURN_VAL(handle, __func__, NULL); return handle->periodicity; }
/** * return the origin vector of the system box */ const fcs_float *fcs_get_box_origin(FCS handle) { CHECK_HANDLE_RETURN_VAL(handle, __func__, NULL); return handle->box_origin; }
/** * return the near-field flag */ fcs_int fcs_get_near_field_flag(FCS handle) { CHECK_HANDLE_RETURN_VAL(handle, __func__, -1); return handle->near_field_flag; }
/** * return the dimensions of the system */ fcs_int fcs_get_dimensions(FCS handle) { CHECK_HANDLE_RETURN_VAL(handle, __func__, -1); return handle->dimensions; }
/** * return the MPI communicator used for the parallel execution */ MPI_Comm fcs_get_communicator(FCS handle) { CHECK_HANDLE_RETURN_VAL(handle, __func__, MPI_COMM_NULL); return handle->communicator; }