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

📄 flags.h

📁 波浪数值模拟
💻 H
字号:
/* * Copyright (c) 2001-2003 Falk Feddersen * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA * *//* --- flags.h --- */#ifndef FLAGS_H#define FLAGS_H#include <glib.h>#include "bdefs.h"#include "floats.h"/* -------------- New Linked list stuff here --------- */typedef enum {  ETA_M, U_M, V_M, KE_M, TRACER_M, VORTICITY_M, STREAMF_M, FLOATS_M, TAUBX_M, TAUBY_M,   EDDY_BR_M, DEPTH_M} variable_t;typedef enum {  ASCII_M, BINARY_M  // removed NONE type} file_output_t;typedef enum {  FILE_M, GUI_M, TERM_M, NETCDF_M} output_t;typedef struct {  output_t OT;  file_output_t FOT;  GString *fname;  FILE *fp;  double start_time;  GString *message;} output_options_t;typedef struct {  variable_t var;  int px,py;  field2D *D;  output_options_t *OP;  //  Plotwindow *PW;   /* when linked to the gui */} point;typedef struct {  variable_t var;  int py;  field2D *D;  output_options_t *OP;} cross_line;typedef struct {  variable_t var;  int px;  field2D *D;  output_options_t *OP;  //  Plotwindow *PW;   /* when linked to the gui */} along_line;typedef struct {  variable_t var;  field2D *D;  int index;  output_options_t *OP;  //  Plotwindow *PW;   /* when linked to the gui */} snapshot_output;typedef struct {  output_options_t *OP;  switch_t full_output;} floats_output;typedef struct {  GSList *point_list;  GSList *cross_list;  GSList *along_list;  GSList *snapshot_list;  floats_output *FO;} oflags;/* Back to old flags 2 stuff *//*typedef struct  {  int psi_index;  output_options_t *OP;  int vort_index;  output_options_t *OV;  int eta_index;  output_options_t *ON;  field2D *FV, *FU, *FN;} oflags2;*/typedef struct {  oflags *F1, *F2, *F3;} outputflags;/* Function declarations */double point_var(variable_t var, int i, int j);void level_output(oflags *l1);outputflags*  parse_output(FILE *fin);void outputflags_destroy(outputflags *A);#endif  /* _FLAGS_H_ */

⌨️ 快捷键说明

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