# getBlocksOfEntitiesPartition.h

Aller à la documentation de ce fichier.

    00001 /*  This file is part of MED.
    00002  *
    00003  *  COPYRIGHT (C) 1999 - 2012  EDF R&D, CEA/DEN
    00004  *  MED is free software: you can redistribute it and/or modify
    00005  *  it under the terms of the GNU Lesser General Public License as published by
    00006  *  the Free Software Foundation, either version 3 of the License, or
    00007  *  (at your option) any later version.
    00008  *
    00009  *  MED is distributed in the hope that it will be useful,
    00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00012  *  GNU Lesser General Public License for more details.
    00013  *
    00014  *  You should have received a copy of the GNU Lesser General Public License
    00015  *  along with MED.  If not, see <http://www.gnu.org/licenses/>.
    00016  */
    00017
    00018 #ifndef _GET_BLOCKS_OF_ENTITIES_PARTITION_H
    00019 #define _GET_BLOCKS_OF_ENTITIES_PARTITION_H
    00020
    00021 #include <med.h>
    00022 #define MESGERR 1
    00023 /* #include "med_utils.h" */
    00024
    00025
    00026 #include "getBlocksOfEntitiesPartition.h"
    00027
    00028 typedef void (*GetBlocksOfEntitiesType)(const int myrank, const int nproc, const int nentities,
    00029                                    med_size * const start, med_size * const stride, med_size * const count, med_size * blocksize,
    00030                                    int * const lastusedrank, med_size * const lastblocksize );
    00031
    00032 void getContinuousBlocksOfEntities(const int myrank, const int nproc, const int nentities,
    00033                                    med_size * const start, med_size * const stride, med_size * const count, med_size * blocksize,
    00034                                    int * const lastusedrank, med_size * const lastblocksize );
    00035 void getCyclicBlocksOfEntities(const int myrank, const int nproc, const int nentities,
    00036                                    med_size * const start, med_size * const stride, med_size * const count, med_size * blocksize,
    00037                                    int * const lastusedrank, med_size * const lastblocksize );
    00038
    00039 #endif
    00040
    00041
    00042
    00043