lsd_mkb/lsd_mkb_superlu/superlu_threads/pdmemory.c File Reference

#include "slu_mt_ddefs.h"
Include dependency graph for pdmemory.c:

Classes

struct  LU_stack_t

Defines

#define EXPAND   1.5
#define NO_MEMTYPE   4
#define GluIntArray(n)   (9 * (n) + 5)
#define StackFull(x)   ( x + stack.used >= stack.size )
#define NotDoubleAlign(addr)   ( (long long int)addr & 7 )
#define DoubleAlign(addr)   ( ((long long int)addr + 7) & ~7L )
#define Reduce(alpha)   ((alpha + 1) / 2)
#define NUM_TEMPV(n, w, t, b)   (SUPERLU_MAX( 2*n, (t + b)*w ))

Enumerations

enum  stack_end_t { HEAD, TAIL, HEAD, TAIL }
enum  LU_space_t { SYSTEM, USER, SYSTEM, USER }

Functions

voidpdgstrf_expand (int_t *, MemType, int_t, int_t, GlobalLU_t *)
void copy_mem_double (int_t, void *, void *)
void pdgstrf_StackCompress (GlobalLU_t *)
void pdgstrf_SetupSpace (void *, int_t)
voidduser_malloc (int_t, int_t)
void duser_free (int_t, int_t)
void copy_mem_int (int_t, void *, void *)
void user_bcopy (char *, char *, int_t)
void pdgstrf_StackFree ()
int_t superlu_dTempSpace (int_t n, int_t w, int_t p)
int_t superlu_dQuerySpace (int_t P, SuperMatrix *L, SuperMatrix *U, int_t panel_size, superlu_memusage_t *superlu_memusage)
float pdgstrf_memory_use (const int_t nzlmax, const int_t nzumax, const int_t nzlumax)
float pdgstrf_MemInit (int_t n, int_t annz, superlumt_options_t *superlumt_options, SuperMatrix *L, SuperMatrix *U, GlobalLU_t *Glu)
int_t pdgstrf_WorkInit (int_t n, int_t panel_size, int_t **iworkptr, double **dworkptr)
void pdgstrf_SetRWork (int_t n, int_t panel_size, double *dworkptr, double **dense, double **tempv)
void pdgstrf_WorkFree (int_t *iwork, double *dwork, GlobalLU_t *Glu)
int_t pdgstrf_MemXpand (int_t jcol, int_t next, MemType mem_type, int_t *maxlen, GlobalLU_t *Glu)
void dallocateA (int_t n, int_t nnz, double **a, int_t **asub, int_t **xa)
double * doubleMalloc (int_t n)
double * doubleCalloc (int_t n)
int_t dPresetMap (const int_t n, SuperMatrix *A, pxgstrf_relax_t *pxgstrf_relax, superlumt_options_t *superlumt_options, GlobalLU_t *Glu)

Variables

ExpHeaderdexpanders = 0

Define Documentation

#define DoubleAlign ( addr   )     ( ((long long int)addr + 7) & ~7L )
#define EXPAND   1.5
#define GluIntArray (  )     (9 * (n) + 5)
#define NO_MEMTYPE   4
#define NotDoubleAlign ( addr   )     ( (long long int)addr & 7 )
#define NUM_TEMPV ( n,
w,
t,
 )     (SUPERLU_MAX( 2*n, (t + b)*w ))
#define Reduce ( alpha   )     ((alpha + 1) / 2)
#define StackFull (  )     ( x + stack.used >= stack.size )

Enumeration Type Documentation

enum LU_space_t
Enumerator:
SYSTEM 
USER 
SYSTEM 
USER 
Enumerator:
HEAD 
TAIL 
HEAD 
TAIL 

Function Documentation

void copy_mem_double ( int_t  howmany,
void old,
void new 
)
void copy_mem_int ( int_t  ,
void ,
void  
)
void dallocateA ( int_t  n,
int_t  nnz,
double **  a,
int_t **  asub,
int_t **  xa 
)

Here is the call graph for this function:

double* doubleCalloc ( int_t  n  ) 

Here is the call graph for this function:

double* doubleMalloc ( int_t  n  ) 

Here is the call graph for this function:

int_t dPresetMap ( const int_t  n,
SuperMatrix A,
pxgstrf_relax_t pxgstrf_relax,
superlumt_options_t superlumt_options,
GlobalLU_t Glu 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void duser_free ( int_t  bytes,
int_t  which_end 
)
void * duser_malloc ( int_t  bytes,
int_t  which_end 
)
void * pdgstrf_expand ( int_t prev_len,
MemType  type,
int_t  len_to_copy,
int_t  keep_prev,
GlobalLU_t Glu 
)

Here is the call graph for this function:

Here is the caller graph for this function:

float pdgstrf_MemInit ( int_t  n,
int_t  annz,
superlumt_options_t superlumt_options,
SuperMatrix L,
SuperMatrix U,
GlobalLU_t Glu 
)

Here is the call graph for this function:

Here is the caller graph for this function:

float pdgstrf_memory_use ( const int_t  nzlmax,
const int_t  nzumax,
const int_t  nzlumax 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int_t pdgstrf_MemXpand ( int_t  jcol,
int_t  next,
MemType  mem_type,
int_t maxlen,
GlobalLU_t Glu 
)

Here is the call graph for this function:

void pdgstrf_SetRWork ( int_t  n,
int_t  panel_size,
double *  dworkptr,
double **  dense,
double **  tempv 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void pdgstrf_SetupSpace ( void work,
int_t  lwork 
)

Here is the caller graph for this function:

void pdgstrf_StackCompress ( GlobalLU_t Glu  ) 

Here is the call graph for this function:

void pdgstrf_StackFree (  ) 
void pdgstrf_WorkFree ( int_t iwork,
double *  dwork,
GlobalLU_t Glu 
)

Here is the caller graph for this function:

int_t pdgstrf_WorkInit ( int_t  n,
int_t  panel_size,
int_t **  iworkptr,
double **  dworkptr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int_t superlu_dQuerySpace ( int_t  P,
SuperMatrix L,
SuperMatrix U,
int_t  panel_size,
superlu_memusage_t superlu_memusage 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int_t superlu_dTempSpace ( int_t  n,
int_t  w,
int_t  p 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void user_bcopy ( char *  ,
char *  ,
int_t   
)

Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1