SCALAPACK 2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
pctrmr2.c File Reference
#include "redist.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <ctype.h>
Include dependency graph for pctrmr2.c:

Go to the source code of this file.

Classes

struct  complex
 
struct  MDESC
 
struct  IDESC
 

Macros

#define static2   static
 
#define fortran_mr2d   pctrmr2do
 
#define fortran_mr2dnew   pctrmr2d
 
#define ccopy_   ccopy
 
#define clacpy_   clacpy
 
#define Clacpy   Cctrlacpy
 
#define BLOCK_CYCLIC_2D   1
 
#define SHIFT(row, sprow, nbrow)   ((row)-(sprow)+ ((row) >= (sprow) ? 0 : (nbrow)))
 
#define max(A, B)   ((A)>(B)?(A):(B))
 
#define min(A, B)   ((A)>(B)?(B):(A))
 
#define DIVUP(a, b)   ( ((a)-1) /(b)+1)
 
#define ROUNDUP(a, b)   (DIVUP(a,b)*(b))
 
#define scanD0   ctrscanD0
 
#define dispmat   ctrdispmat
 
#define setmemory   ctrsetmemory
 
#define freememory   ctrfreememory
 
#define scan_intervals   ctrscan_intervals
 
#define SENDBUFF   0
 
#define RECVBUFF   1
 
#define SIZEBUFF   2
 
#define NDEBUG
 

Functions

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 ()
 
Int localindice ()
 
void * mr2d_malloc ()
 
Int ppcm ()
 
Int localsize ()
 
Int memoryblocksize ()
 
Int changeorigin ()
 
void paramcheck ()
 
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)