rtc.h

来自「OpenFVM-v1.1 open source cfd code」· C头文件 代码 · 共 62 行

H
62
字号
/****************************************************************************//*                                  rtc.h                                   *//****************************************************************************//*                                                                          *//* Residual Termination Control                                             *//*                                                                          *//* Copyright (C) 1992-1996 Tomas Skalicky. All rights reserved.             *//*                                                                          *//****************************************************************************//*                                                                          *//*        ANY USE OF THIS CODE CONSTITUTES ACCEPTANCE OF THE TERMS          *//*              OF THE COPYRIGHT NOTICE (SEE FILE COPYRGHT.H)               *//*                                                                          *//****************************************************************************/#ifndef RTC_H#define RTC_H#include "lastypes.h"#include "vector.h"#include "itersolv.h"#include "copyrght.h"/* identifiers for iteration methods */typedef enum {    /* classical iterative methods */	GSIterId,    JacobiIterId,    SORForwIterId,    SORBackwIterId,    SSORIterId,    /* semi-iterative methods */    ChebyshevIterId,    /* CG and CG-like methods */    CGIterId,    CGNIterId,    GMRESIterId,    BiCGIterId,    QMRIterId,    CGSIterId,    BiCGSTABIterId,    /* multigrid and multigrid based methods */    MGIterId,    NestedMGIterId,    MGPCGIterId,    BPXPCGIterId} IterIdType;typedef void (*RTCAuxProcType)(int, double, double, IterIdType);void SetRTCAccuracy(double Eps);void SetRTCAuxProc(RTCAuxProcType AuxProc);Boolean RTCResult(int Iter, double rNorm, double bNorm, IterIdType IterId);int GetLastNoIter(void);double GetLastAccuracy(void);#endif /* RTC_H */

⌨️ 快捷键说明

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