SPModel: libSPModel/src/ParameterTimeSeries.h File Reference
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

ParameterTimeSeries.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ParameterTimeSeries

Defines

#define __ParameterTimeSeries
#define ParameterTimeSeries_Interpolate(parameterTimeSeries, data)

Functions

ParameterTimeSeriesParameterTimeSeries_DefaultNew (Name name)
ParameterTimeSeriesParameterTimeSeries_New (Name name, double defaultValue, Dictionary *dictionary)
ParameterTimeSeries_ParameterTimeSeries_New (SizeT _sizeOfSelf, Type type, Stg_Class_DeleteFunction *_delete, Stg_Class_PrintFunction *_print, Stg_Class_CopyFunction *_copy, Stg_Component_DefaultConstructorFunction *_defaultConstructor, Stg_Component_ConstructFunction *_construct, Stg_Component_BuildFunction *_build, Stg_Component_InitialiseFunction *_initialise, Stg_Component_ExecuteFunction *_execute, Stg_Component_DestroyFunction *_destroy, Name name, double defaultValue, Bool initFlag, Dictionary *dictionary)
void ParameterTimeSeries_Init (ParameterTimeSeries *self)
void ParameterTimeSeries_Print (void *parameterTimeSeries, Stream *stream)
void ParameterTimeSeries_Delete (void *parameterTimeSeries)
void ParameterTimeSeries_Construct (void *parameterTimeSeries, Stg_ComponentFactory *cf)
void ParameterTimeSeries_Build (void *parameterTimeSeries, void *data)
void ParameterTimeSeries_Initialise (void *parameterTimeSeries, void *data)
void ParameterTimeSeries_Execute (void *parameterTimeSeries, void *data)
void ParameterTimeSeries_Destroy (void *parameterTimeSeries, void *data)
void ParameterTimeSeries_InterpolateFunc (ParameterTimeSeries *parameterTimeSeries, void *data)


Define Documentation

#define __ParameterTimeSeries
 

Value:

struct{ __Stg_Component }; \
        double      *timeStepArray; \
        double      *parameterValueArray; \
        int         numEntries; \
        int         currIndex; \
        double      value; \
        double      defaultValue; \
        Dictionary  *dictionary;

Definition at line 27 of file ParameterTimeSeries.h.

#define ParameterTimeSeries_Interpolate parameterTimeSeries,
data   ) 
 

Value:

(parameterTimeSeries->numEntries ? \
    ParameterTimeSeries_InterpolateFunc( parameterTimeSeries, data) : \
    parameterTimeSeries->value)

Definition at line 76 of file ParameterTimeSeries.h.

Referenced by _SPModel_Context_Solve(), and SPModelFaultModel_Solve().


Function Documentation

ParameterTimeSeries* _ParameterTimeSeries_New SizeT  _sizeOfSelf,
Type  type,
Stg_Class_DeleteFunction *  _delete,
Stg_Class_PrintFunction *  _print,
Stg_Class_CopyFunction *  _copy,
Stg_Component_DefaultConstructorFunction *  _defaultConstructor,
Stg_Component_ConstructFunction *  _construct,
Stg_Component_BuildFunction *  _build,
Stg_Component_InitialiseFunction *  _initialise,
Stg_Component_ExecuteFunction *  _execute,
Stg_Component_DestroyFunction *  _destroy,
Name  name,
double  defaultValue,
Bool  initFlag,
Dictionary *  dictionary
 

Definition at line 79 of file ParameterTimeSeries.c.

References ParameterTimeSeries_Init().

Referenced by ParameterTimeSeries_DefaultNew(), and ParameterTimeSeries_New().

void ParameterTimeSeries_Build void *  parameterTimeSeries,
void *  data
 

Definition at line 164 of file ParameterTimeSeries.c.

Referenced by ParameterTimeSeries_DefaultNew(), and ParameterTimeSeries_New().

void ParameterTimeSeries_Construct void *  parameterTimeSeries,
Stg_ComponentFactory *  cf
 

Definition at line 159 of file ParameterTimeSeries.c.

Referenced by ParameterTimeSeries_DefaultNew(), and ParameterTimeSeries_New().

ParameterTimeSeries* ParameterTimeSeries_DefaultNew Name  name  ) 
 

Definition at line 41 of file ParameterTimeSeries.c.

References _ParameterTimeSeries_New(), ParameterTimeSeries_Build(), ParameterTimeSeries_Construct(), ParameterTimeSeries_DefaultNew(), ParameterTimeSeries_Delete(), ParameterTimeSeries_Destroy(), ParameterTimeSeries_Execute(), ParameterTimeSeries_Initialise(), ParameterTimeSeries_Print(), and ParameterTimeSeries_Type.

Referenced by ParameterTimeSeries_DefaultNew(), and ParameterTimeSeries_New().

void ParameterTimeSeries_Delete void *  parameterTimeSeries  ) 
 

Definition at line 142 of file ParameterTimeSeries.c.

Referenced by ParameterTimeSeries_DefaultNew(), and ParameterTimeSeries_New().

void ParameterTimeSeries_Destroy void *  parameterTimeSeries,
void *  data
 

Definition at line 230 of file ParameterTimeSeries.c.

Referenced by ParameterTimeSeries_DefaultNew(), and ParameterTimeSeries_New().

void ParameterTimeSeries_Execute void *  parameterTimeSeries,
void *  data
 

Definition at line 225 of file ParameterTimeSeries.c.

Referenced by ParameterTimeSeries_DefaultNew(), and ParameterTimeSeries_New().

void ParameterTimeSeries_Init ParameterTimeSeries self  ) 
 

Definition at line 114 of file ParameterTimeSeries.c.

Referenced by _ParameterTimeSeries_New().

void ParameterTimeSeries_Initialise void *  parameterTimeSeries,
void *  data
 

Definition at line 220 of file ParameterTimeSeries.c.

Referenced by ParameterTimeSeries_DefaultNew(), and ParameterTimeSeries_New().

void ParameterTimeSeries_InterpolateFunc ParameterTimeSeries parameterTimeSeries,
void *  data
 

Definition at line 235 of file ParameterTimeSeries.c.

ParameterTimeSeries* ParameterTimeSeries_New Name  name,
double  defaultValue,
Dictionary *  dictionary
 

Definition at line 60 of file ParameterTimeSeries.c.

References _ParameterTimeSeries_New(), ParameterTimeSeries_Build(), ParameterTimeSeries_Construct(), ParameterTimeSeries_DefaultNew(), ParameterTimeSeries_Delete(), ParameterTimeSeries_Destroy(), ParameterTimeSeries_Execute(), ParameterTimeSeries_Initialise(), ParameterTimeSeries_Print(), and ParameterTimeSeries_Type.

Referenced by _SPModel_Context_Init(), and _SPModelFaultModel_Init().

void ParameterTimeSeries_Print void *  parameterTimeSeries,
Stream *  stream
 

Definition at line 123 of file ParameterTimeSeries.c.

Referenced by ParameterTimeSeries_DefaultNew(), and ParameterTimeSeries_New().