#include "realtype.h"
Go to the source code of this file.
int ergo_CSR_add_equal_structure | ( | csr_matrix_struct * | csrDest, | |
const csr_matrix_struct * | csrSource | |||
) |
int ergo_CSR_add_to_element | ( | csr_matrix_struct * | csr, | |
int | row, | |||
int | col, | |||
ergo_real | value | |||
) |
int ergo_CSR_copy | ( | csr_matrix_struct * | csrDest, | |
const csr_matrix_struct * | csrSource | |||
) |
int ergo_CSR_create | ( | csr_matrix_struct * | csr, | |
int | symmetryFlag, | |||
int | n, | |||
int | nnz, | |||
int * | rowind, | |||
int * | colind | |||
) |
References csr_index_pair_struct::col, csr_matrix_struct::columnIndexList, csr_compare_index_pairs_for_qsort(), do_output(), csr_matrix_struct::elementList, csr_matrix_row_struct::firstElementIndex, LOG_AREA_LOWLEVEL, LOG_CAT_ERROR, csr_matrix_struct::n, csr_matrix_struct::nnz, csr_matrix_row_struct::noOfElementsInRow, csr_index_pair_struct::row, csr_matrix_struct::rowList, and csr_matrix_struct::symmetryFlag.
Referenced by compute_K_by_boxes(), create_CSR_for_K(), get_CSR_from_normalMatrix(), get_CSR_from_symmMatrix(), and getDmatLimitMatrixCSRList().
int ergo_CSR_destroy | ( | csr_matrix_struct * | csr | ) |
References csr_matrix_struct::columnIndexList, csr_matrix_struct::elementList, and csr_matrix_struct::rowList.
Referenced by compute_K_by_boxes(), compute_K_by_boxes_sparse(), and compute_K_by_boxes_sparse_nosymm().
ergo_real ergo_CSR_get_element | ( | const csr_matrix_struct * | csr, | |
int | row, | |||
int | col | |||
) |
ergo_real ergo_CSR_get_max_abs_element | ( | const csr_matrix_struct * | csr | ) |
References csr_matrix_struct::elementList, and csr_matrix_struct::nnz.
Referenced by compute_K_by_boxes(), and create_CSR_for_K().
int ergo_CSR_get_nvalues | ( | const csr_matrix_struct * | csr | ) |
References csr_matrix_struct::nnz.
Referenced by compute_K_by_boxes_sparse(), and compute_K_by_boxes_sparse_nosymm().
int ergo_CSR_get_nvalues_singlerow | ( | const csr_matrix_struct * | csr, | |
int | row | |||
) |
References csr_matrix_row_struct::noOfElementsInRow, and csr_matrix_struct::rowList.
Referenced by getDmatLimitMatrixCSRList().
int ergo_CSR_get_values | ( | const csr_matrix_struct * | csr, | |
int * | rowind, | |||
int * | colind, | |||
ergo_real * | values, | |||
int | nvalues | |||
) |
References csr_matrix_struct::columnIndexList, csr_matrix_struct::elementList, csr_matrix_row_struct::firstElementIndex, csr_matrix_struct::n, csr_matrix_struct::nnz, csr_matrix_row_struct::noOfElementsInRow, and csr_matrix_struct::rowList.
Referenced by compute_K_by_boxes_sparse(), and compute_K_by_boxes_sparse_nosymm().
int ergo_CSR_get_values_singlerow | ( | const csr_matrix_struct * | csr, | |
int | row, | |||
int * | colind, | |||
ergo_real * | values, | |||
int | nvalues | |||
) |