Version: 6.3.1
Defines | Typedefs | Functions

src/DSC/DSC_User/Datastream/Calcium/Calcium.c File Reference

#include "calcium.h"
#include "calciumf.h"
#include "CalciumFortranInt.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stddef.h>
Include dependency graph for Calcium.c:

Defines

#define CALCIUM_EXT_LECT_INTERFACE_C_(_name, _timeType, _type, _typeName, _qual)
#define STAR   *
#define CALCIUM_LECT_INTERFACE_C_(_name, _timeType, _calInt, _type, _typeName, _qual, lastarg)
#define STAR   *
#define LCH_LAST_PARAM   ,int strsize
#define CALCIUM_ECR_INTERFACE_C_(_name, _timeType, _calInt, _type, _typeName, _qual, lastarg)

Typedefs

typedef int InfoType
typedef char bool

Functions

InfoType ecp_fint_ (void *component, char *nomVar, float t)
InfoType ecp_fini_ (void *component, char *nomVar, int i)
InfoType ecp_efft_ (void *component, char *nomVar, float t)
InfoType ecp_effi_ (void *component, char *nomVar, int i)
InfoType ecp_lch (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, char ***data, int strSize)
void ecp_lch_free (char **data)
InfoType ecp_len (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, int **data)
void ecp_len_free (int *data)
InfoType ecp_lre (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, float **data)
void ecp_lre_free (float *data)
InfoType ecp_ldb (void *component, int mode, double *ti, double *tf, int *i, char *nomvar, int bufferLength, int *nRead, double **data)
void ecp_ldb_free (double *data)
InfoType ecp_llo (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, int **data)
void ecp_llo_free (int *data)
InfoType ecp_lcp (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, float **data)
void ecp_lcp_free (float *data)
int cp_len (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, int *data)
void cp_len_free (int *data)
int cp_llg (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, long *data)
void cp_llg_free (long *data)
int cp_lln (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, long *data)
void cp_lln_free (long *data)
int cp_lre (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, float *data)
void cp_lre_free (float *data)
int cp_ldb (void *component, int mode, double *ti, double *tf, int *i, char *nomvar, int bufferLength, int *nRead, double *data)
void cp_ldb_free (double *data)
int cp_llo (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, int *data)
void cp_llo_free (int *data)
int cp_lcp (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, float *data)
void cp_lcp_free (float *data)
int cp_lch (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, char **data, int strsize)
void cp_lch_free (char **data)
cal_int cp_len_fort_ (void *component, cal_int mode, float *ti, float *tf, cal_int *i, char *nomvar, cal_int bufferLength, cal_int *nRead, cal_int *data)
void cp_len_fort__free (cal_int *data)
cal_int cp_lin_fort_ (void *component, cal_int mode, float *ti, float *tf, cal_int *i, char *nomvar, cal_int bufferLength, cal_int *nRead, int *data)
void cp_lin_fort__free (int *data)
cal_int cp_llg_fort_ (void *component, cal_int mode, float *ti, float *tf, cal_int *i, char *nomvar, cal_int bufferLength, cal_int *nRead, long *data)
void cp_llg_fort__free (long *data)
cal_int cp_lre_fort_ (void *component, cal_int mode, float *ti, float *tf, cal_int *i, char *nomvar, cal_int bufferLength, cal_int *nRead, float *data)
void cp_lre_fort__free (float *data)
cal_int cp_ldb_fort_ (void *component, cal_int mode, double *ti, double *tf, cal_int *i, char *nomvar, cal_int bufferLength, cal_int *nRead, double *data)
void cp_ldb_fort__free (double *data)
cal_int cp_llo_fort_ (void *component, cal_int mode, float *ti, float *tf, cal_int *i, char *nomvar, cal_int bufferLength, cal_int *nRead, int *data)
void cp_llo_fort__free (int *data)
cal_int cp_lcp_fort_ (void *component, cal_int mode, float *ti, float *tf, cal_int *i, char *nomvar, cal_int bufferLength, cal_int *nRead, float *data)
void cp_lcp_fort__free (float *data)
cal_int cp_lch_fort_ (void *component, cal_int mode, float *ti, float *tf, cal_int *i, char *nomvar, cal_int bufferLength, cal_int *nRead, char **data, int strsize)
void cp_lch_fort__free (char **data)
cal_int cp_lln_fort_ (void *component, cal_int mode, float *ti, float *tf, cal_int *i, char *nomvar, cal_int bufferLength, cal_int *nRead, long *data)
void cp_lln_fort__free (long *data)
InfoType cp_cd (void *component, char *instanceName)
InfoType cp_fin (void *component, int code)
int cp_een (void *component, int mode, float t, int i, char *nomvar, int nbelem, int *data)
int cp_elg (void *component, int mode, float t, int i, char *nomvar, int nbelem, long *data)
int cp_ere (void *component, int mode, float t, int i, char *nomvar, int nbelem, float *data)
int cp_edb (void *component, int mode, double t, int i, char *nomvar, int nbelem, double *data)
int cp_elo (void *component, int mode, float t, int i, char *nomvar, int nbelem, int *data)
int cp_ecp (void *component, int mode, float t, int i, char *nomvar, int nbelem, float *data)
int cp_ech (void *component, int mode, float t, int i, char *nomvar, int nbelem, char **data, int strsize)
int cp_eln (void *component, int mode, float t, int i, char *nomvar, int nbelem, long *data)
cal_int cp_een_fort_ (void *component, cal_int mode, float t, cal_int i, char *nomvar, cal_int nbelem, cal_int *data)
cal_int cp_elg_fort_ (void *component, cal_int mode, float t, cal_int i, char *nomvar, cal_int nbelem, long *data)
cal_int cp_ein_fort_ (void *component, cal_int mode, float t, cal_int i, char *nomvar, cal_int nbelem, int *data)
cal_int cp_ere_fort_ (void *component, cal_int mode, float t, cal_int i, char *nomvar, cal_int nbelem, float *data)
cal_int cp_edb_fort_ (void *component, cal_int mode, double t, cal_int i, char *nomvar, cal_int nbelem, double *data)
cal_int cp_elo_fort_ (void *component, cal_int mode, float t, cal_int i, char *nomvar, cal_int nbelem, int *data)
cal_int cp_ecp_fort_ (void *component, cal_int mode, float t, cal_int i, char *nomvar, cal_int nbelem, float *data)
cal_int cp_ech_fort_ (void *component, cal_int mode, float t, cal_int i, char *nomvar, cal_int nbelem, char **data, int strsize)
cal_int cp_eln_fort_ (void *component, cal_int mode, float t, cal_int i, char *nomvar, cal_int nbelem, long *data)
InfoType cp_fini (void *component, char *nomvar, int i)
InfoType cp_fint (void *component, char *nomvar, float t)
InfoType cp_effi (void *component, char *nomvar, int i)
InfoType cp_efft (void *component, char *nomvar, float t)

