medparameter.h
Aller à la documentation de ce fichier.
/* This file is part of MED.
*
* COPYRIGHT (C) 1999 - 2020 EDF R&D, CEA/DEN
* MED is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MED is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with MED. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MED_MEDPARAMETER_H
#define MED_MEDPARAMETER_H
#include "medC_win_dll.h"
#ifdef __cplusplus
extern "C" {
#endif
MEDC_EXPORT med_err
MEDparameterCr(const med_idt fid,
const char * const paramname,
const med_parameter_type paramtype,
const char* const description,
const char * const dtunit
);
MEDC_EXPORT med_int
MEDnParameter(const med_idt fid);
MEDC_EXPORT med_err
MEDparameterInfo(const med_idt fid,
const int paramit,
char * const paramname,
med_parameter_type * const paramtype,
char * const description,
char * const dtunit,
med_int * const nstep);
MEDC_EXPORT med_err
MEDparameterInfoByName(const med_idt fid,
const char * const paramname,
med_parameter_type * const paramtype,
char * const description,
char * const dtunit,
med_int * const nstep);
MEDC_EXPORT med_err
MEDparameterValueWr(const med_idt fid,
const char* const paramname,
const med_int numdt,
const med_int numit,
const med_float dt,
const unsigned char* const value);
MEDC_EXPORT med_err
MEDparameterValueRd(const med_idt fid,
const char* const paramname,
const med_int numdt,
const med_int numit,
unsigned char* const value);
MEDC_EXPORT med_err
MEDparameterComputationStepInfo(const med_idt fid,
const char * const paramname,
const int csit,
med_int * const numdt,
med_int * const numit,
med_float * const dt );
#ifdef __cplusplus
}
#endif
#endif /* MED_MEDPARAMETER_H */
MEDparameterComputationStepInfo
MEDC_EXPORT med_err MEDparameterComputationStepInfo(const med_idt fid, const char *const paramname, const int csit, med_int *const numdt, med_int *const numit, med_float *const dt)
Cette routine permet la lecture des informations relatives à une étape de calcul du paramètre numériq...
Definition MEDparameterComputationStepInfo.c:38
MEDparameterInfoByName
MEDC_EXPORT med_err MEDparameterInfoByName(const med_idt fid, const char *const paramname, med_parameter_type *const paramtype, char *const description, char *const dtunit, med_int *const nstep)
Cette routine permet la lecture des informations relatives à un paramètre scalaire.
Definition MEDparameterInfoByName.c:37
MEDnParameter
MEDC_EXPORT med_int MEDnParameter(const med_idt fid)
Cette routine permet la lecture du nombre de paramètre numérique scalaire dans un fichier.
Definition MEDnParameter.c:34
MEDparameterInfo
MEDC_EXPORT med_err MEDparameterInfo(const med_idt fid, const int paramit, char *const paramname, med_parameter_type *const paramtype, char *const description, char *const dtunit, med_int *const nstep)
Cette routine permet la lecture des informations relatives à un paramètre scalaire via un itérateur.
Definition MEDparameterInfo.c:37
MEDparameterValueRd
MEDC_EXPORT med_err MEDparameterValueRd(const med_idt fid, const char *const paramname, const med_int numdt, const med_int numit, unsigned char *const value)
Cette routine permet la lecture de la valeur d'un paramètre numérique scalaire.
Definition MEDparameterValueRd.c:37
MEDparameterCr
MEDC_EXPORT med_err MEDparameterCr(const med_idt fid, const char *const paramname, const med_parameter_type paramtype, const char *const description, const char *const dtunit)
Cette routine permet la création d'un paramètre numérique scalaire.
Definition MEDparameterCr.c:38
MEDparameterValueWr
MEDC_EXPORT med_err MEDparameterValueWr(const med_idt fid, const char *const paramname, const med_int numdt, const med_int numit, const med_float dt, const unsigned char *const value)
Cette routine permet l'écriture de la valeur d'un paramètre numérique scalaire.
Definition MEDparameterValueWr.c:39
MEDC_EXPORT
#define MEDC_EXPORT
Definition medC_win_dll.h:29
medC_win_dll.h
med_parameter_type
med_field_type med_parameter_type
Definition med.h:178
med_int
int med_int
Definition med.h:333
med_float
double med_float
Definition med.h:327
med_err
herr_t med_err
Definition med.h:323
med_idt
hid_t med_idt
Definition med.h:322