ergo
|
#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_matrix_struct::symmetryFlag, csr_matrix_struct::n, csr_matrix_struct::nnz, csr_matrix_struct::rowList, csr_matrix_struct::columnIndexList, do_output(), LOG_CAT_ERROR, LOG_AREA_LOWLEVEL, csr_index_pair_struct::row, csr_index_pair_struct::col, csr_compare_index_pairs_for_qsort(), csr_matrix_row_struct::firstElementIndex, csr_matrix_row_struct::noOfElementsInRow, and csr_matrix_struct::elementList.
Referenced by getDmatLimitMatrixCSRList(), compute_K_by_boxes(), create_CSR_for_K(), get_CSR_from_symmMatrix(), and get_CSR_from_normalMatrix().
int ergo_CSR_destroy | ( | csr_matrix_struct * | csr | ) |
References csr_matrix_struct::rowList, csr_matrix_struct::elementList, and csr_matrix_struct::columnIndexList.
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::nnz, and csr_matrix_struct::elementList.
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_struct::rowList, and csr_matrix_row_struct::noOfElementsInRow.
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::nnz, csr_matrix_struct::n, csr_matrix_struct::rowList, csr_matrix_row_struct::firstElementIndex, csr_matrix_struct::columnIndexList, csr_matrix_struct::elementList, and csr_matrix_row_struct::noOfElementsInRow.
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 | ||
) |