/usr/include/elmer/fnames.h is in libelmer-dev 6.1.0.svn.5396.dfsg-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | /***********************************************************************
|
| FNAMES.H - Last Edited 6. 8. 1988
|
***********************************************************************/
/* matc.c */
char *doread( void );
VARIABLE *com_quit( void );
/*
* $Id: fnames.h,v 1.2 2007/06/08 08:12:19 jpr Exp $
*
* $Log: fnames.h,v $
* Revision 1.2 2007/06/08 08:12:19 jpr
* *** empty log message ***
*
* Revision 1.1 2005/05/31 09:43:48 vierinen
* oops
*
* Revision 1.1.1.1 2005/04/14 13:29:14 vierinen
* initial matc automake package
*
* Revision 1.2 1998/08/01 12:34:37 jpr
*
* Added Id, started Log.
*
*
*/
void error( char *fmt, ... );
void sig_trap(int);
int dogets(char *, char *);
void com_init( char *, int, int, VARIABLE *(*)(), int, int, char * );
void com_free( void ) ;
COMMAND *com_check( char *);
VARIABLE *com_help( VARIABLE * );
VARIABLE *com_source( VARIABLE *);
VARIABLE *com_apply( VARIABLE *);
VARIABLE *com_pointw( double (*)(), VARIABLE *);
VARIABLE *com_el( VARIABLE * );
void mem_free(void *);
void mem_free_all(void);
void *mem_alloc(size_t);
/* eval.c */
VARIABLE *evaltree( TREE *);
VARIABLE *evaltreelist( TREE *);
VARIABLE *evalclause( CLAUSE *);
VARIABLE *put_values( VARIABLE *, char *, VARIABLE *);
VARIABLE *put_result( VARIABLE *, char *, VARIABLE *, int, int);
/* files.c */
void fil_com_init(void);
VARIABLE *fil_fscanf( VARIABLE *);
VARIABLE *fil_fprintf( VARIABLE *);
VARIABLE *fil_fputs( VARIABLE *);
VARIABLE *fil_fopen( VARIABLE *);
VARIABLE *fil_freopen( VARIABLE *);
VARIABLE *fil_fclose( VARIABLE *);
VARIABLE *fil_save( VARIABLE *);
VARIABLE *fil_load( VARIABLE *);
/* funcs.c */
FUNCTION *fnc_check( char *);
void fnc_free_entry( FUNCTION *);
VARIABLE *fnc_delete( VARIABLE *);
void fnc_free( void);
VARIABLE *fnc_exec( FUNCTION *, VARIABLE *);
void fnc_com_init( void);
/* jacobi.c */
VARIABLE *mtr_jacob();
int jacobi( double *, double *, double *, double *, double *, int, double);
/* lists.c */
void lst_addtail( int, LIST *);
void lst_addhead( int, LIST *);
void lst_add( int, LIST *);
void lst_unlink( int, LIST *);
void lst_free( int, LIST *);
LIST *lst_find( int, char *);
void lst_purge( int);
VARIABLE *lst_print( int);
/* matrix.c */
void mtr_com_init( void);
double func_abs( double);
VARIABLE *mtr_min( VARIABLE *);
VARIABLE *mtr_max( VARIABLE *);
VARIABLE *mtr_sum( VARIABLE *);
VARIABLE *mtr_trace( VARIABLE *);
VARIABLE *mtr_zeros( VARIABLE *);
VARIABLE *mtr_ones( VARIABLE *);
VARIABLE *mtr_rand( VARIABLE *);
VARIABLE *mtr_resize( VARIABLE *);
VARIABLE *mtr_vector( VARIABLE *);
VARIABLE *mtr_eye( VARIABLE *);
VARIABLE *mtr_size( VARIABLE *);
VARIABLE *mtr_LUD( VARIABLE *);
VARIABLE *mtr_det( VARIABLE *);
VARIABLE *mtr_inv( VARIABLE *);
void LUDecomp( double *, int, int *);
VARIABLE *mtr_eig( VARIABLE *);
VARIABLE *mtr_hesse( VARIABLE *);
void vbcalc( double *, double *, double *,int, int);
void hesse( double *, int, int);
void francis( double *, int, int);
/* oper.c */
MATRIX *mat_new( int, int, int);
MATRIX *mat_copy( MATRIX *);
void mat_free( MATRIX *);
MATRIX *opr_vector( MATRIX *, MATRIX * );
MATRIX *opr_resize( MATRIX *, MATRIX * );
MATRIX *opr_apply( MATRIX * );
MATRIX *opr_add( MATRIX *, MATRIX *);
MATRIX *opr_minus( MATRIX *);
MATRIX *opr_subs( MATRIX *, MATRIX *);
MATRIX *opr_mul( MATRIX *, MATRIX *);
MATRIX *opr_pmul( MATRIX *, MATRIX *);
MATRIX *opr_div( MATRIX *, MATRIX *);
MATRIX *opr_pow( MATRIX *, MATRIX *);
MATRIX *opr_trans( MATRIX *);
MATRIX *opr_reduction( MATRIX *, MATRIX *);
MATRIX *opr_lt( MATRIX *, MATRIX *);
MATRIX *opr_le( MATRIX *, MATRIX *);
MATRIX *opr_gt( MATRIX *, MATRIX *);
MATRIX *opr_ge( MATRIX *, MATRIX *);
MATRIX *opr_eq( MATRIX *, MATRIX *);
MATRIX *opr_neq( MATRIX *, MATRIX *);
MATRIX *opr_and( MATRIX *, MATRIX *);
MATRIX *opr_or( MATRIX *, MATRIX *);
MATRIX *opr_not( MATRIX *);
/* optimclause.c */
TREE *optimtree( TREE *);
CLAUSE *optimclause( CLAUSE *);
/* parser.c */
int char_in_list( int, char *);
void scan(void);
TREE *newtree(void);
TREE *args( int, int);
TREE *nameorvar( void);
TREE *par_trans(TREE *);
TREE *par_pow( TREE *);
TREE *par_timesdivide( TREE *);
TREE *par_plusminus( TREE *);
TREE *par_compare( TREE *);
TREE *par_reduction( TREE *);
TREE *equation( void);
CLAUSE *statement( void);
CLAUSE *blockparse( void);
CLAUSE *funcparse( void);
CLAUSE *ifparse( void);
CLAUSE *whileparse( void);
CLAUSE *parse( void);
void free_treeentry( TREEENTRY *);
void free_tree( TREE *);
void free_clause( CLAUSE *);
VARIABLE *doit( char *);
/* printclause.c */
void printtree( TREE *, FILE *);
void printtreelist( TREE *, FILE *);
int printclause( CLAUSE *, FILE *, int);
/* urand.c */
double urand( int *);
/* VARIABLE.c */
void var_com_init( void);
VARIABLE *var_check( char *);
VARIABLE *var_varlist( void);
void var_print( VARIABLE *);
VARIABLE *var_temp_copy( VARIABLE *);
VARIABLE *var_temp_new( int, int, int);
void var_delete_temp( VARIABLE *);
void var_delete_temp_el( VARIABLE *);
VARIABLE *const_new( char *, int, int, int);
void const_free( void);
VARIABLE *var_new( char *, int, int, int);
VARIABLE *var_rename( VARIABLE *, char *);
void var_free( void);
void var_free_el( VARIABLE *);
void var_delete( char *);
char *var_to_string( VARIABLE *);
/* str.c */
void str_com_init();
VARIABLE *str_sprintf();
VARIABLE *str_sscanf();
VARIABLE *str_matcvt();
VARIABLE *str_cvtmat();
/* gra.c */
void gra_init();
void gra_close_sys();
void gra_set_viewport();
void gra_set_window();
void gra_perspective();
void gra_error();
void gra_window_to_viewport();
void gra_translate();
void gra_rotate();
void gra_scale();
void gra_viewpoint();
void gra_getmatrix();
void gra_setmatrix();
void gra_dbuffer_null();
void gra_com_init(void);
void gra_init_matc(int devtype, char *name);
void gra_mtrans(double,double,double,double *,double *,double *);
/* clip.c */
int clip_poly(int *,double *,double *);
int clip_line(int *,double *,double *);
/* c3d.c */
VARIABLE *c3d_gc3d();
VARIABLE *c3d_gc3dlevels();
/* dri/dri_ps.c */
void gra_ps_open();
void gra_ps_close();
void gra_ps_clear();
void gra_ps_defcolor();
void gra_ps_color();
void gra_ps_polyline();
void gra_ps_draw();
void gra_ps_move();
void gra_ps_polymarker();
void gra_ps_marker();
void gra_ps_areafill();
void gra_ps_image();
void gra_ps_text();
void gra_ps_flush();
void gra_ps_reset();
|