Version: 9.15.0
CalciumC.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 CalciumC.c:

Macros

#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_lrd (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, float **data)
 
void ecp_lrd_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_lrd (void *component, int mode, float *ti, float *tf, int *i, char *nomvar, int bufferLength, int *nRead, float *data)
 
void cp_lrd_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_lrd_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_lrd_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_erd (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_erd_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)
 

Macro Definition Documentation

◆ CALCIUM_ECR_INTERFACE_C_

#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; \
} \
#define CPNTNULL
Definition: calciumP.h:283
stdout
Definition: SALOME_ContainerPy.py:373

◆ CALCIUM_EXT_LECT_INTERFACE_C_

#define CALCIUM_EXT_LECT_INTERFACE_C_ (   _name,
  _timeType,
  _type,
  _typeName,
  _qual 
)

◆ CALCIUM_LECT_INTERFACE_C_

#define CALCIUM_LECT_INTERFACE_C_ (   _name,
  _timeType,
  _calInt,
  _type,
  _typeName,
  _qual,
  lastarg 
)

◆ LCH_LAST_PARAM

#define LCH_LAST_PARAM   ,int strsize

◆ STAR [1/2]

#define STAR   *

◆ STAR [2/2]

#define STAR   *

Typedef Documentation

◆ bool

typedef char bool

◆ InfoType

typedef int InfoType

Function Documentation

◆ cp_cd()

InfoType cp_cd ( void *  component,
char *  instanceName 
)

References ecp_cd_().

◆ cp_ech()

int cp_ech ( void *  component,
int  mode,
float  t,
int  i,
char *  nomvar,
int  nbelem,
char **  data,
int  strsize 
)

◆ cp_ech_fort_()

cal_int cp_ech_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char *  nomvar,
cal_int  nbelem,
char **  data,
int  strsize 
)

Referenced by F_FUNC().

◆ cp_ecp()

int cp_ecp ( void *  component,
int  mode,
float  t,
int  i,
char *  nomvar,
int  nbelem,
float *  data 
)

◆ cp_ecp_fort_()

cal_int cp_ecp_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char *  nomvar,
cal_int  nbelem,
float *  data 
)

Referenced by F_FUNC().

◆ cp_edb()

int cp_edb ( void *  component,
int  mode,
double  t,
int  i,
char *  nomvar,
int  nbelem,
double *  data 
)

◆ cp_edb_fort_()

cal_int cp_edb_fort_ ( void *  component,
cal_int  mode,
double  t,
cal_int  i,
char *  nomvar,
cal_int  nbelem,
double *  data 
)

Referenced by F_FUNC().

◆ cp_een()

int cp_een ( void *  component,
int  mode,
float  t,
int  i,
char *  nomvar,
int  nbelem,
int *  data 
)

◆ cp_een_fort_()

cal_int cp_een_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char *  nomvar,
cal_int  nbelem,
cal_int *  data 
)

Referenced by F_FUNC().

◆ cp_effi()

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

References ecp_effi_().

◆ cp_efft()

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

References ecp_efft_().

◆ cp_ein_fort_()

cal_int cp_ein_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char *  nomvar,
cal_int  nbelem,
int *  data 
)

Referenced by F_FUNC().

◆ cp_elg()

int cp_elg ( void *  component,
int  mode,
float  t,
int  i,
char *  nomvar,
int  nbelem,
long *  data 
)

◆ cp_elg_fort_()

cal_int cp_elg_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char *  nomvar,
cal_int  nbelem,
long *  data 
)

Referenced by F_FUNC().

◆ cp_eln()

int cp_eln ( void *  component,
int  mode,
float  t,
int  i,
char *  nomvar,
int  nbelem,
long *  data 
)

◆ cp_eln_fort_()

cal_int cp_eln_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char *  nomvar,
cal_int  nbelem,
long *  data 
)

Referenced by F_FUNC().

◆ cp_elo()

int cp_elo ( void *  component,
int  mode,
float  t,
int  i,
char *  nomvar,
int  nbelem,
int *  data 
)

◆ cp_elo_fort_()

cal_int cp_elo_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char *  nomvar,
cal_int  nbelem,
int *  data 
)

Referenced by F_FUNC().

◆ cp_erd()

int cp_erd ( void *  component,
int  mode,
float  t,
int  i,
char *  nomvar,
int  nbelem,
float *  data 
)

◆ cp_erd_fort_()

cal_int cp_erd_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char *  nomvar,
cal_int  nbelem,
float *  data 
)

Referenced by F_FUNC().

◆ cp_ere()

int cp_ere ( void *  component,
int  mode,
float  t,
int  i,
char *  nomvar,
int  nbelem,
float *  data 
)

◆ cp_ere_fort_()

cal_int cp_ere_fort_ ( void *  component,
cal_int  mode,
float  t,
cal_int  i,
char *  nomvar,
cal_int  nbelem,
float *  data 
)

Referenced by F_FUNC().

◆ cp_fin()

InfoType cp_fin ( void *  component,
int  code 
)

References ecp_fin_().

◆ cp_fini()

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

References ecp_fini_().