Define Documentation

#define CALCIUM_EXT_LECT_INTERFACE_C_ (   _name,
  _timeType,
  _type,
  _typeName,
  _qual 
)
#define STAR   *
#define CALCIUM_LECT_INTERFACE_C_ (   _name,
  _timeType,
  _calInt,
  _type,
  _typeName,
  _qual,
  lastarg 
)
#define STAR   *
#define LCH_LAST_PARAM   ,int strsize
#define CALCIUM_ECR_INTERFACE_C_ (   _name,
  _timeType,
  _calInt,
  _type,
  _typeName,
  _qual,
  lastarg 
)
Value:
_calInt cp_##_name (void * component, _calInt mode,                   \
                       _timeType t, _calInt i,                          \
                       char * nomvar, _calInt nbelem,                   \
                       _type _qual * data                               \
                       lastarg ) {                                      \
                                                                        \
    int     _mode         =  mode;                                      \
    long    _i            =  i;                                         \
    size_t  _nbelem       =  nbelem;                                    \
    _timeType _t          =  t;                                         \
    fflush(stdout);                                                     \
    fflush(stderr);                                                     \
    if ( (data == NULL) || (nbelem < 1) ) return CPNTNULL;              \
                                                                        \
    _calInt info =  ecp_ecriture_##_typeName (component, _mode, &_t, _i, \
                                               nomvar, _nbelem,         \
                                               data );                  \
    fflush(stdout);                                                     \
    fflush(stderr);                                                     \
                                                                        \
    return info;                                                        \
  };                                                                    \

