lsd_mkb/lsd_mkb_superlu/superlu_threads/slu_mt_util.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for slu_mt_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  superlumt_options_t
struct  procstat_t
struct  panstat_t
struct  e_node
 Headers for 4 types of dynamatically managed memory. More...
struct  superlu_memusage_t
struct  stat_relax_t
struct  stat_col_t
struct  stat_snode_t
struct  cp_panel_t
struct  desc_eft_t
struct  Gstat_t
struct  Branch

Defines

#define SUPERLU_ABORT(err_msg)
#define SUPERLU_MALLOC(size)   USER_MALLOC(size)
#define SUPERLU_FREE(addr)   USER_FREE(addr)
#define MAX(x, y)   ( (x) > (y) ? (x) : (y) )
#define MIN(x, y)   ( (x) < (y) ? (x) : (y) )
#define SUPERLU_MAX(x, y)   ( (x) > (y) ? (x) : (y) )
#define SUPERLU_MIN(x, y)   ( (x) < (y) ? (x) : (y) )
#define L_SUB_START(col)   ( Lstore->rowind_colbeg[col] )
#define L_SUB_END(col)   ( Lstore->rowind_colend[col] )
#define L_SUB(ptr)   ( Lstore->rowind[ptr] )
#define L_NZ_START(col)   ( Lstore->nzval_colbeg[col] )
#define L_NZ_END(col)   ( Lstore->nzval_colend[col] )
#define L_FST_SUPC(superno)   ( Lstore->sup_to_colbeg[superno] )
#define L_LAST_SUPC(superno)   ( Lstore->sup_to_colend[superno] )
#define U_NZ_START(col)   ( Ustore->colbeg[col] )
#define U_NZ_END(col)   ( Ustore->colend[col] )
#define U_SUB(ptr)   ( Ustore->rowind[ptr] )
#define SUPER_REP(s)   ( xsup_end[s]-1 )
#define SUPER_FSUPC(s)   ( xsup[s] )
#define SINGLETON(s)   ( (xsup_end[s] - xsup[s]) == 1 )
#define ISPRUNED(j)   ( ispruned[j] )
#define STATE(j)   ( pxgstrf_shared->pan_status[j].state )
#define DADPANEL(j)   ( etree[j + pxgstrf_shared->pan_status[j].size-1] )
#define TIC(t)
#define TOC(t2, t1)
#define EMPTY   (-1)
#define FALSE   0
#define TRUE   1
#define NO_MARKER   3
#define LOCOL   70
#define HICOL   78
#define BADROW   44
#define BADCOL   35
#define BADPAN   BADCOL
#define BADREP   35

Typedefs

typedef float flops_t
typedef unsigned char Logical
typedef int mutex_t
typedef struct e_node ExpHeader

Enumerations

enum  yes_no_t { NO, YES, NO, YES }
enum  trans_t {
  NOTRANS, TRANS, CONJ, NOTRANS,
  TRANS, CONJ
}
enum  fact_t {
  DOFACT, SamePattern, SamePattern_SameRowPerm, FACTORED,
  DOFACT, EQUILIBRATE, FACTORED
}
enum  colperm_t {
  NATURAL, MMD_ATA, MMD_AT_PLUS_A, COLAMD,
  METIS_AT_PLUS_A, PARMETIS, ZOLTAN, MY_PERMC,
  NATURAL, MMD_ATA, MMD_AT_PLUS_A, COLAMD,
  METIS_AT_PLUS_A, PARMETIS, MY_PERMC
}
enum  equed_t { NOEQUIL, ROW, COL, BOTH }
enum  MemType {
  LUSUP, UCOL, LSUB, USUB,
  LLVL, ULVL, LUSUP, UCOL,
  LSUB, USUB
}
enum  PhaseType {
  COLPERM, ROWPERM, RELAX, ETREE,
  EQUIL, SYMBFAC, DIST, FACT,
  COMM, SOL_COMM, RCOND, SOLVE,
  REFINE, TRSV, GEMV, FERR,
  NPHASES, RELAX, COLPERM, ETREE,
  EQUIL, FINDDOMAIN, FACT, DFS,
  FLOAT, TRSV, GEMV, RCOND,
  TRISOLVE, SOLVE, REFINE, FERR,
  NPHASES
}
enum  how_selected_t { NOPIPE, DADPAN, PIPE }

Functions

int xerbla_ (char *, int *)
void superlu_abort_and_exit (char *)
 Global statistics variale.
voidsuperlu_malloc (size_t)
void superlu_free (void *)
void PrintStat (Gstat_t *)
int_t ParallelProfile (const int_t, const int_t, const int_t, const int_t procs, Gstat_t *)

Define Documentation