◆ cp_fint()

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

References ecp_fint_().

◆ cp_lch()

int cp_lch ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
char **  data,
int  strsize 
)

◆ cp_lch_fort_()

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 
)

Referenced by F_FUNC().

◆ cp_lch_fort__free()

void cp_lch_fort__free ( char **  data)

◆ cp_lch_free()

void cp_lch_free ( char **  data)

◆ cp_lcp()

int cp_lcp ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
float *  data 
)

◆ cp_lcp_fort_()

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 
)

Referenced by F_FUNC().

◆ cp_lcp_fort__free()

void cp_lcp_fort__free ( float *  data)

◆ cp_lcp_free()

void cp_lcp_free ( float *  data)

◆ cp_ldb()

int cp_ldb ( void *  component,
int  mode,
double *  ti,
double *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
double *  data 
)

◆ cp_ldb_fort_()

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 
)

Referenced by F_FUNC().

◆ cp_ldb_fort__free()

void cp_ldb_fort__free ( double *  data)

◆ cp_ldb_free()

void cp_ldb_free ( double *  data)

◆ cp_len()

int cp_len ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
int *  data 
)

◆ cp_len_fort_()

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 
)

Referenced by F_FUNC().

◆ cp_len_fort__free()

void cp_len_fort__free ( cal_int *  data)

◆ cp_len_free()

void cp_len_free ( int *  data)

◆ cp_lin_fort_()

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 
)

Referenced by F_FUNC().

◆ cp_lin_fort__free()

void cp_lin_fort__free ( int *  data)

◆ cp_llg()

int cp_llg ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
long *  data 
)

◆ cp_llg_fort_()

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 
)

Referenced by F_FUNC().

◆ cp_llg_fort__free()

void cp_llg_fort__free ( long *  data)

◆ cp_llg_free()

void cp_llg_free ( long *  data)

◆ cp_lln()

int cp_lln ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
long *  data 
)

◆ cp_lln_fort_()

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 
)

Referenced by F_FUNC().

◆ cp_lln_fort__free()

void cp_lln_fort__free ( long *  data)

◆ cp_lln_free()

void cp_lln_free ( long *  data)

◆ cp_llo()

int cp_llo ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
int *  data 
)

◆ cp_llo_fort_()

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 
)

Referenced by F_FUNC().

◆ cp_llo_fort__free()

void cp_llo_fort__free ( int *  data)

◆ cp_llo_free()

void cp_llo_free ( int *  data)

◆ cp_lrd()

int cp_lrd ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
float *  data 
)

◆ cp_lrd_fort_()

cal_int cp_lrd_fort_ ( void *  component,
cal_int  mode,
float *  ti,
float *  tf,
cal_int *  i,
char *  nomvar,
cal_int  bufferLength,
cal_int *  nRead,
float *  data 
)

Referenced by F_FUNC().

◆ cp_lrd_fort__free()

void cp_lrd_fort__free ( float *  data)

◆ cp_lrd_free()

void cp_lrd_free ( float *  data)

◆ cp_lre()

int cp_lre ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
float *  data 
)

◆ cp_lre_fort_()

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 
)

Referenced by F_FUNC().

◆ cp_lre_fort__free()

void cp_lre_fort__free ( float *  data)

◆ cp_lre_free()

void cp_lre_free ( float *  data)

◆ ecp_effi_()

InfoType ecp_effi_ ( void *  component,
char *  nomVar,
int  i 
)

◆ ecp_efft_()

InfoType ecp_efft_ ( void *  component,
char *  nomVar,
float  t 
)

◆ ecp_fini_()

InfoType ecp_fini_ ( void *  component,
char *  nomVar,
int  i 
)

◆ ecp_fint_()

InfoType ecp_fint_ ( void *  component,
char *  nomVar,
float  t 
)

◆ ecp_lch()

InfoType ecp_lch ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
char ***  data,
int  strSize 
)

◆ ecp_lch_free()

void ecp_lch_free ( char **  data)

◆ ecp_lcp()

InfoType ecp_lcp ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
float **  data 
)

◆ ecp_lcp_free()

void ecp_lcp_free ( float *  data)

◆ ecp_ldb()

InfoType ecp_ldb ( void *  component,
int  mode,
double *  ti,
double *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
double **  data 
)

◆ ecp_ldb_free()

void ecp_ldb_free ( double *  data)

◆ ecp_len()

InfoType ecp_len ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
int **  data 
)

◆ ecp_len_free()

void ecp_len_free ( int *  data)

◆ ecp_llo()

InfoType ecp_llo ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
int **  data 
)

◆ ecp_llo_free()

void ecp_llo_free ( int *  data)

◆ ecp_lrd()

InfoType ecp_lrd ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
float **  data 
)

◆ ecp_lrd_free()

void ecp_lrd_free ( float *  data)

◆ ecp_lre()

InfoType ecp_lre ( void *  component,
int  mode,
float *  ti,
float *  tf,
int *  i,
char *  nomvar,
int  bufferLength,
int *  nRead,
float **  data 
)

◆ ecp_lre_free()

void ecp_lre_free ( float *  data)