Menu

[r6378]: / trunk / toolkits / natgrid / src / nnuhead.h  Maximize  Restore  History

Download this file

51 lines (38 with data), 1.4 kB

 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
#include <stdio.h>
#include <string.h>
#define EQ ==
#define NE !=
#define AND &&
#define OR ||
extern int igrad, densi, non_neg, sdip, rads,
optim, extrap, southhemi, updir, auto_scale,
adf, nndup, single_point;
extern double bI, bJ, magx, magy,
magz, horilap, vertlap, nuldat,
magx_auto, magy_auto, magz_auto, horilap_save,
vertlap_save;
extern char tri_file[], error_file[], emsg[];
/*
* Fortran function macro. This macro is used to provide the appropriate
* system-specific C function name for it to be Fortran callable.
*/
#ifndef NGCALLF
#if defined(UNICOS) || defined(NGCAPS)
#define NGCALLF(reg,caps) caps
#elif defined(RS6000) || defined(__hpux)
#define NGCALLF(reg,caps) reg
#else
#ifdef __STDC__
#define NGCALLF(reg,caps) reg##_
#else
#define NGCALLF(reg,caps) reg/**/_
#endif /* __STDC__ */
#endif /* UNICOS else ... */
#endif /* NGCALLF */
void c_nnsetc(char *, char *);
void c_nngetc(char *, char *);
void c_nnseti(char *, int);
void c_nngeti(char *, int *);
extern void ErrorHnd(int, char *, FILE *, char *);
void NGCALLF(nnseti,NNSETI) (char *, int *);
void NGCALLF(nngeti,NNGETI) (char *, int *);
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.