#include "redist.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <ctype.h>
Go to the source code of this file.
|
void | Clacpy () |
|
void | Cblacs_pcoord () |
|
int | Cblacs_pnum () |
|
void | Csetpvmtids () |
|
void | Cblacs_get () |
|
void | Cblacs_pinfo () |
|
void | Cblacs_gridinfo () |
|
void | Cblacs_gridinit () |
|
void | Cblacs_exit () |
|
void | Cblacs_gridexit () |
|
void | Cblacs_setup () |
|
void | Cigebs2d () |
|
void | Cigebr2d () |
|
void | Cigesd2d () |
|
void | Cigerv2d () |
|
void | Cigsum2d () |
|
void | Cigamn2d () |
|
void | Cigamx2d () |
|
void | Czgesd2d () |
|
void | Czgerv2d () |
|
void | zlacpy_ () |
|
int | localindice () |
|
void * | mr2d_malloc () |
|
int | ppcm () |
|
int | localsize () |
|
int | memoryblocksize () |
|
int | changeorigin () |
|
void | paramcheck () |
|
void | scanD0 () |
|
void | dispmat () |
|
void | setmemory () |
|
void | freememory () |
|
int | scan_intervals () |
|
void | Cpztrmr2do () |
|
void | Cpztrmr2d () |
|
void | setmemory (dcomplex **adpointer, int blocksize) |
|
void | freememory (dcomplex *ptrtobefreed) |
|
static2 int | insidemat (char *uplo, char *diag, int i, int j, int m, int n, int *offset) |
|
static2 void | intersect (char *uplo, char *diag, int j, int start, int end, int action, int *ptrsizebuff, dcomplex **pptrbuff, dcomplex *ptrblock, int m, int n, MDESC *ma, int ia, int ja, int templateheight0, int templatewidth0, MDESC *mb, int ib, int jb, int templateheight1, int templatewidth1) |
|
int | scan_intervals (char type, int ja, int jb, int n, MDESC *ma, MDESC *mb, int q0, int q1, int col0, int col1, IDESC *result) |
|
void | scanD0 (char *uplo, char *diag, int action, ptrbuff, int *ptrsizebuff, int m, int n, MDESC *ma, int ia, int ja, int p0, int q0, MDESC *mb, int ib, int jb, int p1, int q1, IDESC *v_inter, int vinter_nb, IDESC *h_inter, int hinter_nb, dcomplex *ptrbuff *ptrblock) |
|
◆ BLOCK_CYCLIC_2D
#define BLOCK_CYCLIC_2D 1 |
◆ Clacpy
◆ dispmat
#define dispmat ztrdispmat |
◆ DIVUP
#define DIVUP |
( |
|
a, |
|
|
|
b |
|
) |
| ( ((a)-1) /(b)+1) |
◆ fortran_mr2d
#define fortran_mr2d pztrmr2do |
◆ fortran_mr2dnew
#define fortran_mr2dnew pztrmr2d |
◆ freememory
#define freememory ztrfreememory |
◆ max
#define max |
( |
|
A, |
|
|
|
B |
|
) |
| ((A)>(B)?(A):(B)) |
◆ min
#define min |
( |
|
A, |
|
|
|
B |
|
) |
| ((A)>(B)?(B):(A)) |
◆ NDEBUG
◆ RECVBUFF
◆ ROUNDUP
#define ROUNDUP |
( |
|
a, |
|
|
|
b |
|
) |
| (DIVUP(a,b)*(b)) |
◆ scan_intervals
#define scan_intervals ztrscan_intervals |
◆ scanD0
◆ SENDBUFF
◆ setmemory
#define setmemory ztrsetmemory |
◆ SHIFT
#define SHIFT |
( |
|
row, |
|
|
|
sprow, |
|
|
|
nbrow |
|
) |
| ((row)-(sprow)+ ((row) >= (sprow) ? 0 : (nbrow))) |
◆ SIZEBUFF
◆ static2
◆ zcopy_
◆ zlacpy_
◆ Cblacs_exit()
◆ Cblacs_get()
◆ Cblacs_gridexit()
◆ Cblacs_gridinfo()
◆ Cblacs_gridinit()
◆ Cblacs_pcoord()
◆ Cblacs_pinfo()
◆ Cblacs_pnum()
◆ Cblacs_setup()
◆ changeorigin()
◆ Cigamn2d()
◆ Cigamx2d()
◆ Cigebr2d()
◆ Cigebs2d()
◆ Cigerv2d()
◆ Cigesd2d()
◆ Cigsum2d()
◆ Clacpy()
◆ Cpztrmr2d()
◆ Cpztrmr2do()
◆ Csetpvmtids()
◆ Czgerv2d()
◆ Czgesd2d()
◆ dispmat()
◆ freememory() [1/2]
◆ freememory() [2/2]
void freememory |
( |
dcomplex * |
ptrtobefreed | ) |
|
◆ insidemat()
static2 int insidemat |
( |
char * |
uplo, |
|
|
char * |
diag, |
|
|
int |
i, |
|
|
int |
j, |
|
|
int |
m, |
|
|
int |
n, |
|
|
int * |
offset |
|
) |
| |
◆ intersect()
static2 void intersect |
( |
char * |
uplo, |
|
|
char * |
diag, |
|
|
int |
j, |
|
|
int |
start, |
|
|
int |
end, |
|
|
int |
action, |
|
|
int * |
ptrsizebuff, |
|
|
dcomplex ** |
pptrbuff, |
|
|
dcomplex * |
ptrblock, |
|
|
int |
m, |
|
|
int |
n, |
|
|
MDESC * |
ma, |
|
|
int |
ia, |
|
|
int |
ja, |
|
|
int |
templateheight0, |
|
|
int |
templatewidth0, |
|
|
MDESC * |
mb, |
|
|
int |
ib, |
|
|
int |
jb, |
|
|
int |
templateheight1, |
|
|
int |
templatewidth1 |
|
) |
| |
◆ localindice()
◆ localsize()
◆ memoryblocksize()
◆ mr2d_malloc()
◆ paramcheck()
◆ ppcm()
◆ scan_intervals() [1/2]
◆ scan_intervals() [2/2]
int scan_intervals |
( |
char |
type, |
|
|
int |
ja, |
|
|
int |
jb, |
|
|
int |
n, |
|
|
MDESC * |
ma, |
|
|
MDESC * |
mb, |
|
|
int |
q0, |
|
|
int |
q1, |
|
|
int |
col0, |
|
|
int |
col1, |
|
|
IDESC * |
result |
|
) |
| |
◆ scanD0() [1/2]
◆ scanD0() [2/2]
void scanD0 |
( |
char * |
uplo, |
|
|
char * |
diag, |
|
|
int |
action, |
|
|
ptrbuff |
, |
|
|
int * |
ptrsizebuff, |
|
|
int |
m, |
|
|
int |
n, |
|
|
MDESC * |
ma, |
|
|
int |
ia, |
|
|
int |
ja, |
|
|
int |
p0, |
|
|
int |
q0, |
|
|
MDESC * |
mb, |
|
|
int |
ib, |
|
|
int |
jb, |
|
|
int |
p1, |
|
|
int |
q1, |
|
|
IDESC * |
v_inter, |
|
|
int |
vinter_nb, |
|
|
IDESC * |
h_inter, |
|
|
int |
hinter_nb, |
|
|
dcomplex *ptrbuff * |
ptrblock |
|
) |
| |
◆ setmemory() [1/2]
◆ setmemory() [2/2]
void setmemory |
( |
dcomplex ** |
adpointer, |
|
|
int |
blocksize |
|
) |
| |
◆ zlacpy_()