Ice Sheet System Model  4.18
Code documentation
Chacox.h
Go to the documentation of this file.
1 
5 #ifndef _CHACOX_H
6 #define _CHACOX_H
7 
8 #ifdef HAVE_CONFIG_H
9 #include <config.h>
10 #else
11 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
12 #endif
13 
14 #include <stdio.h>
15 #include <string.h>
16 
17 #ifdef _HAVE_CHACO_ //only works if dakota library has been compiled in.
18 
19 #include "chaco.h"
20 
21 #define OPT_GLOBAL 0
22 #define OPT_LOCAL 1
23 #define OPT_VWGTS 2
24 #define OPT_EWGTS 3
25 #define OPT_ARCH 4
26 #define OPT_NDIMS 5
27 #define OPT_VMAX 6
28 #define OPT_RQI 7
29 #define OPT_EIGTOL 8
30 #define OPT_SEED 9
31 
32 #endif
33 
34 #include "../../classes/classes.h"
35 
36 /* local prototypes: */
37 int Chacox( int nvtxs, int *start, int *adjacency,int *vwgts, float *ewgts, float *x, float *y, float *z, short *assignment, double options[10], int *nparts, double *goal);
38 int input_parse( char *outassignname, char *outfilename, int *architecture, int *ndims_tot, int mesh_dims[3], int *global_method, int *local_method,
39  int *rqi_flag, int *vmax, int *ndims, int *nprocs, double options[10], int *nparts);
40 double chaco_seconds(void);
41 
42 #undef __FUNCT__
43 #define __FUNCT__ "Chacox"
44 
45 #endif /* _CHACOX_H */
chaco_seconds
double chaco_seconds(void)
Definition: chaco_seconds.cpp:10
input_parse
int input_parse(char *outassignname, char *outfilename, int *architecture, int *ndims_tot, int mesh_dims[3], int *global_method, int *local_method, int *rqi_flag, int *vmax, int *ndims, int *nprocs, double options[10], int *nparts)
Definition: input_parse.cpp:10
Chacox
int Chacox(int nvtxs, int *start, int *adjacency, int *vwgts, float *ewgts, float *x, float *y, float *z, short *assignment, double options[10], int *nparts, double *goal)
Definition: Chacox.cpp:7