KTH framework for Nek5000 toolboxes; testing version  0.0.1
crs.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define crs_xxt_setup   PREFIXED_NAME(crs_xxt_setup)
 
#define crs_xxt_solve   PREFIXED_NAME(crs_xxt_solve)
 
#define crs_xxt_stats   PREFIXED_NAME(crs_xxt_stats)
 
#define crs_xxt_free   PREFIXED_NAME(crs_xxt_free )
 
#define crs_amg_setup   PREFIXED_NAME(crs_amg_setup)
 
#define crs_amg_solve   PREFIXED_NAME(crs_amg_solve)
 
#define crs_amg_stats   PREFIXED_NAME(crs_amg_stats)
 
#define crs_amg_free   PREFIXED_NAME(crs_amg_free )
 

Functions

struct crs_datacrs_xxt_setup (uint n, const ulong *id, uint nz, const uint *Ai, const uint *Aj, const double *A, uint null_space, const struct comm *comm)
 
void crs_xxt_solve (double *x, struct crs_data *data, double *b)
 
void crs_xxt_stats (struct crs_data *data)
 
void crs_xxt_free (struct crs_data *data)
 
struct crs_datacrs_amg_setup (uint n, const ulong *id, uint nz, const uint *Ai, const uint *Aj, const double *A, uint null_space, const struct comm *comm, const char *datafname, uint *ierr)
 
void crs_amg_solve (double *x, struct crs_data *data, double *b)
 
void crs_amg_stats (struct crs_data *data)
 
void crs_amg_free (struct crs_data *data)
 
struct crs_dataccrs_hypre_setup (uint n, const ulong *id, uint nz, const uint *Ai, const uint *Aj, const double *Av, const uint nullspace, const struct comm *comm, const double *param)
 
void ccrs_hypre_solve (double *x, struct crs_data *data, double *b)
 
void ccrs_hypre_free (struct crs_data *data)
 

Macro Definition Documentation

◆ crs_amg_free

#define crs_amg_free   PREFIXED_NAME(crs_amg_free )

Definition at line 16 of file crs.h.

◆ crs_amg_setup

#define crs_amg_setup   PREFIXED_NAME(crs_amg_setup)

Definition at line 13 of file crs.h.

◆ crs_amg_solve

#define crs_amg_solve   PREFIXED_NAME(crs_amg_solve)

Definition at line 14 of file crs.h.

◆ crs_amg_stats

#define crs_amg_stats   PREFIXED_NAME(crs_amg_stats)

Definition at line 15 of file crs.h.

◆ crs_xxt_free

#define crs_xxt_free   PREFIXED_NAME(crs_xxt_free )

Definition at line 11 of file crs.h.

◆ crs_xxt_setup

#define crs_xxt_setup   PREFIXED_NAME(crs_xxt_setup)

Definition at line 8 of file crs.h.

◆ crs_xxt_solve

#define crs_xxt_solve   PREFIXED_NAME(crs_xxt_solve)

Definition at line 9 of file crs.h.

◆ crs_xxt_stats

#define crs_xxt_stats   PREFIXED_NAME(crs_xxt_stats)

Definition at line 10 of file crs.h.

Function Documentation

◆ ccrs_hypre_free()

void ccrs_hypre_free ( struct crs_data data)

◆ ccrs_hypre_setup()

struct crs_data* ccrs_hypre_setup ( uint  n,
const ulong *  id,
uint  nz,
const uint *  Ai,
const uint *  Aj,
const double *  Av,
const uint  nullspace,
const struct comm *  comm,
const double *  param 
)

Definition at line 424 of file crs_hypre.c.

◆ ccrs_hypre_solve()

void ccrs_hypre_solve ( double *  x,
struct crs_data data,
double *  b 
)

◆ crs_amg_free()

void crs_amg_free ( struct crs_data data)

◆ crs_amg_setup()

struct crs_data* crs_amg_setup ( uint  n,
const ulong *  id,
uint  nz,
const uint *  Ai,
const uint *  Aj,
const double *  A,
uint  null_space,
const struct comm *  comm,
const char *  datafname,
uint *  ierr 
)

◆ crs_amg_solve()

void crs_amg_solve ( double *  x,
struct crs_data data,
double *  b 
)

◆ crs_amg_stats()

void crs_amg_stats ( struct crs_data data)

◆ crs_xxt_free()

void crs_xxt_free ( struct crs_data data)

◆ crs_xxt_setup()

struct crs_data* crs_xxt_setup ( uint  n,
const ulong *  id,
uint  nz,
const uint *  Ai,
const uint *  Aj,
const double *  A,
uint  null_space,
const struct comm *  comm 
)

◆ crs_xxt_solve()

void crs_xxt_solve ( double *  x,
struct crs_data data,
double *  b 
)

◆ crs_xxt_stats()

void crs_xxt_stats ( struct crs_data data)