#define BADCOL   35
#define BADPAN   BADCOL
#define BADREP   35
#define BADROW   44
#define DADPANEL (  )     ( etree[j + pxgstrf_shared->pan_status[j].size-1] )
#define EMPTY   (-1)
#define FALSE   0
#define HICOL   78
#define ISPRUNED (  )     ( ispruned[j] )
#define L_FST_SUPC ( superno   )     ( Lstore->sup_to_colbeg[superno] )
#define L_LAST_SUPC ( superno   )     ( Lstore->sup_to_colend[superno] )
#define L_NZ_END ( col   )     ( Lstore->nzval_colend[col] )
#define L_NZ_START ( col   )     ( Lstore->nzval_colbeg[col] )
#define L_SUB ( ptr   )     ( Lstore->rowind[ptr] )
#define L_SUB_END ( col   )     ( Lstore->rowind_colend[col] )
#define L_SUB_START ( col   )     ( Lstore->rowind_colbeg[col] )
#define LOCOL   70
#define MAX ( x,
 )     ( (x) > (y) ? (x) : (y) )
#define MIN ( x,
 )     ( (x) < (y) ? (x) : (y) )
#define NO_MARKER   3
#define SINGLETON (  )     ( (xsup_end[s] - xsup[s]) == 1 )
#define STATE (  )     ( pxgstrf_shared->pan_status[j].state )
#define SUPER_FSUPC (  )     ( xsup[s] )
#define SUPER_REP (  )     ( xsup_end[s]-1 )
#define SUPERLU_ABORT ( err_msg   ) 
Value:
{ char msg[256];\
   sprintf(msg,"%s at line %d in file %s\n",err_msg,__LINE__, __FILE__);\
   USER_ABORT(msg); }
#define SUPERLU_FREE ( addr   )     USER_FREE(addr)
#define SUPERLU_MALLOC ( size   )     USER_MALLOC(size)
#define SUPERLU_MAX ( x,
 )     ( (x) > (y) ? (x) : (y) )
#define SUPERLU_MIN ( x,
 )     ( (x) < (y) ? (x) : (y) )
#define TIC (  ) 
#define TOC ( t2,
t1   ) 
#define TRUE   1
#define U_NZ_END ( col   )     ( Ustore->colend[col] )
#define U_NZ_START ( col   )     ( Ustore->colbeg[col] )
#define U_SUB ( ptr   )     ( Ustore->rowind[ptr] )

Typedef Documentation

typedef struct e_node ExpHeader
typedef float flops_t
typedef unsigned char Logical
typedef int mutex_t

Enumeration Type Documentation

enum colperm_t
Enumerator:
NATURAL 
MMD_ATA 
MMD_AT_PLUS_A 
COLAMD 
METIS_AT_PLUS_A 
PARMETIS 
ZOLTAN 
MY_PERMC 
NATURAL 
MMD_ATA 
MMD_AT_PLUS_A 
COLAMD 
METIS_AT_PLUS_A 
PARMETIS 
MY_PERMC 
enum equed_t
Enumerator:
NOEQUIL 
ROW 
COL 
BOTH 
enum fact_t
Enumerator:
DOFACT 
SamePattern 
SamePattern_SameRowPerm 
FACTORED 
DOFACT 
EQUILIBRATE 
FACTORED 
Enumerator:
NOPIPE 
DADPAN 
PIPE 
enum MemType
Enumerator:
LUSUP 
UCOL 
LSUB 
USUB 
LLVL 
ULVL 
LUSUP 
UCOL 
LSUB 
USUB 
enum PhaseType
Enumerator:
COLPERM 
ROWPERM 
RELAX 
ETREE 
EQUIL 
SYMBFAC 
DIST 
FACT 
COMM 
SOL_COMM 
RCOND 
SOLVE 
REFINE 
TRSV 
GEMV 
FERR 
NPHASES 
RELAX 
COLPERM 
ETREE 
EQUIL 
FINDDOMAIN 
FACT 
DFS 
FLOAT 
TRSV 
GEMV 
RCOND 
TRISOLVE 
SOLVE 
REFINE 
FERR 
NPHASES 
enum trans_t
Enumerator:
NOTRANS 
TRANS 
CONJ 
NOTRANS 
TRANS 
CONJ 
enum yes_no_t
Enumerator:
NO 
YES 
NO 
YES 

Function Documentation

int_t ParallelProfile ( const   int_t,
const   int_t,
const   int_t,
const int_t  procs,
Gstat_t  
)

Here is the call graph for this function:

Here is the caller graph for this function:

void PrintStat ( Gstat_t  ) 

Here is the caller graph for this function:

void superlu_abort_and_exit ( char *   ) 

Global statistics variale.

void superlu_free ( void  ) 
void* superlu_malloc ( size_t  size  ) 

Precision-independent memory-related routines. (Shared by [sdcz]memory.c)

int xerbla_ ( char *  ,
int *   
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1