#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "gslib.h"
#include "crs.h"
Go to the source code of this file.
|
void | fcrs_setup (sint *handle, const sint *sid, const MPI_Fint *comm, const sint *np, const sint *n, const slong id[], const sint *nz, const sint Ai[], const sint Aj[], const double A[], const sint *null_space, const double *param, const char *datafname, uint *ierr) |
|
void | fcrs_solve (const sint *handle, double x[], double b[]) |
|
void | fcrs_free (sint *handle) |
|
◆ ccrs_amg_free
◆ ccrs_amg_setup
◆ ccrs_amg_solve
◆ ccrs_amg_stats
◆ ccrs_xxt_free
◆ ccrs_xxt_setup
◆ ccrs_xxt_solve
◆ ccrs_xxt_stats
◆ CHECK_HANDLE
#define CHECK_HANDLE |
( |
|
func | ) |
|
Value: do \
if(*handle<0 || *handle>=handle_n || !handle_array[*handle]) \
fail(1,__FILE__,__LINE__,func ": invalid handle"); \
while(0)
Definition at line 40 of file fcrs.c.
◆ fcrs_free
◆ fcrs_setup
◆ fcrs_solve
◆ fcrs_stats
◆ fcrs_free()
void fcrs_free |
( |
sint * |
handle | ) |
|
◆ fcrs_setup()
void fcrs_setup |
( |
sint * |
handle, |
|
|
const sint * |
sid, |
|
|
const MPI_Fint * |
comm, |
|
|
const sint * |
np, |
|
|
const sint * |
n, |
|
|
const slong |
id[], |
|
|
const sint * |
nz, |
|
|
const sint |
Ai[], |
|
|
const sint |
Aj[], |
|
|
const double |
A[], |
|
|
const sint * |
null_space, |
|
|
const double * |
param, |
|
|
const char * |
datafname, |
|
|
uint * |
ierr |
|
) |
| |
◆ fcrs_solve()
void fcrs_solve |
( |
const sint * |
handle, |
|
|
double |
x[], |
|
|
double |
b[] |
|
) |
| |