KTH framework for Nek5000 toolboxes; testing version  0.0.1
crs_hypre.c File Reference
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "gslib.h"
#include "crs_hypre.h"
+ Include dependency graph for crs_hypre.c:

Go to the source code of this file.

Functions

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)
 

Function Documentation

◆ ccrs_hypre_free()

void ccrs_hypre_free ( struct hypre_crs_data *  data)

Definition at line 442 of file crs_hypre.c.

◆ 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 
)

Definition at line 424 of file crs_hypre.c.

◆ ccrs_hypre_solve()

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

Definition at line 434 of file crs_hypre.c.