Typedef Documentation

typedef int InfoType
typedef char bool

Function Documentation

InfoType ecp_fint_ ( void *  component,
char nomVar,
float  t 
)
InfoType ecp_fini_ ( void *  component,
char nomVar,
int  i 
)
InfoType ecp_efft_ ( void *  component,
char nomVar,
float  t 
)
InfoType ecp_effi_ ( void *  component,
char nomVar,
int  i 
)
InfoType ecp_lch ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
char ***  data,
int  strSize 
)

References CP_SEQUENTIEL, and ecp_lecture_str().

void ecp_lch_free ( char **  data)
InfoType ecp_len ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
int **  data 
)
void ecp_len_free ( int *  data)
InfoType ecp_lre ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
float **  data 
)
void ecp_lre_free ( float *  data)
InfoType ecp_ldb ( void *  component,
int  mode,
double *  ti,
double *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
double **  data 
)
void ecp_ldb_free ( double *  data)
InfoType ecp_llo ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
int **  data 
)
void ecp_llo_free ( int *  data)
InfoType ecp_lcp ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
float **  data 
)
void ecp_lcp_free ( float *  data)
int cp_len ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
int *  data 
)
void cp_len_free ( int *  data)
int cp_llg ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
long *  data 
)
void cp_llg_free ( long *  data)
int cp_lln ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
long *  data 
)
void cp_lln_free ( long *  data)
int cp_lre ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
float *  data 
)
void cp_lre_free ( float *  data)
int cp_ldb ( void *  component,
int  mode,
double *  ti,
double *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
double *  data 
)
void cp_ldb_free ( double *  data)
int cp_llo ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
int *  data 
)
void cp_llo_free ( int *  data)
int cp_lcp ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
float *  data 
)
void cp_lcp_free ( float *  data)
int cp_lch ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char nomvar,
int  bufferLength,
int *  nRead,
char **  data,
int  strsize 
)
void cp_lch_free ( char **  data)
cal_int cp_len_fort_ ( void *  component,
cal_int  mode,
float *  ti,
float *  tf,
cal_int *  i,
char nomvar,
cal_int  bufferLength,
cal_int *  nRead,
cal_int *  data 
)
void cp_len_fort__free ( cal_int *  data)
cal_int cp_lin_fort_ ( void *  component,
cal_int  mode,
float *  ti,
float *  tf,
cal_int *  i,
char nomvar,
cal_int  bufferLength,
cal_int *  nRead,
int *  data 
)
void cp_lin_fort__free ( int *  data)
cal_int cp_llg_fort_ ( void *  component,
cal_int  mode,
float *  ti,
float *  tf,
cal_int *  i,
char nomvar,
cal_int  bufferLength,
cal_int *  nRead,
long *  data 
)
void cp_llg_fort__free ( long *  data)
cal_int cp_lre_fort_ ( void *  component,
cal_int  mode,
float *  ti,
float *  tf,
cal_int *  i,
char nomvar,
cal_int  bufferLength,
cal_int *  nRead,
float *  data 
)
void cp_lre_fort__free ( float *  data)
cal_int cp_ldb_fort_ ( void *  component,
cal_int  mode,
double *  ti,
double *  tf,
cal_int *  i,
char nomvar,
cal_int  bufferLength,
cal_int *  nRead,
double *  data 
)
void cp_ldb_fort__free ( double *  data)
cal_int cp_llo_fort_ ( void *  component,
cal_int  mode,
float *  ti,
float *  tf,
cal_int *  i,
char nomvar,
cal_int  bufferLength,
cal_int *  nRead,
int *  data 
)
void cp_llo_fort__free ( int *  data)
cal_int cp_lcp_fort_ ( void *  component,
cal_int  mode,
float *  ti,
float *  tf,
cal_int *  i,
char nomvar,
cal_int  bufferLength,
cal_int *  nRead,
float *  data 
)
void cp_lcp_fort__free ( float *  data)
cal_int cp_lch_fort_ ( void *  component,
cal_int  mode,
float *  ti,
float *  tf,
cal_int *  i,
char nomvar,
cal_int  bufferLength,
cal_int *  nRead,
char **  data,
int  strsize 
)
void cp_lch_fort__free ( char **  data)
cal_int cp_lln_fort_ ( void *  component,
cal_int  mode,
float *  ti,
float *  tf,
cal_int *  i,
char nomvar,
cal_int  bufferLength,
cal_int *  nRead,
long *  data 
)
void cp_lln_fort__free ( long *  data)
InfoType cp_cd ( void *  component,
char instanceName 
)

