1 /* $Id: sys.h,v 1.10 1995/11/19 00:56:24 bsmith Exp curfman $ */ 2 /* 3 Provides access to a small number of system related and general utility routines. 4 */ 5 #if !defined(__SYS_PACKAGE) 6 #define __SYS_PACKAGE 7 8 #include "petsc.h" 9 10 extern int SYGetArchType(char*,int); 11 extern int SYIsort(int,int*); 12 extern int SYIsortperm(int,int*,int*); 13 extern int SYDsort(int,double*); 14 extern char *SYGetDate(); 15 extern int TrDebugLevel(int); 16 extern int TrValid(); 17 18 typedef enum { RANDOM_DEFAULT } SYRandomType; 19 20 typedef struct _SYRandom* SYRandom; 21 22 extern int SYRandomCreate(SYRandomType,SYRandom*); 23 extern int SYRandomGetValue(SYRandom,Scalar*); 24 extern int SYRandomDestroy(SYRandom); 25 26 #endif 27 28