fd.h

Go to the documentation of this file.
00001 /*
00002   Author: XW 01-15-2010
00003   wangxin.tom@gmail.com
00004   fd.h 
00005   explicit finite difference framework
00006 
00007   Heavily modified by WWS 2012-13
00008 */
00009 /*===========================================================================*/
00017 #ifndef __XWAVE_FD_H_
00018 #define __XWAVE_FD_H_
00019 /*---------------------------------------------------------------------------*/
00020 
00021 #include "std_cpp_includes.hh"
00022 #include "rdomain.h"
00023 #include "exchange.h"
00024 #include "model.h"
00025 #include "gridio.h"
00026 #include "iwinfo.hh"
00027 
00028 /* #define VERBOSE */
00030 #define INCLUDE_BOUNDARY_PNTS 0
00031   
00032 #define DUAL_GRID   1
00033 #define PRIMAL_GRID 0
00034 
00035 using RVL::parse;
00036 
00043 bool fd_update(int ia, int iv, IWaveInfo const & ic);
00044 
00063 //int isdyn(FD_MODEL * fd, int i);
00064 // new interface 11.13 - depends only on static data
00065 int fd_isdyn(int i, IWaveInfo const & ic);
00066 int fd_isarr(int i, IMODEL & model, IWaveInfo const & ic);
00067 
00069 int fd_numsubsteps(IWaveInfo const & ic);
00070 
00078 /*
00079 int fd_narr(FD_MODEL * fd, IWaveInfo const & ic);
00080 */
00121 int fd_readgrid(PARARRAY * par, FILE * stream, IMODEL * mdl, IWaveInfo const & ic);
00122 
00123 /*----------------------------------------------------------------------------*/
00151 int fd_modelcrea(IPNT cdims, IPNT crank, PARARRAY * par, FILE * stream, IMODEL * model, IWaveInfo const & ic);
00152 
00153 /*--------------*/
00154 #endif

Generated on 5 Jan 2017 for IWAVECORE by  doxygen 1.4.7