Go to the source code of this file.
|
void | build_hypre_matrix (struct hypre_crs_data *hypre_data, uint n, const ulong *id, uint nz_unassembled, const uint *Ai, const uint *Aj, const double *Av) |
|
struct hypre_crs_data * | ccrs_hypre_setup (uint n, const ulong *id, uint nz, const uint *Ai, const uint *Aj, const double *Av, const uint null_space, const struct comm *comm, const double *param) |
|
void | ccrs_hypre_solve (double *x, struct hypre_crs_data *data, double *b) |
|
void | ccrs_hypre_free (struct hypre_crs_data *data) |
|
◆ nz_pos_equal
◆ rid_equal
#define rid_equal |
( |
|
a, |
|
|
|
b |
|
) |
| ((a).p==(b).p && (a).i==(b).i) |
◆ distr
Enumerator |
---|
row_distr | |
col_distr | |
row_distr | |
col_distr | |
Definition at line 46 of file crs_hypre.h.
◆ mat_order
Enumerator |
---|
row_major | |
col_major | |
row_major | |
col_major | |
Definition at line 45 of file crs_hypre.h.
◆ build_hypre_matrix()
void build_hypre_matrix |
( |
struct hypre_crs_data * |
hypre_data, |
|
|
uint |
n, |
|
|
const ulong * |
id, |
|
|
uint |
nz_unassembled, |
|
|
const uint * |
Ai, |
|
|
const uint * |
Aj, |
|
|
const double * |
Av |
|
) |
| |
◆ ccrs_hypre_free()
void ccrs_hypre_free |
( |
struct hypre_crs_data * |
data | ) |
|
◆ ccrs_hypre_setup()
struct hypre_crs_data* ccrs_hypre_setup |
( |
uint |
n, |
|
|
const ulong * |
id, |
|
|
uint |
nz, |
|
|
const uint * |
Ai, |
|
|
const uint * |
Aj, |
|
|
const double * |
Av, |
|
|
const uint |
null_space, |
|
|
const struct comm * |
comm, |
|
|
const double * |
param |
|
) |
| |
◆ ccrs_hypre_solve()
void ccrs_hypre_solve |
( |
double * |
x, |
|
|
struct hypre_crs_data * |
data, |
|
|
double * |
b |
|
) |
| |