param.h
来自「OpenFVM-v1.1 open source cfd code」· C头文件 代码 · 共 143 行
H
143 行
/*************************************************************************** * Copyright (C) 2004-2008 by OpenFVM team * * http://sourceforge.net/projects/openfvm/ * * * * 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. * ***************************************************************************/enum{ UDS = 0, CDS} par_scheme;enum{ EXPLICITEULER = 0, IMPLICITEULER, CRANKNICOLSON} par_timemethod;enum{ sJACOBI = 0, sSOR, sQMR, sGMRES, sCG, sCGN, sCGS, sBICG, sBICGS} par_solver;enum{ pNONE = 0, pJACOBI, pSOR, pILU, pASM} par_precond;typedef struct{ int phi; int fixed; int along; float value;} par_probe;typedef struct{ char ulength[3]; char umass[3]; char utime[3]; char uenergy[3]; char utemperature[3]; int inertia; float dfactor; float st; int scheme[6]; int restart; int wbinary; int steady; int adjdt; float maxCp; float mtol[6]; int miter[6]; int northocor; float orthof; float ftol[6]; int ncicsamsteps; int ncicsamcor; float kq; int nsav; int calc[6]; int savflux; int fsav[6]; int csav[6]; int fvec; int cvec; int smooth; int vortex[3]; int streamf; float t0, t1, dt; float g[3]; int probe[6]; int msolver[6]; int mprecond[6]; int timemethod[6]; float ef[6]; int fill; float pf; int vofastemp;} par_parameter;par_parameter parameter;int ParImportPAR (char *file);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?