⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spice3.h

📁 this file is contain important facts aboute different programming langueges.
💻 H
字号:
/*
      Copyright (c) 1999, Compaq Computer Corporation

      See the file "license.terms" for information on usage and redistribution
      of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/

#define  SPICE3_LITTLE_ENDIAN 1
#define  SPICE3_BIG_ENDIAN    2

#define  SPICE3_ASCII         1
#define  SPICE3_BINARY        2

#define  SPICE3_REAL_PART     1
#define  SPICE3_IMAG_PART     2
#define  SPICE3_MAGNITUDE     3
#define  SPICE3_PHASE         4

#if !defined(TRUE)
#define TRUE 1
#endif
#if !defined(FALSE)
#define FALSE 0
#endif

typedef struct {
   float           **variable_array;
   char            **variable_names;
   char            **variable_units;
   int             num_variables;
   int             num_points;
   int             data_group;
   int             convert_type;
   int             complex_flag;
   } Spice3DataStruct, *Spice3Data;

typedef FILE  *Spice3File;

/************************************************************************/

Spice3File  spice3_open (char *file_name, int *error_code) ;
Spice3Data  spice3_load_transient (Spice3File file, int group_number,
		             int convert_type, int *error_code) ;
void        spice3_close (Spice3File f) ;
void        spice3_free_data (Spice3Data data) ;
char *      spice3_get_error_msg(int error_code);
int         spice3_num_transient_points(Spice3Data data);
int         spice3_get_quantity_data(Spice3Data data, char *name,
                                     float *array);
int         spice3_get_simulation_type(Spice3Data data);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -