MED fichier: Fichier source de getBlocksOfEntitiesPartition.h

MED fichier

getBlocksOfEntitiesPartition.h
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2 *
3 * COPYRIGHT (C) 1999 - 2021 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 _GET_BLOCKS_OF_ENTITIES_PARTITION_H
19 #define _GET_BLOCKS_OF_ENTITIES_PARTITION_H
20
21 #include <med.h>
22 #define MESGERR 1
23 /* #include "med_utils.h" */
24
25
26 #include "getBlocksOfEntitiesPartition.h"
27
28 typedef void (*GetBlocksOfEntitiesType)(const int myrank, const int nproc, const int nentities,
29 med_size * const start, med_size * const stride, med_size * const count, med_size * blocksize,
30 int * const lastusedrank, med_size * const lastblocksize );
31
32 void getContinuousBlocksOfEntities(const int myrank, const int nproc, const int nentities,
33 med_size * const start, med_size * const stride, med_size * const count, med_size * blocksize,
34 int * const lastusedrank, med_size * const lastblocksize );
35 void getCyclicBlocksOfEntities(const int myrank, const int nproc, const int nentities,
36 med_size * const start, med_size * const stride, med_size * const count, med_size * blocksize,
37 int * const lastusedrank, med_size * const lastblocksize );
38
39 #endif
40
41
42
43
getCyclicBlocksOfEntities
void getCyclicBlocksOfEntities(const int myrank, const int nproc, const int nentities, med_size *const start, med_size *const stride, med_size *const count, med_size *blocksize, int *const lastusedrank, med_size *const lastblocksize)
Definition: getBlocksOfEntitiesPartition.c:79
med_size
hsize_t med_size
Definition: med.h:329
getBlocksOfEntitiesPartition.h
med.h
getContinuousBlocksOfEntities
void getContinuousBlocksOfEntities(const int myrank, const int nproc, const int nentities, med_size *const start, med_size *const stride, med_size *const count, med_size *blocksize, int *const lastusedrank, med_size *const lastblocksize)
Definition: getBlocksOfEntitiesPartition.c:27
GetBlocksOfEntitiesType
void(* GetBlocksOfEntitiesType)(const int myrank, const int nproc, const int nentities, med_size *const start, med_size *const stride, med_size *const count, med_size *blocksize, int *const lastusedrank, med_size *const lastblocksize)
Definition: getBlocksOfEntitiesPartition.h:28