References ecp_cd_().

InfoType cp_fin ( void *  component,
int  code 
)

References ecp_fin_().

int cp_een ( void *  component,
int  mode,
float  t,
int  i,
char nomvar,
int  nbelem,
int *  data 
)
int cp_elg ( void *  component,
int  mode,
float  t,
int  i,
char nomvar,
int  nbelem,
long *  data 
)
int cp_ere ( void *  component,
int  mode,
float  t,
int  i,
char nomvar,
int  nbelem,
float *  data 
)
int cp_edb ( void *  component,
int  mode,
double  t,
int  i,
char nomvar,
int  nbelem,
double *  data 
)
int cp_elo ( void *  component,
int  mode,
float  t,
int  i,
char nomvar,
int  nbelem,
int *  data 
)
int cp_ecp ( void *  component,
int  mode,
float  t,
int  i,
char nomvar,
int  nbelem,
float *  data 
)
int cp_ech ( void *  component,
int  mode,
float  t,
int  i,
char nomvar,
int  nbelem,
char **  data,
int  strsize 
)
int cp_eln ( void *  component,
int  mode,
float  t,
int  i,
char nomvar,
int  nbelem,
long *  data 
)
cal_int cp_een_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char nomvar,
cal_int  nbelem,
cal_int *  data 
)
cal_int cp_elg_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char nomvar,
cal_int  nbelem,
long *  data 
)
cal_int cp_ein_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char nomvar,
cal_int  nbelem,
int *  data 
)
cal_int cp_ere_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char nomvar,
cal_int  nbelem,
float *  data 
)
cal_int cp_edb_fort_ ( void *  component,
cal_int  mode,
double  t,
cal_int  i,
char nomvar,
cal_int  nbelem,
double *  data 
)
cal_int cp_elo_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char nomvar,
cal_int  nbelem,
int *  data 
)
cal_int cp_ecp_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char nomvar,
cal_int  nbelem,
float *  data 
)
cal_int cp_ech_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char nomvar,
cal_int  nbelem,
char **  data,
int  strsize 
)
cal_int cp_eln_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char nomvar,
cal_int  nbelem,
long *  data 
)
InfoType cp_fini ( void *  component,
char nomvar,
int  i 
)

References ecp_fini_().

InfoType cp_fint ( void *  component,
char nomvar,
float  t 
)

References ecp_fint_().

InfoType cp_effi ( void *  component,
char nomvar,
int  i 
)

References ecp_effi_().

InfoType cp_efft ( void *  component,
char nomvar,
float  t 
)

References ecp_efft_().

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS