|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_FIELD_POINTER_H__
2 #define __CS_FIELD_POINTER_H__
47 #define CS_ENUMF_(e) CS_FIELD_POINTER_ ## e
51 #define CS_F_(e) cs_glob_field_pointers[CS_FIELD_POINTER_ ## e].f
53 #define CS_FI_(e, i) cs_glob_field_pointers[CS_FIELD_POINTER_ ## e].a->p[i]
344 const int species_f_id[]);
Definition: cs_field_pointer.h:263
Definition: cs_field_pointer.h:218
Definition: cs_field_pointer.h:143
Definition: cs_field_pointer.h:100
Definition: cs_field_pointer.h:131
Definition: cs_field_pointer.h:191
Definition: cs_field_pointer.h:68
Definition: cs_field_pointer.h:189
Definition: cs_field_pointer.h:99
Definition: cs_field_pointer.h:170
Definition: cs_field_pointer.h:157
Definition: cs_field_pointer.h:173
Definition: cs_field_pointer.h:166
Definition: cs_field_pointer.h:238
void cs_field_pointer_map_indexed(cs_field_pointer_id_t e, int index, cs_field_t *f)
Map a field to an (enumerated pointer, index) couple.
Definition: cs_field_pointer.c:225
Definition: cs_field_pointer.h:183
Definition: cs_field_pointer.h:239
Definition: cs_field_pointer.h:184
Definition: cs_field_pointer.h:243
Definition: cs_field_pointer.h:113
Definition: cs_field_pointer.h:112
Definition: cs_field_pointer.h:160
Definition: cs_field_pointer.h:117
Definition: cs_field_pointer.h:134
Definition: cs_field_pointer.h:121
Definition: cs_field_pointer.h:103
Definition: cs_field_pointer.h:152
Definition: cs_field_pointer.h:235
Definition: cs_field_pointer.h:231
Definition: cs_field_pointer.h:81
Definition: cs_field_pointer.h:138
Definition: cs_field_pointer.h:104
Definition: cs_field_pointer.h:227
Definition: cs_field_pointer.h:94
Definition: cs_field_pointer.h:154
Definition: cs_field_pointer.h:211
Definition: cs_field_pointer.h:185
Definition: cs_field_pointer.h:188
Definition: cs_field_pointer.h:155
Definition: cs_field_pointer.h:204
Definition: cs_field_pointer.h:202
Definition: cs_field_pointer.h:74
Definition: cs_field_pointer.h:175
void cs_field_pointer_map_coal_combustion(int n_coals, int n_classes)
Map base fields to enumerated pointers for coal combustion.
Definition: cs_field_pointer.c:410
#define END_C_DECLS
Definition: cs_defs.h:468
union cs_field_pointer_val_t * cs_glob_field_pointers
Definition: cs_field_pointer.c:130
Definition: cs_field_pointer.h:171
Definition: cs_field_pointer.h:198
Definition: cs_field_pointer.h:126
Definition: cs_field_pointer.h:176
Definition: cs_field_pointer.h:79
Definition: cs_field_pointer.h:137
Definition: cs_field_pointer.h:208
Definition: cs_field_pointer.h:86
Definition: cs_field_pointer.h:207
void cs_field_pointer_map_atmospheric(int n_chem_species, const int species_f_id[])
Map base fields to enumerated pointers for atmospheric models.
Definition: cs_field_pointer.c:383
Definition: cs_field_pointer.h:236
Definition: cs_field_pointer.h:165
Definition: cs_field_pointer.h:127
Definition: cs_field_pointer.h:141
Definition: cs_field_pointer.h:222
Definition: cs_field_pointer.h:125
Definition: cs_field_pointer.h:193
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
Definition: cs_field_pointer.h:123
void cs_field_pointer_destroy_all(void)
Free all field pointer data.
Definition: cs_field_pointer.c:172
Definition: cs_field_pointer.h:135
Definition: cs_field_pointer.h:90
Definition: cs_field_pointer.h:234
Definition: cs_field_pointer.h:190
Definition: cs_field_pointer.h:77
Definition: cs_field_pointer.h:196
Definition: cs_field_pointer.h:215
Definition: cs_field_pointer.h:161
Definition: cs_field_pointer.h:147
Definition: cs_field_pointer.h:149
Definition: cs_field_pointer.h:225
Definition: cs_field_pointer.h:217
Definition: cs_field_pointer.h:110
Definition: cs_field_pointer.h:146
Definition: cs_field_pointer.h:250
void cs_field_pointer_map_gas_combustion(void)
Map base fields to enumerated pointers for gas combustion.
Definition: cs_field_pointer.c:527
Definition: cs_field_pointer.h:139
Definition: cs_field_pointer.h:233
Definition: cs_field_pointer.h:174
int n
Definition: cs_field_pointer.h:257
Definition: cs_field_pointer.h:194
Definition: cs_field_pointer.h:71
Definition: cs_field_pointer.h:148
Definition: cs_field_pointer.h:206
Definition: cs_field_pointer.h:151
void cs_field_pointer_map_boundary(void)
Map some boundary fields to enumerated pointers.
Definition: cs_field_pointer.c:364
void cs_field_pointer_map_compressible(void)
Map base fields to enumerated pointers for compressible model.
Definition: cs_field_pointer.c:477
Definition: cs_field_pointer.h:78
Definition: cs_field_pointer.h:83
Definition: cs_field_pointer.h:145
struct cs_field_pointer_array_t * a
Definition: cs_field_pointer.h:265
Definition: cs_field_pointer.h:75
Definition: cs_field_pointer.h:226
Definition: cs_field_pointer.h:213
Definition: cs_field_pointer.h:167
void cs_field_pointer_map_base(void)
Map base fields to enumerated pointers.
Definition: cs_field_pointer.c:289
Definition: cs_field_pointer.h:172
Definition: cs_field_pointer.h:162
Definition: cs_field_pointer.h:221
Definition: cs_field_pointer.h:246
Definition: cs_field_pointer.h:216
Definition: cs_field_pointer.h:179
Definition: cs_field_pointer.h:240
Definition: cs_field_pointer.h:76
cs_field_pointer_id_t
Definition: cs_field_pointer.h:61
Definition: cs_field_pointer.h:156
Definition: cs_field_pointer.h:192
Definition: cs_field_pointer.h:212
Definition: cs_field_pointer.h:132
Definition: cs_field_pointer.h:201
Definition: cs_field_pointer.h:82
Definition: cs_field_pointer.h:169
Definition: cs_field_pointer.h:163
Definition: cs_field_pointer.h:158
Definition: cs_field_pointer.h:98
Definition: cs_field_pointer.h:187
Definition: cs_field_pointer.h:116
cs_field_t * f
Definition: cs_field_pointer.h:264
Definition: cs_field_pointer.h:203
void cs_field_pointer_map(cs_field_pointer_id_t e, cs_field_t *f)
Map a simple field to an enumerated pointer.
Definition: cs_field_pointer.c:196
Definition: cs_field_pointer.h:106
Definition: cs_field_pointer.h:230
Definition: cs_field_pointer.h:115
Definition: cs_field_pointer.h:150
Definition: cs_field_pointer.h:159
Definition: cs_field_pointer.h:142
Definition: cs_field_pointer.h:129
Definition: cs_field_pointer.h:65
Definition: cs_field_pointer.h:219
Definition: cs_field_pointer.h:73
Definition: cs_field_pointer.h:153
Definition: cs_field_pointer.h:232
cs_field_t * p[]
Definition: cs_field_pointer.h:258
Definition: cs_field_pointer.h:92
Definition: cs_field_pointer.h:220
void cs_field_pointer_map_groundwater(void)
Map base fields to enumerated pointers for groundwater flows.
Definition: cs_field_pointer.c:561
Definition: cs_field_pointer.h:256
Definition: cs_field_pointer.h:178
Definition: cs_field_pointer.h:182
Definition: cs_field_pointer.h:224
Definition: cs_field_pointer.h:205
Definition: cs_field_pointer.h:214
Definition: cs_field_pointer.h:87
Definition: cs_field_pointer.h:97
Definition: cs_field_pointer.h:168
Field descriptor.
Definition: cs_field.h:124
void cs_field_pointer_map_gas_mix(void)
Map base fields to enumerated pointers for gas mix model.
Definition: cs_field_pointer.c:514
Definition: cs_field_pointer.h:101
Definition: cs_field_pointer.h:107
Definition: cs_field_pointer.h:95
Definition: cs_field_pointer.h:229
Definition: cs_field_pointer.h:223
Definition: cs_field_pointer.h:181
#define CS_ENUMF_(e)
Macro used for scoping of field pointer enums.
Definition: cs_field_pointer.h:47
Definition: cs_field_pointer.h:109
Definition: cs_field_pointer.h:228
Definition: cs_field_pointer.h:237
Definition: cs_field_pointer.h:130
Definition: cs_field_pointer.h:70
Definition: cs_field_pointer.h:67