# generateDatas.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 _GENERATE_DATAS_H_
    00019 #define _GENERATE_DATAS_H_
    00020
    00021 #include <med.h>
    00022 #define MESGERR 1
    00023
    00024 /* #include <string.h> */
    00025 /* #include <unistd.h> */
    00026
    00027 typedef void (*GenerateDataType)(const int myrank, const int lastrank, const int sizeoftype,
    00028                         const med_storage_mode profilemode, const med_size profilesize, const med_int * const profilearray,
    00029                         const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize,
    00030                         const int nentities, const int nvaluesperentity, const int nconstituentpervalue,
    00031                         med_float ** valuesarray );
    00032
    00033 /*Les données générées, le sont uniquement aux endroits utilisés */
    00034 void generateFullIDatas(const int myrank, const int lastrank, const int sizeoftype,
    00035                         const med_storage_mode profilemode, const med_size profilesize, const med_int * const profilearray,
    00036                         const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize,
    00037                         const int nentities, const int nvaluesperentity, const int nconstituentpervalue,
    00038                         med_float ** valuesarray );
    00039
    00040 void generateNoIDatas(const int myrank, const int lastrank,  const int sizeoftype,
    00041                       const med_storage_mode storagemode, const med_size profilearraysize, const med_int * const profilearray,
    00042                       const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize,
    00043                       const int nentities, const int nvaluesperentity, const int nconstituentpervalue,
    00044                       med_float ** valuesarray );
    00045
    00046 #endif