39#if defined(__cplusplus)
43#define BMI_SUCCESS (0)
44#define BMI_FAILURE (1)
46#define BMI_MAX_UNITS_NAME (2048)
47#define BMI_MAX_TYPE_NAME (2048)
48#define BMI_MAX_COMPONENT_NAME (2048)
49#define BMI_MAX_VAR_NAME (2048)
50#define BMI_MAX_LOCATION_NAME (2048)
119#if defined(__cplusplus)
int(* get_end_time)(struct Bmi *self, double *time)
Definition bmi.h:80
int(* finalize)(struct Bmi *self)
Definition bmi.h:60
int(* get_start_time)(struct Bmi *self, double *time)
Definition bmi.h:79
int(* get_grid_edge_count)(struct Bmi *self, int grid, int *count)
Definition bmi.h:110
int(* get_output_var_names)(struct Bmi *self, char **names)
Definition bmi.h:67
int(* update_until)(struct Bmi *self, double then)
Definition bmi.h:59
int(* get_grid_node_count)(struct Bmi *self, int grid, int *count)
Definition bmi.h:109
int(* get_var_type)(struct Bmi *self, const char *name, char *type)
Definition bmi.h:71
void * data
Definition bmi.h:54
int(* get_grid_x)(struct Bmi *self, int grid, double *x)
Definition bmi.h:104
int(* set_value_at_indices)(struct Bmi *self, const char *name, int *inds, int count, void *src)
Definition bmi.h:91
int(* get_grid_face_nodes)(struct Bmi *self, int grid, int *face_nodes)
Definition bmi.h:114
int(* get_grid_y)(struct Bmi *self, int grid, double *y)
Definition bmi.h:105
int(* get_value_at_indices)(struct Bmi *self, const char *name, void *dest, int *inds, int count)
Definition bmi.h:87
int(* get_input_var_names)(struct Bmi *self, char **names)
Definition bmi.h:66
int(* get_grid_edge_nodes)(struct Bmi *self, int grid, int *edge_nodes)
Definition bmi.h:112
int(* get_input_item_count)(struct Bmi *self, int *count)
Definition bmi.h:64
int(* get_var_nbytes)(struct Bmi *self, const char *name, int *nbytes)
Definition bmi.h:74
int(* get_current_time)(struct Bmi *self, double *time)
Definition bmi.h:78
int(* get_value)(struct Bmi *self, const char *name, void *dest)
Definition bmi.h:85
int(* set_value)(struct Bmi *self, const char *name, void *src)
Definition bmi.h:90
int(* get_grid_shape)(struct Bmi *self, int grid, int *shape)
Definition bmi.h:99
int(* get_grid_rank)(struct Bmi *self, int grid, int *rank)
Definition bmi.h:94
int(* get_value_ptr)(struct Bmi *self, const char *name, void **dest_ptr)
Definition bmi.h:86
int(* get_var_units)(struct Bmi *self, const char *name, char *units)
Definition bmi.h:72
int(* get_output_item_count)(struct Bmi *self, int *count)
Definition bmi.h:65
int(* get_var_location)(struct Bmi *self, const char *name, char *location)
Definition bmi.h:75
int(* get_var_grid)(struct Bmi *self, const char *name, int *grid)
Definition bmi.h:70
int(* update)(struct Bmi *self)
Definition bmi.h:58
int(* get_grid_nodes_per_face)(struct Bmi *self, int grid, int *nodes_per_face)
Definition bmi.h:115
int(* get_grid_spacing)(struct Bmi *self, int grid, double *spacing)
Definition bmi.h:100
int(* get_grid_size)(struct Bmi *self, int grid, int *size)
Definition bmi.h:95
int(* get_grid_face_count)(struct Bmi *self, int grid, int *count)
Definition bmi.h:111
int(* get_time_units)(struct Bmi *self, char *units)
Definition bmi.h:81
int(* get_time_step)(struct Bmi *self, double *time_step)
Definition bmi.h:82
int(* get_var_itemsize)(struct Bmi *self, const char *name, int *size)
Definition bmi.h:73
int(* get_component_name)(struct Bmi *self, char *name)
Definition bmi.h:63
int(* get_grid_face_edges)(struct Bmi *self, int grid, int *face_edges)
Definition bmi.h:113
int(* initialize)(struct Bmi *self, const char *config_file)
Definition bmi.h:57
int(* get_grid_origin)(struct Bmi *self, int grid, double *origin)
Definition bmi.h:101
int(* get_grid_z)(struct Bmi *self, int grid, double *z)
Definition bmi.h:106
int(* get_grid_type)(struct Bmi *self, int grid, char *type)
Definition bmi.h:96