custom_wave.h
上传用户:riyaled888
上传日期:2009-03-27
资源大小:7338k
文件大小:1k
- #ifndef CUSTOM_WAVE_H
- #define CUSTOM_WAVE_H
- #define CUSTOM_WAVE_DEBUG 0
- #include "expr_types.h"
- #include "custom_wave_types.h"
- #include "preset_types.h"
- void free_custom_wave(custom_wave_t * custom_wave);
- custom_wave_t * new_custom_wave(int id);
- void free_per_point_eqn(per_point_eqn_t * per_point_eqn);
- per_point_eqn_t * new_per_point_eqn(int index, param_t * param,gen_expr_t * gen_expr);
- void reset_per_point_eqn_array(custom_wave_t * custom_wave);
- custom_wave_t * find_custom_wave(int id, preset_t * preset, int create_flag);
- int add_per_point_eqn(char * name, gen_expr_t * gen_expr, custom_wave_t * custom_wave);
- inline void evalCustomWaveInitConditions();
- inline void evalPerPointEqns();
- inline custom_wave_t * nextCustomWave();
- void load_unspecified_init_conds(custom_wave_t * custom_wave);
- #endif