#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 | Ccgesd2d () |
|
void | Ccgerv2d () |
|
void | clacpy_ () |
|
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 | Cpctrmr2do () |
|
void | Cpctrmr2d () |
|
void | setmemory (complex **adpointer, int blocksize) |
|
void | freememory (complex *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, complex **pptrbuff, complex *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, complex *ptrbuff *ptrblock) |
|
◆ BLOCK_CYCLIC_2D
#define BLOCK_CYCLIC_2D 1 |
◆ ccopy_
◆ Clacpy
◆ clacpy_
◆ dispmat
#define dispmat ctrdispmat |
◆ DIVUP
#define DIVUP |
( |
|
a, |
|
|
|
b |
|
) |
| ( ((a)-1) /(b)+1) |
◆ fortran_mr2d
#define fortran_mr2d pctrmr2do |
◆ fortran_mr2dnew
#define fortran_mr2dnew pctrmr2d |
◆ freememory
#define freememory ctrfreememory |
◆ 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 ctrscan_intervals |
◆ scanD0
◆ SENDBUFF
◆ setmemory
#define setmemory ctrsetmemory |
◆ SHIFT
#define SHIFT |
( |
|
row, |
|
|
|
sprow, |
|
|
|
nbrow |
|
) |
| ((row)-(sprow)+ ((row) >= (sprow) ? 0 : (nbrow))) |
◆ SIZEBUFF
◆ static2
◆ Cblacs_exit()
◆ Cblacs_get()
◆ Cblacs_gridexit()
◆ Cblacs_gridinfo()
◆ Cblacs_gridinit()
◆ Cblacs_pcoord()
◆ Cblacs_pinfo()
◆ Cblacs_pnum()
◆ Cblacs_setup()
◆ Ccgerv2d()
◆ Ccgesd2d()
◆ changeorigin()
◆ Cigamn2d()
◆ Cigamx2d()
◆ Cigebr2d()
◆ Cigebs2d()
◆ Cigerv2d()
◆ Cigesd2d()
◆ Cigsum2d()
◆ Clacpy()
◆ clacpy_()
◆ Cpctrmr2d()
◆ Cpctrmr2do()
◆ Csetpvmtids()
◆ dispmat()
◆ freememory() [1/2]
◆ freememory() [2/2]
void freememory |
( |
complex * |
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, |
|
|
complex ** |
pptrbuff, |
|
|
complex * |
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, |
|
|
complex *ptrbuff * |
ptrblock |
|
) |
| |
◆ setmemory() [1/2]
◆ setmemory() [2/2]
void setmemory |
( |
complex ** |
adpointer, |
|
|
int |
blocksize |
|
) |
| |