MED fichier
generateDatas.h
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2  *
3  * COPYRIGHT (C) 1999 - 2023 EDF R&D, CEA/DEN
4  * MED is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * MED is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with MED. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef _GENERATE_DATAS_H_
19 #define _GENERATE_DATAS_H_
20 
21 #include <med.h>
22 #define MESGERR 1
23 
24 /* #include <string.h> */
25 /* #include <unistd.h> */
26 
27 typedef void (*GenerateDataType)(const int myrank, const int lastrank, const int sizeoftype,
28  const med_storage_mode profilemode, const med_size profilesize, const med_int * const profilearray,
29  const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize,
30  const int nentities, const int nvaluesperentity, const int nconstituentpervalue,
31  med_float ** valuesarray );
32 
33 /*Les données générées, le sont uniquement aux endroits utilisés */
34 void generateFullIDatas(const int myrank, const int lastrank, const int sizeoftype,
35  const med_storage_mode profilemode, const med_size profilesize, const med_int * const profilearray,
36  const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize,
37  const int nentities, const int nvaluesperentity, const int nconstituentpervalue,
38  med_float ** valuesarray );
39 
40 void generateNoIDatas(const int myrank, const int lastrank, const int sizeoftype,
41  const med_storage_mode storagemode, const med_size profilearraysize, const med_int * const profilearray,
42  const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize,
43  const int nentities, const int nvaluesperentity, const int nconstituentpervalue,
44  med_float ** valuesarray );
45 
46 #endif
generateFullIDatas
void generateFullIDatas(const int myrank, const int lastrank, const int sizeoftype, const med_storage_mode profilemode, const med_size profilesize, const med_int *const profilearray, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, const int nentities, const int nvaluesperentity, const int nconstituentpervalue, med_float **valuesarray)
Definition: generateDatas.c:31
GenerateDataType
void(* GenerateDataType)(const int myrank, const int lastrank, const int sizeoftype, const med_storage_mode profilemode, const med_size profilesize, const med_int *const profilearray, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, const int nentities, const int nvaluesperentity, const int nconstituentpervalue, med_float **valuesarray)
Definition: generateDatas.h:27
med_size
hsize_t med_size
Definition: med.h:331
generateNoIDatas
void generateNoIDatas(const int myrank, const int lastrank, const int sizeoftype, const med_storage_mode storagemode, const med_size profilearraysize, const med_int *const profilearray, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, const int nentities, const int nvaluesperentity, const int nconstituentpervalue, med_float **valuesarray)
Definition: generateDatas.c:103
med_int
int med_int
Definition: med.h:344
med_float
double med_float
Definition: med.h:338
med.h
med_storage_mode
med_storage_mode
Definition: med.h:110