Canoe
Comprehensive Atmosphere N' Ocean Engine
band_decomp.c File Reference
#include <math.h>
#include <stdio.h>

Go to the source code of this file.

Macros

#define SWAP(a, b)
 
#define TINY   1.e-20
 
#define A(i, j)   a[(m1 + m2 + 1) * (i) + (j)]
 
#define AL(i, j)   al[m1 * (i) + (j)]
 

Functions

void band_decomp (int n, int m1, int m2, double *a, double *al, int *index, double *d)
 

Macro Definition Documentation

◆ SWAP

#define SWAP (   a,
 
)
Value:
{ \
tmp = (a); \
(a) = (b); \
(b) = tmp; \
}

Definition at line 14 of file band_decomp.c.

◆ TINY

#define TINY   1.e-20

Definition at line 21 of file band_decomp.c.

◆ A

#define A (   i,
 
)    a[(m1 + m2 + 1) * (i) + (j)]

Definition at line 24 of file band_decomp.c.

◆ AL

#define AL (   i,
 
)    al[m1 * (i) + (j)]

Definition at line 26 of file band_decomp.c.

Function Documentation

◆ band_decomp()

void band_decomp ( int  n,
int  m1,
int  m2,
double *  a,
double *  al,
int *  index,
double *  d 
)

Definition at line 28 of file band_decomp.c.